Re: One process per audio channel

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

 



John Sigler wrote:

> Jaroslav Kysela wrote:
> 
>> John Sigler wrote:
>>
>>> I have an RME AES-32 PCI board which provides 4 stereo input channels 
>>> and 4 stereo output channels.
>>>
>>> (I'm using the hsdpm driver at this time.)
>>>
>>> I want to use one process per channel, i.e. process A handles stereo 
>>> input #1 (on the XLR connector #1), process B handles stereo input 
>>> #2, etc.
>>>
>>> The processes are independent, in that process A might be started, 
>>> and only several hours later, process B is started, then a few hours 
>>> later process A is killed and restarted.
>>>
>>> Is it possible to do that with the ALSA library?
>>
>> Yes, look for the dsnoop plugin configuration in alsa-lib.
> 
> I see references to "ipc" in alsa.conf.
> 
> My embedded kernel is compiled with
> # CONFIG_SYSVIPC is not set
> 
> Does the dsnoop plug-in require kernel support?

# ./arecord -D dsnoop -vv -M -r 48000 -f S32_LE -t raw -d 60 /tmp/out
ALSA lib pcm_direct.c:1605:(snd1_pcm_direct_parse_open_conf) The field 
ipc_gid must be a valid group (create group audio)
arecord: main:564: audio open error: Invalid argument

OK. I need to create the 'audio' group.

# ./arecord -D dsnoop -vv -M -r 48000 -f S32_LE -t raw -d 60 /tmp/out
ALSA lib pcm_dsnoop.c:540:(snd_pcm_dsnoop_open) unable to create IPC 
semaphore
arecord: main:564: audio open error: Function not implemented

No cookie... I suppose I have to recompile a kernel?

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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