Results 1 to 5 of 5

Thread: Internal Mic not working with VoIP

  1. #1

    Question Internal Mic not working with VoIP

    Hello, I have problems to make my mic work for VoIP services (Google Hangouts/Skype).
    My laptop model is Acer 4830TG, i'm using OpenSUSE 13.1, and I am using internal mic.
    When I do arecord with -fdat option specified (48kHz sampling rate), I can record audio, but by default it is using 8kHz sampling rate, and the sound recorded is just some crackling and it is similar to one I get when using Skype/GoogleTalk.

    I am not sure, but it looks that my audio card or mic driver doesn't support low sample rate recording, which is used in VoIP apps.

    Also have jack for use with external audio card which is not connected usually.

    /usr/sbin/alsa-info.sh
    http://www.alsa-project.org/db/?f=cb...0f6878059c3e95

    rpm -qa *alsa*
    Code:
    alsa-utils-1.0.27.2-4.2.1.x86_64alsa-plugins-jack-1.0.27-3.1.1.x86_64
    alsa-devel-1.0.27.2-3.5.1.x86_64
    alsa-tools-1.0.27-5.1.3.x86_64
    alsa-1.0.27.2-3.5.1.x86_64
    alsa-plugins-pulse-32bit-1.0.27-3.1.1.x86_64
    alsa-oss-1.0.25-8.1.2.x86_64
    alsa-firmware-1.0.27-2.1.2.noarch
    alsamixergui-0.9.0rc1-763.1.3.x86_64
    alsa-plugins-1.0.27-3.1.1.x86_64
    alsa-oss-32bit-1.0.25-8.1.2.x86_64
    alsa-plugins-pulse-1.0.27-3.1.1.x86_64
    rpm -qa *pulse*
    Code:
    pulseaudio-module-bluetooth-4.0.git.270.g9490a-1.1.x86_64
    libpulse-mainloop-glib0-4.0.git.270.g9490a-1.1.x86_64
    pulseaudio-4.0.git.270.g9490a-1.1.x86_64
    pulseaudio-utils-4.0.git.270.g9490a-1.1.x86_64
    libpulse0-4.0.git.270.g9490a-1.1.x86_64
    alsa-plugins-pulse-32bit-1.0.27-3.1.1.x86_64
    pulseaudio-module-jack-4.0.git.270.g9490a-1.1.x86_64
    pulseaudio-lang-4.0.git.270.g9490a-1.1.noarch
    libpulse0-32bit-4.0.git.270.g9490a-1.1.x86_64
    pulseaudio-module-x11-4.0.git.270.g9490a-1.1.x86_64
    libxine2-pulse-1.2.3-3.1.3.x86_64
    pulseaudio-module-zeroconf-4.0.git.270.g9490a-1.1.x86_64
    pulseaudio-module-lirc-4.0.git.270.g9490a-1.1.x86_64
    alsa-plugins-pulse-1.0.27-3.1.1.x86_64
    cat /etc/modprobe.d/50-sound.conf
    Code:
    options snd slots=snd-hda-intel
    # u1Nb.2Wu0M8i_W1D:Intel Corporation
    alias snd-card-0 snd-hda-intel

  2. #2
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    26,589
    Blog Entries
    38

    Default Re: Internal Mic not working with VoIP

    Please, can you run a basic test first to see how the recording works directly with alsa driver ?

    I note from the script:
    Code:
    ARECORD
    
    **** List of CAPTURE Hardware Devices ****
    card 0: PCH [HDA Intel PCH], device 0: CX20588 Analog [CX20588 Analog]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    From that it is clear that your recording device is hw:0,0.

    In a terminal please send this command:
    Code:
    arecord -vv -f S16_LE -c 2 -D hw:0,0 new.wav
    and then talk while recording. Stop the recording by pressing <ctrl><c> and then play back the file 'new.wav' which was created. Does that record audio ?

    If so, then assuming you have pulse audio installed, I recommend you install pulse audio volume control and use it to configure your mic with voip services .

    There is guidance here how to configure a mic with pulse: https://forums.opensuse.org/entry.ph...th-pavucontrol The links don't work on that page so you will need to scroll down to where it says " pavucontrol Input Devices on my Sandbox PC "

    Also, when starting Skype, please note there is a bug with Skype and openSUSE-13.1, with work around guidance here: https://forums.opensuse.org/entry.ph...-openSUSE-13-1

    Thankyou and good luck.

  3. #3

    Default Re: Internal Mic not working with VoIP

    Thanks for reply.

    As I have mentioned above and retried with script you provided - recording via direct ALSA driver works, I can hear recording.
    I have used workaround for Skype, and it is still not recording audio correctly, the only thing I hear from recording is quiet crackling (even for max mic boost).
    Maybe recording levels are too low? But I increased mixer values in pulse audio volume control and alsamixer..

    I think it is some issue with PulseAudio... but I don't know how to verify or fix it.. Any other suggestions?

  4. #4
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    26,589
    Blog Entries
    38

    Default Re: Internal Mic not working with VoIP

    Quote Originally Posted by sapphirephil View Post
    As I have mentioned above and retried with script you provided - recording via direct ALSA driver works, I can hear recording.
    Good

    Quote Originally Posted by sapphirephil View Post
    I have used workaround for Skype, and it is still not recording audio correctly, the only thing I hear from recording is quiet crackling (even for max mic boost).
    Maybe recording levels are too low? But I increased mixer values in pulse audio volume control and alsamixer..

    I think it is some issue with PulseAudio... but I don't know how to verify or fix it.. Any other suggestions?
    Possibly a pulse audio issue. wrt Skype, ... what method did you employ to install it ? Do you do anything unusual with apparmor ? (thats a speculative guess - query) Run Skype from a terminal using the work around. Do you get errors ?
    Last edited by oldcpu; 25-Feb-2014 at 10:25.

  5. #5
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,804

    Default Re: Internal Mic not working with VoIP

    For skype you need the 32 bit pulse lib

    O cleared all problems with skype for me after I installed it

    libpulse0-32bit

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •