[ecasound] ai-remove bug report

From: Félix Le Blanc <flbstudio@email-addr-hidden>
Date: Fri Dec 13 2013 - 19:55:57 EET

Hello everyone! :)

I am currently developing a new tightly integrate pyGTK3 interface for
ecasound
The Interface is already able to load any ecs file, The interface build it
self by listing and mapping information with eci command.
I am using ecasound v2.9.0, compile by myself with these options:

Debugging info: no
Effects enabled: yes
Termcap: ncurses
Use system readline: yes
Use curses interface: yes
Libaudiofile: no
Libsndfile: yes
ALSA support: yes
OSS support: yes
aRts support: no
JACK support: yes
Libsamplerate support yes
LV2 (liblilv) support: yes
Liboil support: yes
Liblo (OSC) support: yes

On my way I found a bug related to ai-remove
In a valid Chain setup, I have
2 chains, 1 output(attached to both chain), and 3 inputs(files), represent
as:
_______________________________________________________________
| AI-INDEX (String index) | AI-NAME (audio file) | C-NAME
attached |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| 1 | 01.wav
| X |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| 2 | 02.wav
| ChainOne |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| 3 | 03.wav
| ChainTow |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Now if I do:

"ai-index-select 1"
"ai-remove"

This remove ai at index 1 + remap index of ai-list and ai-status,
but... (ai-index attached to chain(s) is not updating)
The problem is chain keep the old index for the ai attach-to) and we get
this result:
_______________________________________________________________
| AI-INDEX (String index) | AI-NAME (audio file) | C-NAME
attached |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| 1 | 02.wav
| X |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| 2 | 03.wav
| ChainOne |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

As you can see ai-satus say 03.wav is attach to ChainOne and ChainTow as no
more ai attached to it.

If it's not a bug, I don't see how to use it.

Thank you all for helping me out. :)

-- 
Félix Le Blanc
FLB STUDIO 2K5
(438) 491-0226

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk

_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Fri Dec 13 20:15:02 2013

This archive was generated by hypermail 2.1.8 : Fri Dec 13 2013 - 20:15:02 EET