Mailing List archive

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

[linux-dvb] Re: how to read audio volume?





Honza Petrous wrote:
> On Út, 2002-10-29 at 14:30, Holger Waechtler wrote:
> 
>>Johannes Stezenbach wrote:
>>
>>>Andreas Oberritter wrote:
>>>
>>>
>>>>why is there no such thing like an AUDIO_GET_MIXER ioctl, which
>>>>applications could use to report the current audio volume, for example
>>>>to set up a volume bar. Adding a struct audio_mixer to struct
>>>>audio_status would be a solution for this, too.
>>>
>>>
>>>It's not there because it wasn't in the original Nokia API,
>>>and we didn't need it. But I think it would make sense to
>>>add it. I would prefer to add a struct audio_mixer field to
>>>struct audio_status.
>>
>>(any contributors out there?;)
>>
> 
> 
> I'v made a little patch against today's CVS.

I've applied your patch into CVS. Please note that you have to recompile 
all software that uses the AUDIO_GET_STATUS ioctl, otherwise you'll get 
segfaults because the size of audio_mixer_t has changed.

Holger



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



Home | Main Index | Thread Index