[Sound-open-firmware] [RFC PATCH 3/6] pipeline: ignore request for pipeline_prepare() if the pipeline is running

Liam Girdwood liam.r.girdwood at linux.intel.com
Thu Jun 14 19:57:26 CEST 2018


On Thu, 2018-06-14 at 09:36 -0700, Ranjani Sridharan wrote:
> > Could you explain how this can happen ? What action must the user
> > take to do
> > this ?
> 
> Hi Liam,
> 
> This happens when the user sets the kcontrol value to ON repeatedly
> with amixer.
> 
> But, with xiuli's suggestion to fix the kcontrol IO, i think I can
> remove this. I will send you a v2 when I can make the tone audible on
> the up squared. 
> 

Would they not have to switch it OFF before they switch it on every time ?

The IPC reply should probably block until starting or stopping tone has
completed (i.e. DMA has flushed last pipeline period).

Liam


More information about the Sound-open-firmware mailing list