[vlc-devel] [PATCH] auhal setMute (refs #7329)

David Fuhrmann david.fuhrmann at googlemail.com
Sat Aug 25 00:45:07 CEST 2012

Am 25.08.2012 um 00:26 schrieb Felix Paul Kühne <fkuehne.videolan at gmail.com>:

> Hello,
> AUHAL's AudioUnit API does not offer an option to mute specific AudioUnits. All it can do is muting entire devices, which is most likely something the user does not want when muting VLC.
> Thus, I came up with the following work-around, since there seems to be no reliable way to get the volume level from the audio output core when mute is active (you are more than welcome to prove me wrong).

I already had something like your patch in mind. Perhaps we could also save the current volume in each VolumeSet call and avoid the GetParameter?

> Additionally, is it my broken setup or is the volume level no longer retained when closing / re-opening VLC?

I noticed that, too. Same with "set level to predefined". But I had no idea up to now how to fix this stuff and the wrong ui volume display in the ui.


More information about the vlc-devel mailing list