<p><br>
><br>
> I have a problem of hearing white-noise on my headphones when I plug them in my laptop. I know the work around:<br>
><br>
> $ amixer -c 0 cset 'numid=10' 1<br>
> numid=10,iface=MIXER,name='Headphone Mic Boost Volume'<br>
> ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0<br>
> : values=1,1<br>
> | dBscale-min=0.00dB,step=10.00dB,mute=0<br>
><br>
> OR<br>
><br>
> $ amixer -c0 sset 'Headphone Mic Boost' 1<br>
> Simple mixer control 'Headphone Mic Boost',0<br>
> Capabilities: volume<br>
> Playback channels: Front Left - Front Right<br>
> Capture channels: Front Left - Front Right<br>
> Limits: 0 - 3<br>
> Front Left: 1 [33%] [10.00dB]<br>
> Front Right: 1 [33%] [10.00dB]<br>
><br>
> Done, no more white noise. It's all well, but the settings are not remembered; every time pulseaudio restarts (when I login to my Desktop, basically):<br>
><br>
> $ amixer -c 0 cget 'numid=10' <br>
> numid=10,iface=MIXER,name='Headphone Mic Boost Volume'<br>
> ; type=INTEGER,access=rw---R--,values=2,min=0,max=3,step=0<br>
> : values=0,0<br>
> | dBscale-min=0.00dB,step=10.00dB,mute=0<br>
><br>
> Notice the 0,0? And the white noise is back.<br>
><br>
> So my end goal is to find my way into hacking pulseaudio so that this is taken care of without having to do it myself via command line everytime I use my headphones.<br>
><br>
> That's where my understanding of things starts to break down. Basically, I think it's not possible to control this property in pulseaudio at the moment, so I may need to write/update a module (frankly I'm not actually sure of that - but I'm not afraid of coding C). I started reading the coding page on the pulseaudio modules of <a href="http://freedesktop.org">freedesktop.org</a>, but that did not really inspire me to find a solution to my issue. So I would like to know if one of you could guide me a bit.<br></p>
<p><a href="https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/hda_generic.c?id=e7fdd52779a6c2b49d457f452296a77c8cffef6a">https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/hda_generic.c?id=e7fdd52779a6c2b49d457f452296a77c8cffef6a</a></p>
<p>You need to mute loopback mixing path, the noise seem to be feedback of the combo jack </p>