pcm_format: fix 32-to-24 bit conversion (the "silence" bug)

D'oh, we were reading 16 bit integers instead of 32 bit integers!
That caused silence when trying to play a 32 bit input file on a 24
bit sound card (e.g. USB sound chips with 24 bit packed samples).
This commit is contained in:
Max Kellermann
2011-09-08 23:47:32 +02:00
parent 5469941f2b
commit 5cf4ce9318
2 changed files with 3 additions and 2 deletions

1
NEWS
View File

@@ -1,4 +1,5 @@
ver 0.16.5 (2010/??/??)
* pcm_format: fix 32-to-24 bit conversion (the "silence" bug)
ver 0.16.4 (2011/09/01)