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:
wm4 2012-01-06 16:25:52 +01:00
parent 29effe9593
commit 15a318b2a5
1 changed files with 2 additions and 0 deletions

View File

@ -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,