The UN40D5005 ("TV") is in my bedroom (the reason I say this will become apparent)
I was able to create an audio out connection for the TV (purchased in Jan 2012 from Costco for $670) using an external A/V switch box (Aska ACV-52, 5 inputs, 2 outputs, all are RCA type connectors - Video and L/R audio - with s-video inputs for VCR and AUX).
I connected the HD CATV box and the Blu-Ray DVD player (Sony BDP-BX18, $70 from Costco, not real high-end, but all that I need in this location) directly to the TV using HDMI connectors.
I connected the RCA type audio-out connectors on both the CATV box and DVD player to the audio-in connections on the Aska box. I also connected the video and L and R audio connectors from a VCR to the appropriate input on the Aska box in case I want to watch a VCR tape - more about this later.
The two audio outputs of the Aska box are connected to a wireless headphone transmitter, to listen wirelessly (and not disturb my wife with TV sound), and the Aux audio inputs on a stereo amplifier so I can play the sound through speakers if I want.
I select the device from which I want to hear sound
using the Aska box, which selects the input device (in this case, the audio from the CATV box, DVD player and VCR). Both outputs are always active.
If I want to play sound through the external speakers (connected to the stereo amp) I must turn the amp on and adjust the volume for the speakers separately.
If I want to listen to sound from a particular device I select that device on the Aska box and select the input on the TV separately and mute the TV speakers.
If I want to use the VCR I will have to swap the output for either the amplifier or the wireless headphone transmitter for the cable, with he 3 RCA connectors, that is connected to the video-in and audio-in connectors on the TV. I will then select the VCR on the Aska box and separately select the audio and video inputs on the TV.
I admit that this is somewhat of a manual system for selecting which device to play, and occasionally having to swap cables, but at least everything is connected and I can get sound into two different external devices (the stereo amp and the wireless headphones) with relatively little effort.
All that said, I do not have another external device (PS2, XBox, etc.) to connect and I could not connect one if I did (no more room).
The best sound I will get using this setup is basic stereo, but that's all I need for my bedroom. I cannot get 5.1 or 7.1 from this arrangement.
I would think before I tried to use it in an entertainment center because of the lack of outputs on the TV.
However, I had the Aska box and RCA cables so my only investment other than for the TV was the time it took me to figure out how to execute this arrangement.
Finally, the TV is mounted on the wall (using a corner mount) and is very light (about 22 pounds), which was a consideration. It has an excellent picture, especially in HD, and we are both well satisfied with the TV.