[vlc-commits] auhal: export System Sound Output Device as another choice if the user wants VLC to suit the default OS behavior

Felix Paul Kühne git at videolan.org
Sat Feb 16 23:50:42 CET 2013


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Feb 16 23:49:56 2013 +0100| [beb5675dc34c23d76e6c53cee534379a5916a053] | committer: Felix Paul Kühne

auhal: export System Sound Output Device as another choice if the user wants VLC to suit the default OS behavior

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=beb5675dc34c23d76e6c53cee534379a5916a053
---

 modules/audio_output/auhal.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/audio_output/auhal.c b/modules/audio_output/auhal.c
index 076da3c..a0419a0 100644
--- a/modules/audio_output/auhal.c
+++ b/modules/audio_output/auhal.c
@@ -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)



More information about the vlc-commits mailing list