Comment 159 for bug 445849

Revision history for this message
xtknight (xt-knight) wrote : Re: Highpitched Rattling like Sound with 5.1 Surround Configuration on Karmic Koala

You don't need to bypass pulseaudio or rip your entire system apart. How about just commenting out the block where it says getenv..NO_SIMD...

keyword "NO_SIMD"

src/daemon/pulseaudio/main.c ln ~877

    // fixes cracking/rattling/buzzing sounds with 5.1
/* if (!getenv("PULSE_NO_SIMD")) {
        pa_cpu_init_x86();
        pa_cpu_init_arm();
    }*/

    pa_log(_("ANDY_FIX: Disabled SIMD."));

pulseaudio -vvvv will show ANDY_FIX so you can make sure the code worked, and also you should have no crackling.

It fixed it for me instantly and I can't imagine the problem I'm having is different than what anyone else is having, as it matches the original description. I suspect if there are other problems then different bug reports should be made. This works around the SIMD issue.