aboutsummaryrefslogtreecommitdiffhomepage
path: root/audio/out/ao_coreaudio_utils.h
Commit message (Collapse)AuthorAge
* coreaudio: use the new device selection APIGravatar Stefano Pigozzi2014-10-12
| | | | | 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 utilsGravatar Stefano Pigozzi2014-07-02
| | | | | Channel mapping functions are only used in the AUHAL based coreaudio, so move them there.
* ao_coreaudio: fill asbd with an helper functionGravatar Stefano Pigozzi2014-07-02
|
* ao_coreaudio: move device related functions to the new AOGravatar Stefano Pigozzi2014-07-02
|
* ao_coreaudio: move spdif code to a new AOGravatar Stefano Pigozzi2014-07-02
| | | | | | | | | | | | | | | | 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 layoutsGravatar Stefano Pigozzi2014-05-10
| | | | | | | | | | | | 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 opaqueGravatar wm42014-03-09
| | | | | | 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/Gravatar wm42013-12-17
|
* core: move contents to mpvcore (2/2)Gravatar Stefano Pigozzi2013-08-06
| | | | Followup commit. Fixes all the files references.
* ao_coreaudio: move to new log APIGravatar Stefano Pigozzi2013-08-01
|
* ao_coreaudio: refactor chmap detectionGravatar Stefano Pigozzi2013-07-22
| | | | | | 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_caseGravatar Stefano Pigozzi2013-07-22
|
* ao_coreaudio: split ao_coreaudio_common in two filesGravatar Stefano Pigozzi2013-07-22
* 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