>1) The device "pcm.hw:0" seems to work fine, but when I use >"pcm.plughw:0", I get "Broken pipe" from snd_pcm_writei. This happens >even with stop_threshold set to UINT_MAX (i.e., this shouldn't >be caused by underruns).
no, setting the stop threshold to this value just prevents the driver from stopping the device when an xrun happens. it doesn't stop the reporting of xruns via -EPIPE. >Finally, an API question: if I set stop_threshold to UINT_MAX, can I >still find out after stoping the device if there have been any >underruns? Or do I need to monitor for this during the run? see above. --p _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel