[pulseaudio-discuss] Input sound random detection.

Tanu Kaskinen tanuk at iki.fi
Sat Aug 13 22:46:49 UTC 2016


On Sat, 2016-08-13 at 13:29 -0300, Gustavo Duarte wrote:
> Tanu, you have just hit the nail on the head.
> 
> Awesome !!!
> 
> After sound mic is broken, running "paplay 
> /usr/share/sounds/freedesktop/stereo/bell.oga" fix it.
> 
> As you told, skype changes the sample rate.
> 
> On other hand, if I running "paplay 
> /usr/share/sounds/freedesktop/stereo/bell.oga" before skype, it avoid 
> the input sound break.
> 
> 
> To be more clear I did following two tests.
> 
> A) To check your guest.
> 
> 1) boot
> 
> 2) open Skype, and clall "Echo sound / service", NO msg was recorder.
> 
> 3) run "paplay /usr/share/sounds/freedesktop/stereo/bell.oga"
> 
> 4) open Skype, and clall "Echo sound / service", msg was recorder, mic 
> start to WORKING.
> 
> 
> B) In order to find a workaround to fix it.
> 
> 1) boot
> 
> 2) run "paplay /usr/share/sounds/freedesktop/stereo/bell.oga"
> 
> 3) open Skype, and clall "Echo sound / service", msg was recorder, mic 
> WORKS.
> 
> 
> I wonder if there is another way more elegant, to fix it ?
> 
> (Avoid Skype or other apps change the sample rate and break the sound).

You can set default-sample-rate and alternate-sample-rate both to 44100
in /etc/pulse/daemon.conf. Then pulseaudio won't ever switch to 48000
Hz.

It would be good to also report this to the alsa developers.
http://alsa-project.org/main/index.php/Bug_Tracking

-- 
Tanu


More information about the pulseaudio-discuss mailing list