Commit beb5675d authored by Felix Paul Kühne's avatar Felix Paul Kühne

auhal: export System Sound Output Device as another choice if the user wants...

auhal: export System Sound Output Device as another choice if the user wants VLC to suit the default OS behavior
parent dd4d8155
...@@ -1039,6 +1039,8 @@ static void RebuildDeviceList(audio_output_t * p_aout) ...@@ -1039,6 +1039,8 @@ static void RebuildDeviceList(audio_output_t * p_aout)
free(psz_name); free(psz_name);
} }
add_device_to_list(p_aout, 0, _("System Sound Output Device"));
/* Attach a Listener so that we are notified of a change in the Device setup */ /* Attach a Listener so that we are notified of a change in the Device setup */
err = AudioObjectAddPropertyListener(kAudioObjectSystemObject, &audioDevicesAddress, HardwareListener, (void *)p_aout); err = AudioObjectAddPropertyListener(kAudioObjectSystemObject, &audioDevicesAddress, HardwareListener, (void *)p_aout);
if (err != noErr) if (err != noErr)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment