shout: clear buffer before calling the encoder
Always assume the buffer is empty before calling the encoder. Always flush the buffer immediately after there has been added something. This reduces the risk of buffer overruns, because there will never be a "rest" in the current buffer.
This commit is contained in:
1
NEWS
1
NEWS
@@ -50,6 +50,7 @@ ver 0.14.2 (2009/??/??)
|
||||
- shout: switch to blocking mode
|
||||
- shout: use libshout's synchronization
|
||||
- shout: don't postpone metadata
|
||||
- shout: clear buffer before calling the encoder
|
||||
* mapper: remove trailing slashes from music_directory
|
||||
* player: set player error when output device fails
|
||||
|
||||
|
Reference in New Issue
Block a user