[ecasound] understanding loop device use

From: Dubphil <dubphil@email-addr-hidden>
Date: Mon Jul 21 2008 - 13:40:48 EEST

Hello,

I definitevely not understood how to use the loop devices, here is what
I want :

# ecasound chainsetup file

# general
-b:128 -r:-1 -z:intbuf -z:db,100000 -n:"test" -X -z:noxruns -z:nopsr
-z:mixmode,avg

# audio inputs
-a:1 -f:f32_le,2,48000 -i:jack
-a:2 -f:f32_le,2,48000 -i:jack
-a:3 -f:f32_le,2,48000 -i:"loop,1",1
-a:4 -f:f32_le,2,48000 -i:"loop,2",2
-a:5 -f:f32_le,2,48000 -i:"loop,1",1
-a:6 -f:f32_le,2,48000 -i:"loop,2",2

# audio outputs
-a:1 -f:f32_le,2,48000 -o:"loop,1",1
-a:2 -f:f32_le,2,48000 -o:"loop,2",2
-a:3,4,5,6 -f:f32_le,2,48000 -o:jack

and here is what ecasound tells :

dubphil@email-addr-hidden ~ $ ecasound -c -s test.ecs
********************************************************************************
* ecasound v2.4.7pre4_2.5.0 (C) 1997-2008 Kai Vehmanen and others
********************************************************************************
- [ Chainsetup created (file) ]
------------------------------------------------
(eca-chainsetup-parser) Setting buffersize to (samples) 128.
(eca-chainsetup-parser) Raised-priority mode disabled.
(eca-chainsetup-parser) Enabling extra buffering on realtime devices.
(eca-chainsetup-parser) Using double-buffer of 100000 sample frames.
(eca-chainsetup-parser) Setting chainsetup name to "test".
(eca-chainsetup-parser) Updating outputs (rw-mode).
(eca-chainsetup-parser) Ignoring xruns during processing.
(eca-chainsetup-parser) Disabling precise-sample-rates with OSS audio
... devices.
(eca-chainsetup-parser) Enabling 'avg' mixmode.
(eca-chainsetup) Unable to connect: Chain "3" is not valid. Following
errors were
... detected:
(eca-chainsetup) Chain "3" is not connected to any input. All chains
must have
... exactly one valid input. (2.1-NO-CHAIN-INPUT)
(eca-chainsetup) Unable to connect: Chain "4" is not valid. Following
errors were
... detected:
(eca-chainsetup) Chain "4" is not connected to any input. All chains
must have
... exactly one valid input. (2.1-NO-CHAIN-INPUT)
(eca-chainsetup) WARNING: Input "loop,1" is not connected to any chain.
... (3.1-DISCON-INPUT)
(eca-chainsetup) WARNING: Input "loop,2" is not connected to any chain.
... (3.1-DISCON-INPUT)
(eca-session) Chainsetup loaded from 'test.ecs' is not valid!
- [ Session created ]
----------------------------------------------------------

---
ecasound: ERROR: [ECA-SESSION] : "Errors parsing session-level options. 
Unable to create session."
I believed I could give a chain an output loop device and use this loop 
as input for several other chains...
am I wrong ?
Regards
Philippe
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Mon Jul 21 16:15:01 2008

This archive was generated by hypermail 2.1.8 : Mon Jul 21 2008 - 16:15:02 EEST