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

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



Robert Siemer wrote:

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

How did you do this? I want to force my radio driver to mono as well.
I tried:

   va.mode  = VIDEO_SOUND_MONO;
   ioctl (fd, VIDIOCSAUDIO, &va)

with no results.

I do a

   ioctl (fd, VIDIOCGAUDIO, &va)

before and after the VIDIOCSAUDIO and get the following:

Before                After

va.audio   = 0        va.audio   = 0
va.volume  = 0        va.volume  = 0
va.base    = 49151    va.base    = 49151
va.treble  = 40915    va.treble  = 40915
va.flags   = 0        va.flags   = 4
va.name    = ^G       va.name    = ^G
va.mode    = 1        va.mode    = 1
va.balance = 49151    va.balance = 49151
va.step    = 9904     va.step    = 9904

What am I missing? I know the card (WinTV 401) can do mono
radio because the Windows radio application does it.

Thanks,

Will Heyman
heyman@xxxxxxxx





[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