Thanks for your input. I will give it a try. Thanks Keqiao
-----Original Message----- From: Takashi Iwai [mailto:tiwai@suse.de] Sent: Tuesday, August 8, 2017 10:20 PM To: Zhang, Keqiao keqiao.zhang@intel.com Cc: alsa-devel@alsa-project.org; Girdwood, Liam R liam.r.girdwood@intel.com; Keyon Jie yang.jie@linux.intel.com Subject: Re: XRUN support in alsabat
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