4 Sep
2008
4 Sep
'08
6:04 p.m.
On Thu, Sep 4, 2008 at 10:28 AM, Jaroslav Kysela perex@perex.cz wrote:
Note that not all hardware supports pause, so just remove SNDRV_PCM_INFO_PAUSE and all pause related code in the trigger callback and let user space to do the full reinitialization.
That's not what I'm talking about. It doesn't matter if it's paused or stopped, when playback is paused/stopped, the hardware is disabled. When the hardware is re-enabled, stale data in the hardware causes a popping sound. Therefore, during underrun, the popping will not occur if the hardware is never disabled, but this requires either the driver or ALSA to pump silence data into the hardware.
--
Timur Tabi
Linux kernel developer at Freescale