Mailing List archive

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

[linux-dvb] Re: AV711x Dual mode howto



According to dieter.maas@freenet.de:
>  just had a look into the AV711x_3_1 documentation and found
>  a mentioning of "dual mode" in audio control register bits 3:2 
>  (channel 0 as left and channel 1 as right audio) this would 
>  be exactly what i need, with channel 0 and 1 being two different
>  audio PIDS of the TS stream.

no, this means you have _one_ audio pid which carries audio1 on the left
channel and audio2 on the right channel, both in mono. comparable to what is
often used in analog broadcasts.

>  how can this be addressed via dvbapi? Is it at all possible?

of course :-)
use ioctl (fd, AUDIO_CHANNEL_SELECT, channel) where channel is one of
AUDIO_STEREO, AUDIO_MONO_LEFT, AUDIO_MONO_RIGHT -> ost/audio.h


Andre'


-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.


Home | Main Index | Thread Index