18 May
2012
18 May
'12
9:35 a.m.
2012/5/18 cee1 fykcee1@gmail.com:
在 2012年5月18日星期五,Clemens Ladisch 写道:
cee1 wrote:
We've found a way the can reproduce the problem more quickly on our product:
- do audio playback
- 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