-gm not working correctly with loop device

rocco <[email protected]> Thu, 13 Jun 2013 23:02:59 -0700
Newsgroups gmane.comp.audio.ecasound.general
Message-ID <[email protected]>
Hi,

Quick synopsis...
Seems that when -gm is used to turn a chain 'on' or 'off', it works 
correctly when the audio is sent directly out to jack,system. But when 
the audio is run through a loop device, it turns 'off' correctly, but 
doesn't 'turn on' unless 'setpos 0' is issued.

First scenario... Audio file direct out to jack,system...

### START ECS ###
-b:512 -r:50 -z:nointbuf -z:nodb -n:"Main" -X -z:noxruns -z:nopsr 
-z:mixmode,sum

-a:Singing  -f:24,1,96000 -i:Singing.wav

-a:Singing    -f:24,2,96000 -o:jack,system

-a:Singing -gm:1 -chcopy:1,2 -epp:17 -ea:107
### END ECS ###

In this scenario, turning -gm 'on' or 'off' works (with or without the 
engine running)...

ecasound> c-select Singing
ecasound> cop-set 1,1,0
ecasound> t
  * audio is (not) heard
ecasound> cop-set 1,1,1
  * audio (is) heard

Second scenario... Audio passing through a loop device...

### START ECS ###
-b:512 -r:50 -z:nointbuf -z:nodb -n:"Main" -X -z:noxruns -z:nopsr 
-z:mixmode,sum

-a:Singing  -f:24,1,96000 -i:Singing.wav
-a:looper  -f:24,2,96000 -i:loop,looper

-a:Singing    -f:24,2,96000 -o:loop,looper
-a:looper   -f:24,2,96000 -o:jack,system

-a:Singing -gm:1 -chcopy:1,2 -epp:17 -ea:107
-a:looper  -epp:50 -ea:50
### END ECS ###

In this scenario, turning the chain 'off' with '-gm' works, but only 
'turns on' again when 'setpos 0' is issued (with or without the engine 
running)...

ecasound> c-select Singing
ecasound> cop-set 1,1,0
ecasound> t
  * audio is (not) heard
ecasound> cop-set 1,1,1
  * audio is (not) heard
ecasound> setpos 0
  * audio (is) heard

Hope this helps,
Rocco

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Ecasound-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ecasound-list