diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-06-23 11:18:54 +0200 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2013-07-22 21:53:17 +0200 |
commit | 1640ce326276afa64528bfb10c20ae1cae3f1ad5 (patch) | |
tree | 84f453b8df61d1083a2902fe8d1c091287e02324 /sub/img_convert.h | |
parent | f9a31bc3d9fba6f42f5d8c9dd0afccbe5f690589 (diff) | |
download | mpv-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 'sub/img_convert.h')
0 files changed, 0 insertions, 0 deletions