From 05650110f3e3f6ff8bdbc3d982cfefe5674e60d3 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 8 Nov 2012 22:12:21 +0100 Subject: ao_coreaudio: signal per-application mixer support The CoreAudio AO's AOCONTROL_GET_VOLUME/AOCONTROL_SET_VOLUME operate on the AUHAL's volume, and every application has it's AUHAL with a separate volume. Additionally CoreAudios's mixer seems to be better. As much as I tried to, I couldn't get it to clip sounds. --- libao2/ao_coreaudio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libao2/ao_coreaudio.c b/libao2/ao_coreaudio.c index e0d2d6d26c..146cfd2a22 100644 --- a/libao2/ao_coreaudio.c +++ b/libao2/ao_coreaudio.c @@ -454,6 +454,7 @@ int device_id, display_help = 0; ao->b_revert = 0; ao->b_changed_mixing = 0; + global_ao->per_application_mixer = true; global_ao->no_persistent_volume = true; if (device_id == 0) { -- cgit v1.2.3