[alsa-devel] Playing silence instead of pausing during underrun
Timur Tabi
timur at freescale.com
Thu Sep 4 18:04:55 CEST 2008
On Thu, Sep 4, 2008 at 10:28 AM, Jaroslav Kysela <perex at 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
More information about the Alsa-devel
mailing list