Helo and welcome.
I'd like to change my audio connection at runtime. I have just twoj connections now, from input to effect and from effect to output, now i'd like to switch the effect in the connection based on a button for example: flanger/chorus. I was experimenting with new AudioConnection and deleting it, but that seems to fail after firs allocation. What's the proper way to change the connections at runtime, do I need to create all the connections and then manipulate them somehow ? The AudioConnection class has no methods to disconnect the source/destination. Any advice ?
best regards
I'd like to change my audio connection at runtime. I have just twoj connections now, from input to effect and from effect to output, now i'd like to switch the effect in the connection based on a button for example: flanger/chorus. I was experimenting with new AudioConnection and deleting it, but that seems to fail after firs allocation. What's the proper way to change the connections at runtime, do I need to create all the connections and then manipulate them somehow ? The AudioConnection class has no methods to disconnect the source/destination. Any advice ?
best regards