Author Topic: After Pulseaudio upgrade(To 2.0) Mic in my lappy is not working Ok(Solved)  (Read 610 times)

Offline Agent Smith

  • PCLinuxOS Tester
  • Sr. Member
  • *******
  • Posts: 317
    • Brazilian PCLinuxOS Community
Gentlemen,
I was very satisfied with Pulseaudio. I felt that, now, they've hit the target. Everything was working great: Skype, GoogeTalk, Audacity, XMMS, all fine.
Then, we were upgraded to Pulseaudio 2.0

The sound playback is great, as it has always been.
But the sound capture and recording, through the Lappy Mic and external Mic, now, is a noise fest, cracking the sound, low volume and very low quality.
Therefore, making Skype, Gtalk and Audacity useless on that machine. I am using the 2.6.38.8 kernel, have tried the 3.2.18-1 kernel, with no difference(the older kernel seems better, btw).
I've searched on other distros' forums and problems like mine also happened with them. I guess(my shot) it's something related to some configuration file of Pulseaudio, but I couldn't get to any conclusive answer.
So my fellow community colleagues, I am asking for help.
Any tip or hint would be very appreciated.

Awaiting for your response, I send my best regards,


 
« Last Edit: June 28, 2012, 06:53:11 AM by Agent Smith »

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10690
  • MLUs Forever!
I have had no problem with recording, but have had 'scratchy' sound with playback, when using VLC.

You could try the fix for that to see if it has any effect.

======

Copy the file
/etc/pulse/default.pa
to
/home/user/.pulse/default.pa

Then edit the file so that line 53 goes
from
load-module module-udev-detect
to
load-module module-udev-detect tsched=0

Other thoughts .....  are you monitoring the Recording tab of pavucontrol when recording?
Are the levels as they should be?
Have you checked recently that there is no hardware issue ......  kink or crack in MIC cable; connector not properly seated in socket?  etc

By the description I would suspect a loose connection .....

MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline Agent Smith

  • PCLinuxOS Tester
  • Sr. Member
  • *******
  • Posts: 317
    • Brazilian PCLinuxOS Community
I have had no problem with recording, but have had 'scratchy' sound with playback, when using VLC.

You could try the fix for that to see if it has any effect.

======

Copy the file
/etc/pulse/default.pa
to
/home/user/.pulse/default.pa

Then edit the file so that line 53 goes
from
load-module module-udev-detect
to
load-module module-udev-detect tsched=0

Other thoughts .....  are you monitoring the Recording tab of pavucontrol when recording?
Are the levels as they should be?
Have you checked recently that there is no hardware issue ......  kink or crack in MIC cable; connector not properly seated in socket?  etc

By the description I would suspect a loose connection .....



Dear Just18,
After tinkering around, I found the solution that worked(for me, at least)
It has to do with daemon.conf. in /etc/pulse/,  the line where it defines the sample rate: default-sample-rate = 44100
It was commented, with a ;
Then I put default-sample-rate = 48000, and un commented the line.
I put a higher sample-rate, to enhance sound quality.
Worked like a charm, Audacity, Skype and Gtalk again good as they always have been.
Thank you very much for your help.

Best regards,


Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10690
  • MLUs Forever!
Great!

I wonder, having looked at that, if the following might be a better means of implementing it ........

copy the daemon.conf to 

~/.pulse

Re-edit the original to revert back to its default.

Edit the copy in  ~/.pulse in the following manner

Uncomment the following two lines (82 & 83 here)

Quote
; default-sample-rate = 44100
; alternate-sample-rate = 48000

That should, as I understand it, allow you to keep your personal settings which would not be over-written by an update to the package, and it should also allow for some devices having specific sample rates.

You could even change the two rates between the options so that the 48000 is the default and the 44100 is the alternate.

Glad you found the cause  ;)

MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT