diff options
author | Kevin Mitchell <kevmitch@gmail.com> | 2014-11-30 06:10:16 -0800 |
---|---|---|
committer | Diogo Franco (Kovensky) <diogomfranco@gmail.com> | 2015-01-25 17:00:12 +0900 |
commit | 7f92344138f5bd3debc7f1f8d297b1d6e522f72d (patch) | |
tree | ff08f868041e540461f86e36277beecde3826646 /old-configure | |
parent | d56a1112d29531ccd6c0f7e917b9468cc100ab54 (diff) | |
download | mpv-7f92344138f5bd3debc7f1f8d297b1d6e522f72d.tar.bz2 mpv-7f92344138f5bd3debc7f1f8d297b1d6e522f72d.tar.xz |
ao/wasapi: fix set_ao_format
Before it used whatever was in ao->format and changed the bits even
though this might have nothing to do with the actual WAVEFORMAT
negotiated with WASAPI.
For example, if the initial ao->format was a float and we had set the
WAVEFORMAT to s24, this would create a non-existent float24 format.
Worse, it might put an u16 into ao->format when WAVEFORMAT described s16.
WASAPI doesn't support unsigned at all as far as I can tell.
Diffstat (limited to 'old-configure')
0 files changed, 0 insertions, 0 deletions