summaryrefslogtreecommitdiff
path: root/palsa.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2009-08-18 19:36:42 +0200
committerGravatar waker <wakeroid@gmail.com>2009-08-18 19:36:42 +0200
commit9cededd13631d65ca000bab0af2e03d124cff147 (patch)
tree6bde145ea44fb4469fc522e71ef958ad19b9a7b4 /palsa.c
parent3521608a59f6264f1acf0efb69a51ee314795c0d (diff)
mp3/cue works
Diffstat (limited to 'palsa.c')
-rw-r--r--palsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/palsa.c b/palsa.c
index b1229e0d..0457bbb7 100644
--- a/palsa.c
+++ b/palsa.c
@@ -342,7 +342,7 @@ palsa_thread (uintptr_t context) {
static void
palsa_callback (char *stream, int len) {
- if (streamer_get_fill () < len) {
+ if (!streamer_ok_to_read (len)) {
memset (stream, 0, len);
return;
}