Comment 78 for bug 428619

Revision history for this message
Raymond (superquad-vortex2) wrote : Re: pulseaudio crackle/distortion with cs46xx on latest update

I: alsa-sink.c: Using 32.0 fragments of size 2048 bytes (11.61ms), buffer size is 65536 bytes (371.52ms)
I: alsa-sink.c: Time scheduling watermark is 20.00ms

: alsa-sink.c: Starting playback.
D: alsa-sink.c: Cutting sleep time for the initial iterations by half.
D: alsa-sink.c: Cutting sleep time for the initial iterations by half.
D: alsa-sink.c: Cutting sleep time for the initial iterations by half.

cs46xx use snd_pcm_indirect_playback_transfer() , this mean than PA can most likely only rewind to period boundary so you may need to set rewind_safeguard of PA to fragment size 2048 bytes or double of fragment side used by PA for cs46xx instead of the default 256 when min_period_bytes is 128 for HDA

http://git.0pointer.de/?p=pulseaudio.git;a=commit;h=4df443bbe682055a41e7c2248877dcc7682a69b8

http://thread.gmane.org/gmane.comp.audio.pulseaudio.general/6671