aboutsummaryrefslogtreecommitdiffhomepage
path: root/audio/out/ao_coreaudio_properties.c
Commit message (Collapse)AuthorAge
* ao_coreaudio: change license to LGPLGravatar wm42017-05-08
| | | | | | | | | | | | | | | | All authors have agreed to the relicensing. The code was pretty much rewritten by Stefano Pigozzi. Since the rewrite happened incrementally, and seems to include refactored portions of older code, this relicensing was done on the pre-refactor code do. The original commit adding this AO (as ao_macosx.c) credits Timothy J. Wood as original author. He was asked and agreed to LGPL. It's not entirely sure from which project this code came from, but it's probably libao. In that project, Stanley Seibert made some changes to it (who as a major developer of libao was asked just to be sure), and also Ralph Giles and Ben Hines made two small changes. The latter were not asked, but none of their code survived anyway.
* ao_coreaudio: use correct free function on errorsGravatar wm42016-07-13
|
* mpv_talloc.h: rename from talloc.hGravatar Dmitrij D. Czarkoff2016-01-11
| | | | This change helps avoiding conflict with talloc.h from libtalloc.
* ao_coreaudio: use device UID instead of ID for selectionGravatar Stefano Pigozzi2015-02-03
| | | | | | | | | | Previously we let the user use the audio device ID, but this is not persistent and can change when plugging in new devices. That of course made it quite worthless for storing it as a user setting for GUIs, or for user scripts. In theory getting the kAudioDevicePropertyDeviceUID can fail but it doesn't on any of my devices, so I'm leaving the error reporting quite high and see if someone complains.
* ao_coreaudio: initialize fetched properties to zerosGravatar Stefano Pigozzi2014-12-01
| | | Should hopefully fix #1249 and #1279
* ao_coreaudio: move to new log APIGravatar Stefano Pigozzi2013-08-01
|
* ao_coreaudio: switch properties getters to tallocGravatar Stefano Pigozzi2013-07-22
|
* ao_coreaudio: refactor properties codeGravatar Stefano Pigozzi2013-07-22
| | | | | | | | Introduce some macros to deal with properties. These allow to work around the limitation of CoreAudio's API being `void **` based. The macros allow to keep their client's code DRY, by not asking size and other details which can be derived by the macro itself. I have no idea why Apple didn't design their API like this in the first place.
* 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