player_thread: set player error when output device fails

When the output device fails to play a chunk, set pc.error to
PLAYER_ERROR_AUDIO.  This way, the playlist knows that it should not
queue the next song.
This commit is contained in:
Max Kellermann
2009-02-02 18:02:52 +01:00
parent fdb80e74b7
commit 4b7c28f98e
2 changed files with 5 additions and 1 deletions

1
NEWS
View File

@@ -44,6 +44,7 @@ ver 0.14.2 (2009/??/??)
- jack: clear "shutdown" flag on reconnect
- jack: reduced sleep time to 1ms
* mapper: remove trailing slashes from music_directory
* player: set player error when output device fails
ver 0.14.1 (2009/01/17)