[alsa-devel] XRUN support in alsabat

Takashi Iwai tiwai at suse.de
Tue Aug 8 16:19:33 CEST 2017


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


More information about the Alsa-devel mailing list