[ecasound] Problems with only one input with more than one chain

From: LinuxMedia <linuxmedia2@email-addr-hidden>
Date: Fri Feb 10 2006 - 04:35:38 EET

Greetings,

If I run ecasound with the following ECS file and let it run to the end
(file ends), then do EIAM command "setpos 0", then "t"...

-a:1 -f:16,1,48000 -i:Guitar.wav,
-a:1 -f:16,2,48000 -o:alsa,hw:0
-a:1 -erc:1,2 -ea:100 -epp:50 -efl:20000 -efh:4

...everything works fine.

But if I take the same ECS file and add another chain to "Guitar.wav"
and let it run till the end (file ends), then do EIAM command "setpos
0", then "t"...

-a:1,1.1 -f:16,1,48000 -i:Guitar.wav,
-a:1,1.1 -f:16,2,48000 -o:alsa,hw:0
-a:1 -erc:1,2 -ea:100 -epp:50 -efl:20000 -efh:4
-a:1.1 -erc:1,2 -ea:187 -epp:50 -efl:20000 -efh:4 -ete:38,10,99

I get...

- [ Controller/Processing started ]
--------------------------------------------
ecasound ('h' for help)> (eca-engine) Using realtime-scheduling
(SCHED_FIFO:50).

... but nothing happens... Then I do EIAM command "q" and it hangs
(pressing ENTER just reveals new blank lines in the console). Then I
finally do "CONTROL C" and after a few seconds I get..

- [ Controller/Processing stopped (cond) ]
-------------------------------------
Warning: DBC_ENSURE failed - "is_running() == false",
eca-control-base.cpp, 276.
- [ Controller/Processing stopped (cond) ]
-------------------------------------
Warning: DBC_ENSURE failed - "is_running() == false",
eca-control-base.cpp, 276.
(eca-control-base) WARNING: Problems while shutting down the engine!
Warning: DBC_ENSURE failed - "is_engine_started() != true",
eca-control-base.cpp, 357.
(eca-control-objects) Disconnecting chainsetup: "000.2.ecs".
Warning: DBC_REQUIRE failed - "is_locked() != true", eca-chainsetup.cpp,
1864.
- [ Chainsetup disconnected ]
--------------------------------------------------
(eca-control-base) WARNING: Problems while shutting down the engine!
Warning: DBC_ENSURE failed - "is_engine_started() != true",
eca-control-base.cpp, 357.
Warning: DBC_CHECK failed - "is_locked() != true", eca-chainsetup.cpp, 184.
Segmentation fault

The funny thing is that if I take the (above) ECS file, but add a
completly seperate input to it...

-a:1,1.1 -f:16,1,48000 -i:Guitar.wav,
-a:2 -f:16,1,48000 -i:Vocal.wav,
-a:1,1.1,2 -f:16,2,48000 -o:alsa,hw:0
-a:1 -erc:1,2 -ea:74 -epp:50 -efl:20000 -efh:4
-a:1.1 -erc:1,2 -ea:211 -epp:50 -efl:20000 -efh:4 -ete:38,10,99
-a:2 -erc:1,2 -ea:160 -epp:50 -efl:20000 -efh:4

... and let it run till the longest file stops playing, then do EIAM
command "setpos 0" then "t"... it runs from the beginning perfectly
without a problem.

Then I wanted to see what happened if I added a second chain to the new
input and then did "setpos 0" then "t"...

-a:1,1.1 -f:16,1,48000 -i:Guitar.wav,
-a:2,2.1 -f:16,1,48000 -i:Vocal.wav,
-a:1,1.1,2,2.1 -f:16,2,48000 -o:alsa,hw:0
-a:1 -erc:1,2 -ea:74 -epp:50 -efl:20000 -efh:4
-a:1.1 -erc:1,2 -ea:211 -epp:50 -efl:20000 -efh:4 -ete:38,10,99
-a:2 -erc:1,2 -ea:160 -epp:50 -efl:20000 -efh:4
-a:2.1 -erc:1,2 -ea:211 -epp:50 -efl:20000 -efh:4 -ete:38,10,99

Everything ran fine. There only seems to be a problem if there's only
one input with several chains.

Rocco

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Fri Feb 10 08:15:04 2006

This archive was generated by hypermail 2.1.8 : Fri Feb 10 2006 - 08:15:05 EET