Lindsay Lohan BLASTS 'Canyons' Co-Star -- 'Do Your F**king Job', James Deen responds

TMZ has obtained an audio recording from the set of "The Canyons" ... in which a pissed off Lindsay Lohan tears into her co-star during a rehearsal ... saying, "Do your f**king job!!!"

Sources tell us ... the audio was recorded on the 3rd day of production, while Lohan was working on a scene with the male lead in the movie, porn star-turned-actor James Deen.

During the rehearsal, the director can be heard instructing Lohan and Deen to walk through a scene and "take it all the way to the kiss ... 'cause that's certainly going to be important."

But when the director yells "action" ... something goes wrong ... and a frustrated Lindsay explodes:

"No, can you do it ... Please James, say your line as you're walking over ... cause we're doing rehearsal ... do your f*cking job."

James tries to respond to Lindsay, but she cuts him off ... saying, "I didn't say anything, I said just walk over ... and do your f**king job."

At that point, the director says, "Alright, I've had it ... I'm tired."

Lindsay responds, "So have I."

As we previously reported, Lohan was reportedly a nightmare on the set ... who was constantly late to set ... fought with co-stars and producers ... and drank on the set.

Lohan denies she ever boozed during production ... but says everything else is pretty accurate ... and the audio definitely proves it.

Image and video hosting by TinyPic

The porn star who was cussed out by Lindsay Lohan on the set of "The Canyons" tells TMZ ... he ain't mad at the actress for ripping him on set ... in fact, he's still a huge LiLo fan.

TMZ spoke with James Deen -- the porn star turned mainstream actor -- who says the audio of Lindsay telling him to "do your f**king job" made him smile ... because he had a great time on the project.

So why was Lindsay so pissed off that day? Deen says he and Lohan had a misunderstanding just a short time before the film shoot ... which put her in a bad mood.

“Hours before the rant she asked why I was doing this movie and I said 'For fun.' I meant for personal experience and enjoyment of working on a Bret Easton Ellis movie. I don’t think she understood my intention behind saying 'for fun' and thought it meant that I wasn’t going to try."

Deen thinks Lohan took his explanation as a shot at her craft -- which was definitely not his intention.

When asked if he was upset at the time of the incident -- Deen told us, "Not at all. You didn’t hear me laughing on that clip?"