Re: [V4L] V4L-API stereo/mono?

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



Hi!

From: kraxel@xxxxxxxxxxxxxxxxxxxxx (Gerd Knorr)

> > 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

> Bits set for all valid choices, i.e.
> 
> mono		If the station sends mono 
> mono|stereo	If the station sends stereo (mono included because one
> 		can force it to mono).

Hm... in this case the application also doesn't know what the current
state is. - Further, I could implement this behavior with one bit:
switchable and non-switchable... [:

Or should I show 'mono' if the driver is set to stereo and
               'stereo' if the driver is set to mono?

Maybe I must set 'stereo' when the station broadcasts in stereo - but
I cant check this in mono mode.


> lang1|lang2	Two different sound carriers (TV stations in europe
> 		sometimes send movies both original and translated, and
> 		the user has the choice to listen either (say) english
> 		or german...)

Okay, maybe v4l fits better for TV, but I'm writing a radio driver (in
Germany)... (:


Thanks,
	Robert





[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