[ecasound] -gm not working correctly with loop device

From: rocco <rocco556@email-addr-hidden>
Date: Fri Jun 14 2013 - 09:02:59 EEST

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
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Fri Jun 14 12:15:01 2013

This archive was generated by hypermail 2.1.8 : Fri Jun 14 2013 - 12:15:02 EEST