All the models I've seen when RCA are inputs to the TV. Let's hear the full model number of the 2012 TV. Give a link to it on Samsung.com so we're sure of the next answer.
I bought the Samsung HW-J355 2.1 Channel 120 Watt Wireless Audio Soundbar (2015 model) and i have an older 2012 Samsung TV. My TV doesn't have the sound connect or optic, so i had to use an RCA adapter to connect the sound bar to the tv. For some reason I can't get any sound to go through the sound bar. I thought once the RCA was in it would automatically pull the sound through the bar. I've used my phone to connect to the sound bar through blue tooth and play music but no sound from TV. Any ideas....?

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic