|author||wm4 <wm4@nowhere>||2013-09-19 14:33:12 +0200|
|committer||wm4 <wm4@nowhere>||2013-09-20 13:23:25 +0200|
mixer: allow accessing volume and mute property on disabled audio
The volume is set as soon as the audio chain is created again. This works only in softvol mode. For system wide volume or otherwise externally user controllable volume, this code is intentionally disabled. It would be extremely weird if changing volume (while audio is not initialized) would do nothing, and then suddenly change it when the audio chain is created. There's another odd corner case: the user-set volume will be thrown away if it's set before the _first_ audio chain initialization. This is because the volume restore logic recognizes a change from nothing to softvol or an AO, and circumventing that would require additional code. Also, we don't even know the start volume before that point. Forcing the volume with --volume will can override the volume set during no-audio mode, depending on the situation.
Diffstat (limited to 'audio')
0 files changed, 0 insertions, 0 deletions