summaryrefslogtreecommitdiffstats
path: root/audio/out/ao_coreaudio_utils.h
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2013-07-13 13:01:50 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2013-07-22 21:53:18 +0200
commit18777ecfe894ec9c7995a69e0786e56f45bc73f8 (patch)
tree70af9d9a5ffe4960a8b1241953dcd5b08513e614 /audio/out/ao_coreaudio_utils.h
parent1ed117563613b0ddaa2a9c598acc632a707b9cc2 (diff)
downloadmpv-18777ecfe894ec9c7995a69e0786e56f45bc73f8.tar.bz2
mpv-18777ecfe894ec9c7995a69e0786e56f45bc73f8.tar.xz
ao_coreaudio: refactor properties code
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.
Diffstat (limited to 'audio/out/ao_coreaudio_utils.h')
0 files changed, 0 insertions, 0 deletions