<div dir="ltr"><div dir="auto">Hi Everyone, </div><div dir="auto"><br></div>I am making a mobile music app where the user can add multiple different FXS at runtime to current playing music through a two dimensional pad with an effects header. I am using FFmpeg, libavfilter in C++ to add multiple 

 FX to the audio. <div dir="auto"><br></div><div>My problem is, the user can disable any of the FX's I am using at any time as they wish, the effects I use are agate, lowpass, highpass. The graph is:<br><br>abuffer -> lowpass -> highpass -> agate -> aformat -> abuffersink.<br><br>From time to time, I want to disable some of the following 

 lowpass, highpass, agate. So I thought I could just reconfigure the graph and basically get rid of links to fulfil my wish. I am not sure this is the right way to do it tho. I tried to dig online but all I could find was a thread from 2012 with no conclusion. Libavfilter documentation doesn't say anything about reconfigure or reset existing filtergraph (of that I could find).<br><br>What would be the best way to do this?</div><div><br></div><div>Thank you!</div></div>