>Am reading audio using snd_pcm_readi() and using short buffer times >that result in "Broken pipe" errors being returned. Occasionally losing >audio is not a problem, but do I have to completely reinitialise whenever >this occurs?
it depends on the sw params you set up (if any). i think the default is to stop whenever an xrun of any length occurs. i generally set the stop threshold to ~0U, which means that the driver will keep the interface running more or less no matter what - my app notes the -EPIPE return codes and takes its own steps to stop+reinitialize+restart when it wants to. what behaviour you want will depend on your application. --p ------------------------------------------------------- This sf.net email is sponsored by: Jabber - The world's fastest growing real-time communications platform! Don't just IM. Build it in! http://www.jabber.com/osdn/xim _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel