There seem to be a couple of problems with the buffering code just checked in: 1. buffer_shutdown(NULL) is called when the bitrate changes and you're not using a buffer. 2. The buffer is not used for anything but the first file. 3. The buffer isn't explicitly closed when playback is finished, sometimes leaving an ogg123 process sitting sucking up 100% CPU time. Here's a patch that seems to fix these, although I'm not sure #2 is the way it should be... It may be easier to simply make a global buffer pointer instead of storing the pointer in main though... Aaron Plattner <HR NOSHADE> <UL> <LI>text/plain attachment: ogg123.diff </UL> -------------- next part -------------- A non-text attachment was scrubbed... Name: ogg123.diff Type: application/octet-stream Size: 3048 bytes Desc: not available Url : http://lists.xiph.org/pipermail/vorbis-dev/attachments/20010221/279be381/ogg123-0001.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: part Type: application/octet-stream Size: 233 bytes Desc: not available Url : http://lists.xiph.org/pipermail/vorbis-dev/attachments/20010221/279be381/part-0001.obj