From: Clemens Ladisch <clemens@ladisch.de>
To: cee1 <fykcee1@gmail.com>
Cc: alsa-devel@alsa-project.org, pulseaudio-discuss@lists.freedesktop.org
Subject: Re: Adjust volume may cause audio playback corruption
Date: Thu, 17 May 2012 21:05:26 +0200 [thread overview]
Message-ID: <4FB54BF6.3000901@ladisch.de> (raw)
In-Reply-To: <CAGXxSxUYWLyRZ1BEz53TRY9aE-CPPxSRoZeNGE5QTsOKP=B+Gg@mail.gmail.com>
cee1 wrote:
> We've found a way the can reproduce the problem more quickly on our product:
> 1. do audio playback
> 2. alsamixer, select 'Master', press 'm' and hold for a while.
>
> Then release 'm', playback corrupts(sounds similar to
> http://dev.lemote.com/files/upload/software/PA-apc/corrupted_sound.ogg).
Is the output supposed to be playing or muted at this time?
This appears to be a problem with PA's volume handling.
It might be caused by incorrect dB volume information of the HDA codec,
or by a bug in PA.
> What does rewind do? Why we need rewind here?
It allows to rewrite already written parts of the audio buffer; it's used
to apply the new volume to samples that have not yet been actually played.
Regards,
Clemens
next prev parent reply other threads:[~2012-05-17 19:05 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAGXxSxUxFbC3mGWa-pbUKrzUqsBbvoQ5PmXNrKfL2W_BXyv1_A@mail.gmail.com>
2012-05-15 8:30 ` Adjust volume may cause audio playback corruption cee1
2012-05-15 8:57 ` Takashi Iwai
2012-05-17 9:15 ` cee1
2012-05-17 10:40 ` Takashi Iwai
2012-05-17 9:35 ` cee1
2012-05-17 13:30 ` cee1
2012-05-17 19:05 ` Clemens Ladisch [this message]
2012-05-17 21:34 ` cee1
2012-05-18 7:35 ` cee1
2012-05-27 9:16 ` cee1
2012-05-28 2:04 ` cee1
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FB54BF6.3000901@ladisch.de \
--to=clemens@ladisch.de \
--cc=alsa-devel@alsa-project.org \
--cc=fykcee1@gmail.com \
--cc=pulseaudio-discuss@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.