[alsa-devel] XRUN support in alsabat

Zhang, Keqiao keqiao.zhang at intel.com
Tue Aug 8 16:24:14 CEST 2017


Thanks for your input. I will give it a try.
	
Thanks 
Keqiao

-----Original Message-----
From: Takashi Iwai [mailto:tiwai at suse.de] 
Sent: Tuesday, August 8, 2017 10:20 PM
To: Zhang, Keqiao <keqiao.zhang at intel.com>
Cc: alsa-devel at alsa-project.org; Girdwood, Liam R <liam.r.girdwood at intel.com>; Keyon Jie <yang.jie at 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


More information about the Alsa-devel mailing list