[V4L] V4L-API stereo/mono?

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



Hello!

I'm somewhat confused about the ioctl()s after reading
linux/Doc*/vid*/API.html.

Via VIDIOCSAUDIO i can force my radio driver to mono sound.

But what should I report on VIDIOCGAUDIO (mode=V_S_STEREO/V_S_MONO)
and VIDIOCGTUNER (flags=V_T_STEREO_ON)?

a) what the user forced before (mono)
b) what the tuner is capable of (stereo)
c) what the current broadcaststation is sending (cant check this when
tuner is forced to mono...)

If I should answer with b) on VIDIOCGAUDIO (s/m both) and with a) on
VIDIOCGTUNER, then are the application sane enought to force stereo
after open()!? - Should the driver change it back on open()??

Who can help?

It's slightly suboptimal here... [:


Ciao,
	Rob

PS: There _is_ information about obtaining RDS raw-data from a RDS
tuner in API.html...  (:





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux