在 2012年5月18日星期五,Clemens Ladisch 写道:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">cee1 wrote:<br>
> We've found a way the can reproduce the problem more quickly on our product:<br>
> 1. do audio playback<br>
> 2. alsamixer, select 'Master', press 'm' and hold for a while.<br>
><br>
> Then release 'm', playback corrupts(sounds similar to<br>
> <a href="http://dev.lemote.com/files/upload/software/PA-apc/corrupted_sound.ogg" target="_blank">http://dev.lemote.com/files/upload/software/PA-apc/corrupted_sound.ogg</a>).<br>
<br>
Is the output supposed to be playing or muted at this time?</blockquote><div>Playing<span></span></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
This appears to be a problem with PA's volume handling.<br>
It might be caused by incorrect dB volume information of the HDA codec,<br>
or by a bug in PA.<br>
<br>
> What does rewind do? Why we need rewind here?<br>
<br>
It allows to rewrite already written parts of the audio buffer; it's used<br>
to apply the new volume to samples that have not yet been actually played.<br>
<br>
<br>
Regards,<br>
Clemens<br>
</blockquote><br><br>-- <br>Regards,<div><br><div>- cee1</div></div><br>