if(!playing->used || playing->start == (sizeof playing->buffer))
playing->start = 0;
/* If the buffer emptied out mark the track as unplayably */
- if(!playing->used)
+ if(!playing->used) {
+ error(0, "track buffer emptied");
playing->playable = 0;
+ }
frames -= written_frames;
return;
}