encoder/wave: use fifo_buffer instead of pcm_buffer

This fixes a buffer corruption bug; pcm_buffer is not designed to be a
persistent buffers, and will discard anything between two consecutive
calls.
This commit is contained in:
Max Kellermann
2011-11-28 08:09:49 +01:00
parent cee5036aca
commit 399a3abefc
2 changed files with 28 additions and 20 deletions

2
NEWS
View File

@@ -2,7 +2,7 @@ ver 0.16.6 (2010/??/??)
* decoder:
- fix assertion failure when resuming streams
* encoder:
- flac: fix buffer corruption bug
- flac, wave: fix buffer corruption bug
* event_pipe: fix WIN32 regression
* define WINVER in ./configure
* WIN32: autodetect filesystem encoding