Volume flickers up and down

I already covered this problem on this computer, but I forgot the fix.

In short, the volume flickers from 0 to maximum. I think the problem was to disable the front headset plug.

Can anyone remind me how to do that?