Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ao_coreaudio: remove device property listener on uninit | Stefano Pigozzi | 2013-07-22 | 1 | -0/+26 |
| | | | | Also extract this functionality inside a function in coreaudio_common | ||||
* | ao_coreaudio: change all ++var to var++ | Stefano Pigozzi | 2013-07-22 | 1 | -7/+5 |
| | | | | | Luckily they all were inside for loops so the functionality does not actually change. | ||||
* | ao_coreaudio: ca_msg: add trailing \n where missing | Stefano Pigozzi | 2013-07-22 | 1 | -1/+1 |
| | |||||
* | ao_coreaudio: extract mixmode set/unset in utility functions | Stefano Pigozzi | 2013-07-22 | 1 | -0/+51 |
| | |||||
* | ao_coreaudio: move AudioStreamChangeFormat to common file and refactor | Stefano Pigozzi | 2013-07-22 | 1 | -0/+74 |
| | |||||
* | ao_coreaudio: extract methods to lock/unlock device for digital output | Stefano Pigozzi | 2013-07-22 | 1 | -0/+19 |
| | |||||
* | ao_coreaudio: refactor initialization | Stefano Pigozzi | 2013-07-22 | 1 | -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 them | Stefano Pigozzi | 2013-07-22 | 1 | -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. |