My question is that is there a way we can record the same audio stream to multiple destinations with different gstreamer pipeline?
We have ODM project with TX2 platform with using Audio ADC Solution (PCM1864).
Customer request to record multiple audio streams from the same audio source.
-Jetpack 4.4 L4T 32.4.3
gst-launch-1.0 -v alsasrc device=hw:tegrasndt186ref,1 ! audio/x-raw,format=S16LE,rate=48000,channels=4 ! wavenc ! filesink location=audio.wav
- Open a terminal and execute record command (filesik location=audio-1.wav)
- Open another terminal and execute record commnad (filesik location=audio-2.wav)
Error message at step2
Setting pipeline to PAUSED ... ERROR: Pipeline doesn't want to pause. ERROR: from element /GstPipeline:pipeline0/GstAlsaSrc:alsasrc0: Could not open audio device for recording. Device is being used by another application. Additional debug info: gstalsasrc.c(743): gst_alsasrc_open (): /GstPipeline:pipeline0/GstAlsaSrc:alsasrc0: Device 'hw:tegrasndt186ref,1' is busy Setting pipeline to NULL ... Freeing pipeline ...