[alsa-devel] [PATCH] ASoC: soc-pcm: always cancel any pending delayed stream shutdown

Palacios, Hector Hector.Palacios at digi.com
Tue Oct 28 18:42:18 CET 2014


Hi Fabio,

On 10/28/2014 04:23 PM, Fabio Estevam wrote:
> Hi Hector,
>
> On Wed, Oct 22, 2014 at 3:25 PM, Palacios, Hector <Hector.Palacios at digi.com>
> wrote:
>
>>> You're not saying what the problems are, just that they might be caused.
>>
>> Sorry, your right. When I do a recording 2 seconds after a previous playback, and
>> later play the recorded sound I hear 3 seconds of correct audio and then I
>> continue to hear good audio but mixed with noise and at a higher volume, as if
>> the codec had reseted certain parameters to some default values.
>
> Are you able to reproduce this problem on 3.18-rc?

Mark was right and I tracked the problem down to sgtl5000 driver's function 
power_vag_event() which is called by the scheduled work 5 seconds after a playback is 
finished.
Then I saw this was already fixed in commit f091f3f07328f75d20a2a5970d1f8b58d95fc990 
"ASoC: sgtl5000: prevent playback to be muted when terminating concurrent capture".

Thanks
--
Hector Palacios


More information about the Alsa-devel mailing list