diff options
author | Kevin Mitchell <kevmitch@gmail.com> | 2014-11-30 06:10:16 -0800 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2014-12-01 03:40:24 -0800 |
commit | 146561cc9184fc8a17bd8cc857a8941fe2928132 (patch) | |
tree | 5bae20af7e1522dcb7a4734d5240c46f7eb573b3 /wscript_build.py | |
parent | 524cdfc3f145afdd17f6cf7c204826094f756406 (diff) |
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 'wscript_build.py')
0 files changed, 0 insertions, 0 deletions