]> git.sesse.net Git - vlc/commitdiff
auhal: export System Sound Output Device as another choice if the user wants VLC...
authorFelix Paul Kühne <fkuehne@videolan.org>
Sat, 16 Feb 2013 22:49:56 +0000 (23:49 +0100)
committerFelix Paul Kühne <fkuehne@videolan.org>
Sat, 16 Feb 2013 22:49:56 +0000 (23:49 +0100)
modules/audio_output/auhal.c

index 076da3c78cbda31d667fef58c1dd92ddb29e039d..a0419a0fa5960ee83b433051161a598248c45f47 100644 (file)
@@ -1039,6 +1039,8 @@ static void RebuildDeviceList(audio_output_t * p_aout)
         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 */
     err = AudioObjectAddPropertyListener(kAudioObjectSystemObject, &audioDevicesAddress, HardwareListener, (void *)p_aout);
     if (err != noErr)