On Tue, 08 Aug 2017 16:15:22 +0200, Zhang, Keqiao wrote: > > Hi Takashi and all, > > Sorry to bother you. I'm trying to get alsabat(alsa-utils:BAT) to > support XRUN for driver testing and there have been no effective > solutions on how to inject XRUN for playback or capture. So could > you give me some suggestions on this? Thanks in advance~ You can inject xrun by writing to a proc file, /proc/sound/card*/pcm*/sub*/xrun_injection, when CONFIG_SND_PCM_XRUN_DEBUG is set. Takashi _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel