summaryrefslogtreecommitdiff
path: root/src/player.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@lavabit.com>2010-01-30 10:59:41 +0100
committerLars-Dominik Braun <PromyLOPh@lavabit.com>2010-01-30 10:59:41 +0100
commit8799be1f775d7e71cf6d9463cac8079186ef6481 (patch)
tree8435d21a195c4a2854ff2a7f2164a35da7a3dda7 /src/player.h
parentd38167c27597a8a114fde0f1fef2a73b3277ba36 (diff)
downloadpianobar-8799be1f775d7e71cf6d9463cac8079186ef6481.tar.gz
pianobar-8799be1f775d7e71cf6d9463cac8079186ef6481.tar.bz2
pianobar-8799be1f775d7e71cf6d9463cac8079186ef6481.zip
Fix libao error detection
Under certain circumstances (fast station switching e.g.) a new playlist was not fetched, because the player thread returned 0x1 (== libao error) and the main thread NULLed curStation.
Diffstat (limited to 'src/player.h')
-rw-r--r--src/player.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/player.h b/src/player.h
index dfa9c09..82a6cd5 100644
--- a/src/player.h
+++ b/src/player.h
@@ -84,6 +84,7 @@ struct audioPlayer {
/* audio out */
ao_device *audioOutDevice;
+ unsigned char aoError;
WaitressHandle_t waith;