summaryrefslogtreecommitdiffstats
path: root/talloc.c
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2013-06-23 11:18:54 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2013-07-22 21:53:17 +0200
commit1640ce326276afa64528bfb10c20ae1cae3f1ad5 (patch)
tree84f453b8df61d1083a2902fe8d1c091287e02324 /talloc.c
parentf9a31bc3d9fba6f42f5d8c9dd0afccbe5f690589 (diff)
downloadmpv-1640ce326276afa64528bfb10c20ae1cae3f1ad5.tar.bz2
mpv-1640ce326276afa64528bfb10c20ae1cae3f1ad5.tar.xz
ao_coreaudio: refactor initialization
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.
Diffstat (limited to 'talloc.c')
0 files changed, 0 insertions, 0 deletions