Re: Digital audio sound gap

Jim Duda <[email protected]> Wed, 21 Dec 2011 19:57:31 -0500
Newsgroups gmane.comp.video.freevo.user
Message-ID <[email protected]>
On 12/18/2011 07:30 AM, Michel Hoogervorst wrote:
> Hi,
> 
> I'm wondering if anyone has been able to fix this small issue. When playing digital audio (over hdmi in my case) it takes the receiver one or two seconds to start playing the audio stream. In case of music, this is because it needs to switch to pcm first.
> 
> I can workaround this by setting the hdmi port on the receiver to pcm by hand. But, I want to be able to play ac3/dts sound on video files as well. On the Internet I found someone who worked around this issue by always playing a pcm stream from /dev/zero, but that also makes playing non-audio steams like ac3 impossible as you can't send two different streams to one hdmi receiver...
> 
> What we would "need" is an always-on pcm signal that goes away when playing something else I guess. I just have no idea how to do that. Maybe someone over here has a solution the he or she wants to share? :-)
> 
> 
> Michel

I don't know if this helps.  What I did was the other way around.  I used the alsa a52 plugin to convert PCM audio to digital audio.
I get the added advantage (or disadvantage maybe to some audiophiles) of converting 2 channel audio to 6 channel audio and getting
my stereo music out all speakers.

So, everything which goes to the receiver is always in ac3 digital.

Jim



------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev