Re: arecord with mutiple aplay

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Alexandre,

 

Thank you for your suggestion!

 

I found the problem is the FIFO can only be read by one process instead of multiple process, and I have changed to use command “tee” to implement it.

 

Best regards,

Hui

 

 

From: Alexandre Bouillot <alexandre@xxxxxxxxxxxx>
Sent: 06 April 2021 11:00
To: Zhou, Hui <hui.zhou@xxxxxxxxx>
Cc: alsa-user@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: arecord with mutiple aplay

 

You don't often get email from alexandre@xxxxxxxxxxxx. Learn why this is important

Feedback

Dear Hui,

 

One idea, not sure it will address your exact issue, but I saw the platform running ALSA might not be powerful enough to cope will all the data.

 

I had the issue with multiple record sessions with different audio cards on Rapberry Pi 3 where one record and simultaneous play worked fine, but when adding new channels shows issues. I since then moved to a new HW (a PC in my case) and been able to cope with 3 simultaneous channels with one play and one record on each.

 

Best,

Alexandre

 

Le ven. 2 avr. 2021 à 14:46, Zhou, Hui via Alsa-user <alsa-user@xxxxxxxxxxxxxxxxxxxxx> a écrit :

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
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux