[pulseaudio-discuss] Adjust volume may cause audio playback corruption
cee1
fykcee1 at gmail.com
Fri May 18 00:35:04 PDT 2012
2012/5/18 cee1 <fykcee1 at gmail.com>:
> 在 2012年5月18日星期五,Clemens Ladisch 写道:
>
>> 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?
>
> Playing
Seems something to do with process_rewind(modules/alsa/alsa-sink.c), I
tried commenting out snd_pcm_rewind block in process_rewind() and set
out_frames=0 or out_frames=in_frames, the problem seems gone.
A bug in snd_pcm_rewind()/driver?
----
Regards,
cee1
More information about the pulseaudio-discuss
mailing list