Re: ice1712 recording

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

 



On 04/12/16 21:51, James Shatto wrote:
> It can record from all 4.

You can mix all 4 inputs down into one stream and then record that, but
do you really mean that you can record to 4 separate application threads 
concurrently without mixing?

> I suspect that adding -c 4 would overcome the issue.  The -f dat has a
> default of -f S16_LE -c 2 -r 48000.  So you might want to change that
> parameter as well.

Terminal 1 ...
$ arecord -DD44_ch12_capture -f S24_LE -c 4 -r 96000 test12.wav
Recording WAVE 'test12.wav' : Signed 24 bit Little Endian, Rate 96000 
Hz, Channels 4

Terminal 2 ...
$ arecord -DD44_ch34_capture -f S24_LE -c 4 -r 96000 test34.wav
arecord: main:722: audio open error: Device or resource busy

Terminal 1 ...
^C

Terminal 2 ...
$ arecord -DD44_ch34_capture -f S24_LE -c 4 -r 96000 test34.wav
Recording WAVE 'test34.wav' : Signed 24 bit Little Endian, Rate 96000 
Hz, Channels 4

Terminal 1 ...
$ arecord -DD44_ch12_capture -f S24_LE -c 4 -r 96000 test12.wav
arecord: main:722: audio open error: Device or resource busy

i.e. the same behaviour as before.  It appears that one thread is 
blocking the other.

> I have that card, although I haven't booted that old PCI system in a
> while.

Please try it and see if you can get it to work with multiple concurrent 
input streams.

> It's a nice card, a shame
> most newer things don't have PCI in favor of PCIe.

This core2duo machine has a gigabyte motherboard with a single PCI slot.

The application also has two by two channel separate outputs.  It is 
easy to separate those to Channel 1 & 2 and Channel 3 & 4 in .asoundrc 
using the dshare plugin.

I have tried to separate the two by two channel separate inputs using 
two instanced of dsnoop, but it does not work.  You get the same 
blocking problem that is exhibited by arecord.

> Assuming that it didn't get index 0 in /proc/asound/cards.

The Delta 44 is at index 0.

zcx


------------------------------------------------------------------------------
_______________________________________________
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