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