I have a very simple volume control in my game right now, changing the volume with a slider. When I start changing the volume with the slider a very annoying crackle sound can be heard just as the volume changes.
I round up the float values of the slider, so I only change the volume when it is .1, .2, .3, .4, etc. and different from the current volume. I am directly changing the volume with MediaPlayer.Volume = volume.
It is happening on a PC Windows deployment and I am using Monogame 3.6.0.1625
Any idea of what could be causing this problem?