<div dir="ltr">Hi,<div><br></div><div>I have checked the sink volume using commands provided and it was 450%. Set the volume to 100% and now speaker/headet playing smooth.</div><div><br></div><div>Thanks for support.</div><div><br></div><div>Regards</div><div>Nishit Sharma</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Dec 10, 2016 at 7:07 PM, Tanu Kaskinen <span dir="ltr"><<a href="mailto:tanuk@iki.fi" target="_blank">tanuk@iki.fi</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, 2016-12-08 at 15:43 +0530, Nishit Sharma wrote:<br>
> On Thu, Dec 8, 2016 at 3:37 PM, Tanu Kaskinen <<a href="mailto:tanuk@iki.fi">tanuk@iki.fi</a>> wrote:<br>
><br>
> > On Thu, 2016-12-08 at 15:28 +0530, Nishit Sharma wrote:<br>
> > > Hi All,<br>
> > ><br>
> > > I am facing noise issues when playing through Speaker/Headphone using<br>
> > > pulseaduio and UCM config files but this is not happening in case of<br>
> > > normal alsa_play.<br>
> ><br>
> > What kind of noise issues? And what is "normal alsa_play"? Do you mean<br>
> > aplay?<br>
><br>
> It's like when song played with too much volume which speaker can<br>
> handle, like if we raises volume to max limits. Yes,it's aplay<br>
<br>
</span>Ok, that's a bit weird. You said that the volumes in alsamixer were the<br>
same with and without pulseaudio - how did you check? Did you run<br>
"amixer --card=broxtonrt298" and ran it through diff?<br>
<br>
If the mixer settings really are the same, then check that no volumes<br>
in pulseaudio are over 100%. You can check that with "pactl list sinks"<br>
and "pactl list sink-inputs" while you're playing the test file.<br>
<br>
Also check the sink and sink input rates. If they are different,<br>
pulseaudio will do resampling, which shouldn't cause this kind of<br>
issues, but it's worth checking if playing a file that matches the sink<br>
sample rate makes the problem go away.<br>
<br>
Lastly, you could check if there are differences in the parameters that<br>
aplay and pulseaudio set (like sample rate or sample format). Maybe the<br>
hardware doesn't work properly with certain formats. I've heard of one<br>
instance where hardware made some noise with normal 16-bit audio, while<br>
24-bit audio played cleanly, even though the audio file was 16-bit in<br>
both cases. When you play audio, you can check the current hardware<br>
parameters with "cat /proc/asound/card0/pcm0p/sub0/<wbr>hw_params". Or at<br>
least that works with HDA, I'm not sure if that's an universal<br>
interface that works with all kernel drivers.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Tanu<br>
<br>
<a href="https://www.patreon.com/tanuk" rel="noreferrer" target="_blank">https://www.patreon.com/tanuk</a><br>
______________________________<wbr>_________________<br>
pulseaudio-discuss mailing list<br>
<a href="mailto:pulseaudio-discuss@lists.freedesktop.org">pulseaudio-discuss@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/pulseaudio-<wbr>discuss</a><br>
</div></div></blockquote></div><br></div>