Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: 5.1 Sound with analog soundcard?



Am Mittwoch, 2. Juli 2003 12:05 schrieb Markus Schorer:
> hi,
>
> sure it's possible.
> use a52dec and let it decode to 5.1 (or some other fixed setups).
> i'm doing the same. it works really good.
>
> small problems remain:
> - there is no way to switch between stereo and 5.1 like switching
>   languages (this is how i think it should be done).
> - there is no (at least built-in) method of adding a delay to the
>   sound, 5.1 + stereo gives a "echo" (5.1 is early).

When I put my Audigy into my VDR box a few days ago, I wrote a simple small 
plugin (extending cExternalAudio, the "-a" command line option). It basically 
maps VDR's volume to the OSS mixers and mutes the DVB hardware if there is 
AC3 audio. You might want to use a ringbuffer to add a delay to the audio 
(MyPlugin::Play() puts data into buffer, a separate thread calls then 
cExternalAudio::Play()).
In my tests so far (two recordings from Pro7, no DVD, no live stream)  - 
without any buffering! - it worked really well, almost in sync.
If anyone is interested, I can send it (but I won't publish/support it, too 
dirty a hack)

Marcel



-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index