Results 1 to 1 of 1

Thread: Alsa - Mic does not work

  1. #1
    Join Date
    Dec 2020
    Beans
    4

    Alsa - Mic does not work

    I'm starting to use ALSA and first I need to test my mic and speakers. To test speakers I do speaker-test and I can hear the white noise coming from my left and right speaker, and I obtain the following output:

    Code:
    speaker-test -c 2
    
    speaker-test 1.1.3
    
    Playback device is default
    Stream parameters are 48000Hz, S16_LE, 2 channels
    Using 16 octaves of pink noise
    Rate set to 48000Hz (requested 48000Hz)
    Buffer size range from 96 to 1048576
    Period size range from 32 to 349526
    Using max buffer size 1048576
    Periods = 4
    was set period_size = 262144
    was set buffer_size = 1048576
     0 - Front Left
     1 - Front Right
    To test mic, I record .wav file using:

    Code:
     arecord -f S16_LE -d 10 -r 44100 -c 2  --device="hw:0,0" test-mic.wav
    However, when I play this file I don't hear anything. The file is not empty, and I can play it with aplay, but no sound.
    The output from alsamixer is shown on the two attached pics.

    I need to capture the sound from the internal mic. I don't know what I should change in order to be able to capture the sound from mic and ALSA properly. Thanks for your help.
    Attached Images Attached Images

Tags for this Thread

Bookmarks

Posting Permissions

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