summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_coreaudio_utils.h
Commit message (Collapse)AuthorAgeFilesLines
* coreaudio: use the new device selection APIStefano Pigozzi2014-10-121-2/+2
| | | | | The CoreAudio API is built around device IDs so we store the integer as string and read it back.
* ao_coreaudio: move channel mapping away from utilsStefano Pigozzi2014-07-021-3/+0
| | | | | Channel mapping functions are only used in the AUHAL based coreaudio, so move them there.
* ao_coreaudio: fill asbd with an helper functionStefano Pigozzi2014-07-021-0/+1
|
* ao_coreaudio: move device related functions to the new AOStefano Pigozzi2014-07-021-28/+0
|
* ao_coreaudio: move spdif code to a new AOStefano Pigozzi2014-07-021-0/+3
| | | | | | | | | | | | | | | | 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.
* ao_coreaudio: use description-based channel layoutsStefano Pigozzi2014-05-101-3/+2
| | | | | | | | | | | | CoreAudio supports 3 kinds of layouts: bitmap based, tag based, and speaker description based (using either channel labels or positional data). Previously we tried to convert everything to bitmap based channel layouts, but it turns out description based ones are the most generic and there are built-in CoreAudio APIs to perform the conversion in this direction. Moreover description based layouts support waveext extensions (like SDL and SDR), and are easier to map to mp_chmaps.
* audio/out: make ao struct opaquewm42014-03-091-0/+1
| | | | | | We want to move the AO to its own thread. There's no technical reason for making the ao struct opaque to do this. But it helps us sleep at night, because we can control access to shared state better.
* Split mpvcore/ into common/, misc/, bstr/wm42013-12-171-1/+1
|
* core: move contents to mpvcore (2/2)Stefano Pigozzi2013-08-061-1/+1
| | | | Followup commit. Fixes all the files references.
* ao_coreaudio: move to new log APIStefano Pigozzi2013-08-011-13/+18
|
* ao_coreaudio: refactor chmap detectionStefano Pigozzi2013-07-221-3/+4
| | | | | | b2f9e0610 introduced this functionality with code that was quite 'monolithic'. Split the functionality over several functions and ose the new macros to get array properties.
* ao_coreaudio: move utils functions to snake_caseStefano Pigozzi2013-07-221-5/+5
|
* ao_coreaudio: split ao_coreaudio_common in two filesStefano Pigozzi2013-07-221-0/+77
* ao_coreaudio_utils: contains several utility function * ao_coreaudio_properties: contains functions to set and get audio object properties. Conflicts: audio/out/ao_coreaudio.c