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

From: LinuxMedia <linuxmedia2@email-addr-hidden>
Date: Mon Jul 24 2006 - 05:10:05 EEST

I had sent the following post a while back but have new information
about it. If you replace "-o:alsa,hw:0" with "-o:jack_alsa" the bug
doesn't show up at all.

ecasound-list@email-addr-hidden wrote:
> 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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Mon Jul 24 12:15:01 2006

This archive was generated by hypermail 2.1.8 : Mon Jul 24 2006 - 12:15:02 EEST