mirror of https://github.com/mpv-player/mpv
ao_coreaudio: signal that volume controls are not persistent
This will make the mplayer frontend restore the volume on its own when the audio device is reinitialized.
This commit is contained in:
parent
29effe9593
commit
15a318b2a5
|
@ -450,6 +450,8 @@ int device_id, display_help = 0;
|
|||
ao->b_revert = 0;
|
||||
ao->b_changed_mixing = 0;
|
||||
|
||||
global_ao->no_persistent_volume = true;
|
||||
|
||||
if (device_id == 0) {
|
||||
/* Find the ID of the default Device. */
|
||||
err = GetAudioProperty(kAudioObjectSystemObject,
|
||||
|
|
Loading…
Reference in New Issue