path: root/
diff options
authorStefano Pigozzi <>2014-06-30 19:09:03 +0200
committerStefano Pigozzi <>2014-07-02 21:43:07 +0200
commit041557b639fad95919068aba617c0cd1bd7cc6a1 (patch)
treeeef70e4de890cdf2bbba2b81e306d84839e9982e /
parent7084e800bebdb2a9c1420763a5d1b17d75054bfc (diff)
ao_coreaudio: move spdif code to a new AO
The mplayer1/2/mpv CoreAudio audio output historically contained both usage of AUHAL APIs (these go through the CoreAudio audio server) and the Device based APIs (used only for output of compressed formats in exclusive mode). The latter is a very unwieldy and low level API and pretty much forces us to write a lot of code for little workr. Also with the widespread of HDMI, the actual need for outputting compressed audio directly to the device is getting lower (it was very useful with S/PDIF for bandwidth constraints not allowing a number if channels transmitted in LPCM). Considering how invasive it is (uses hog/exclusive mode), the new AO (`ao_coreaudio_device`) is not going to be autoprobed but the user will have to select it.
Diffstat (limited to '')
1 files changed, 1 insertions, 0 deletions
diff --git a/ b/
index ef480ab953..4dc4ca4b12 100644
--- a/
+++ b/
@@ -134,6 +134,7 @@ def build(ctx):
( "audio/out/ao.c" ),
( "audio/out/ao_alsa.c", "alsa" ),
( "audio/out/ao_coreaudio.c", "coreaudio" ),
+ ( "audio/out/ao_coreaudio_device.c", "coreaudio" ),
( "audio/out/ao_coreaudio_properties.c", "coreaudio" ),
( "audio/out/ao_coreaudio_utils.c", "coreaudio" ),
( "audio/out/ao_dsound.c", "dsound" ),