I have a project I'm working on monitor radio stations' news broadcasts. The problem is that most stations have their news broadcasts at the same time, e.g. at the top of the hour. So I need to record multiple radio stations simultaneously.
I have an Intel Atom-based computer for this, and it's running Ubuntu Server so that there's a minimum of overhead, and there are no other unnecessary apps installed.
I've got multiple USB sound cards (all of them are SoundBlaster X-Fi Go! cards). The diagram looks something like this:
FM radio 1 -> X-Fi Go! USB on plughw:1,0 -> computer
and at the same time
FM radio 2-> X-Fi Go! USB on plughw:2,0 -> computer
and so on.
However, when I try to do run one instance of arecord on plughw:1,0 and then another instance of arecord on plughw:2,0, I get an error message on the second instance, specifically:
arecord: xrun:1206 read/write error, state=PREPARED
The arecord command I'm using is this:
arecord --verbose --file-type wav --nonblock --rate=22050 --device=plughw:2,0 > /home/douglas/microphone.wav
Is there an option I'm missing in arecord?
Any advice you may have would be greatly appreciated.
Douglas Arellanes
------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user