arecord with mutiple aplay

"Zhou, Hui via Alsa-user" <[email protected]> Fri, 2 Apr 2021 10:55:39 +0000
Newsgroups gmane.linux.alsa.user
Message-ID <DBAPR03MB6504E9EA48980E23201047AED07A9@DBAPR03MB6504.eurprd03.prod.outlook.com>
Dear community,

I am currently working on streaming one input audio to multiple output speakers.

Here is the procedures:

mkfifo audio.wav
arecord -D "input device" audio.wav
aplay -D "speaker1" audio.wav
aplay -D "speaker2" audio.wav

The problem is once I run the "aplay -D "speaker2" audio.wav", the audio in two speakers becomes intermittent.

But there is no problem when I only play on speaker1.

Could anyone help me on this?

Thanks!

Best regards,
Hui

_______________________________________________
Alsa-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user