ai-remove bug report

Félix Le Blanc <[email protected]> Fri, 13 Dec 2013 12:55:57 -0500
Newsgroups gmane.comp.audio.ecasound.general
Message-ID <CA+n4yp9=8ruzgO7Eee7HRockP2+_RaK9WmRKWOa9MxQrM9ZM+g@mail.gmail.com>
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ecasound-list