I spent most of my night trying to track down the cause of this not working. I'm giving up now, but I thought I would mention this tidbit (apologies, it's very late, and I don't have time tonight to figure out the bug fix submission process). One of the patches applied to vorbis- tools contains this snippet of code:
@@ -251,6 +251,11 @@ write_amount == buf->curfill ? buf->eos : 0, buf->write_arg); + if (!write_amount) { + DEBUG("Error writing to the audio device. Aborting."); + buffer_abort_write(buf); + } + LOCK_MUTEX(buf->mutex); buf->curfill -= write_amount; This is correct, except for the case where write_amount starts out as zero, which happened a couple of times while I was trying to test this. It's very possible that Gregory's problem is a result of this bug. It shouldn't abort the buffer write if the write_amount is zero to begin with. It's an easy enough fix to make. Just wrap the whole thing in an if. As for the bug at hand in this report, it's unrelated, and I have no idea. libao is returning an error in ao_play() is all I know. -- ogg123 buffer write failed writing to FIFO https://bugs.launchpad.net/bugs/331807 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs