Commit 2cc78471 authored by David Fuhrmann's avatar David Fuhrmann

auhal: move default device to top of devices list

parent 2c1ec2e2
...@@ -1060,6 +1060,8 @@ static void RebuildDeviceList(audio_output_t * p_aout) ...@@ -1060,6 +1060,8 @@ static void RebuildDeviceList(audio_output_t * p_aout)
struct aout_sys_t *p_sys = p_aout->sys; struct aout_sys_t *p_sys = p_aout->sys;
ReportDevice(p_aout, 0, _("System Sound Output Device"));
/* setup local array */ /* setup local array */
currentListOfDevices = CFArrayCreateMutable(kCFAllocatorDefault, 0, NULL); currentListOfDevices = CFArrayCreateMutable(kCFAllocatorDefault, 0, NULL);
...@@ -1169,8 +1171,6 @@ static void RebuildDeviceList(audio_output_t * p_aout) ...@@ -1169,8 +1171,6 @@ static void RebuildDeviceList(audio_output_t * p_aout)
p_sys->device_list = CFArrayCreateCopy(kCFAllocatorDefault, currentListOfDevices); p_sys->device_list = CFArrayCreateCopy(kCFAllocatorDefault, currentListOfDevices);
CFRelease(currentListOfDevices); CFRelease(currentListOfDevices);
ReportDevice(p_aout, 0, _("System Sound Output Device"));
free(deviceIDs); free(deviceIDs);
} }
......
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