Everyone in this listing has been absolutely amazing in their willingness to help. So I wrote my program that plays various wav files on multiple streams upon request along with several samples. Works really well so far, but I'm trying to handle the last couple of errors. Very infrequently, meaning it happened once after 5 days, my stream write callback calls int retval = pa_stream_write(s, base + offset, writeSize, NULL, 0, PA_SEEK_RELATIVE); if (retval) sprintf(tempstr,"GDS Pulse Audio: ERROR: Stream write returned a value of %d", retval); and retval will report a value of -15. I have modified it to call pa_strerror, but I will likely have to run it for nearly a week hoping that it will repeat. I expected a return value from the pa_error_code enum, not a negative number. Can someone 1. give me some insight into this retval 2. determine it's meaning (or point me to some documentation of meanings, I'm willing to fish) Thanks! John -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20160519/f542d65d/attachment.html>