Forums - Audio Capture Issue Report on QCS610 Board

1 post / 0 new
Audio Capture Issue Report on QCS610 Board
sulthan4380
Join Date: 13 Dec 23
Posts: 1
Posted: Wed, 2023-12-13 08:00
Dear Team,
 
 I'm currently facing difficulties capturing audio data using GStreamer on the QCS610 board. Despite setting up GStreamer pipelines for audio capture, I'm encountering issues where the audio file is created but fails to capture sound from the microphone.
 
While troubleshooting, I discovered that using Arecorder proved successful in recording audio without any issues. Below, I've attached the GStreamer pipelines I've attempted for your reference:
 
### GStreamer Pipelines:
 
1. gst-launch-1.0 -e -v pulsesrc ! volume volume=1.0 ! wavenc ! filesink location="pulse_track.wav"
 
2. gst-launch-1.0 -e -v alsasrc ! volume volume=1.0 ! wavenc ! filesink location="alsa_track.wav"
 
3. gst-launch-1.0 -e -v autoaudiosrc ! volume volume=1.0 ! wavenc ! filesink location="Audio_track.wav"
 
 
### Arecorder Command Used:
 
amixer -c 0 cset iface=MIXER,name='QUIN_MI2S_TX SampleRate' 6
amixer -c 0 cset iface=MIXER,name='QUIN_MI2S_TX Channels' 1
amixer -c 0 cset iface=MIXER,name='QUIN_MI2S_TX Format' 0
amixer -c 0 cset iface=MIXER,name='MultiMedia2 Mixer QUIN_MI2S_TX' 1
arecord -D hw:0,1 -r 48000 -f S16_LE -c 2 file_name.wav
 
 
I've been stuck in the audio capture process for quite some time now. Could you kindly provide guidance or a solution to successfully capture audio data using GStreamer on the QCS610 board?
 
Your assistance in resolving this issue would be greatly appreciated. Thank you for your support.
 
Best regards,
Sulthan 
  • Up1
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.