summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_coreaudio_common.c
Commit message (Collapse)AuthorAgeFilesLines
* ao_coreaudio: split ao_coreaudio_common in two filesStefano Pigozzi2013-07-221-480/+0
| | | | | | | | | * 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
* ao_coreaudio: remove device property listener on uninitStefano Pigozzi2013-07-221-0/+26
| | | | Also extract this functionality inside a function in coreaudio_common
* ao_coreaudio: change all ++var to var++Stefano Pigozzi2013-07-221-7/+5
| | | | | Luckily they all were inside for loops so the functionality does not actually change.
* ao_coreaudio: ca_msg: add trailing \n where missingStefano Pigozzi2013-07-221-1/+1
|
* ao_coreaudio: extract mixmode set/unset in utility functionsStefano Pigozzi2013-07-221-0/+51
|
* ao_coreaudio: move AudioStreamChangeFormat to common file and refactorStefano Pigozzi2013-07-221-0/+74
|
* ao_coreaudio: extract methods to lock/unlock device for digital outputStefano Pigozzi2013-07-221-0/+19
|
* ao_coreaudio: refactor initializationStefano Pigozzi2013-07-221-7/+15
| | | | | | | | | | | | | The initialization is split more clearly between compressed and lpcm case. For the compressed case, format selection is simplified a lot and negotiation removed. The way it was written it just passed back to the core the original requested format, not what was found available on hardware. Since this is most likely useless for the compressed case, I didn't bother with this. In the future I'd like to split this AO in two one that only uses the AUHAL and the other with direct access to the hardware so that even passthrough of lcpm can be possible. This would decrease the latency, audiophiles would like that.
* ao_coreaudio: split out some utility functions and refactor themStefano Pigozzi2013-07-221-0/+304
Split out some utility functions that use the CoreAudio API but are not related the main task of the AOs (which is to move data correctly to the ringbuffer). These are mainly need for the verbosity of the CoreAudio API and are just obscuring the 'real' code.