Are you saying that the treble, bass and equalizer filters will let me modify 
the gain at runtime?

What command would I send? I can't find any documentation that tells me what 
command to even send.

avfilter_graph_queue_command(self.filterGraph, band.name.UTF8String, 
"setGain??", "gain=6", NULL, 0)


> On Dec 1, 2017, at 4:54 PM, Paul B Mahol <[email protected]> wrote:
> 
> On 12/1/17, Ronak <[email protected] 
> <mailto:[email protected]>> wrote:
>> Out of curiosity, is there a reason why the Filters could not be mutable, so
>> we can set the gain values dynamically?
>> 
>> Making them immutable makes it that much harder to integrate the library.
> 
> As already expained to you, there are filters that supports runtime
> change of parameters.
> 
>> 
>> 
>>> On Nov 26, 2017, at 2:37 PM, Paul B Mahol <[email protected]> wrote:
>>> 
>>> On 11/26/17, Ronak <[email protected]> wrote:
>>>> I see. I'm using the treble, bass and equalizer filters. And the user
>>>> should
>>>> have the ability to manipulate the gain at run time...
>>>> 
>>>> So, is the best thing to do to destroy and recreate the AVFilterGraph
>>>> then?
>>> 
>>> Yes.
>>> _______________________________________________
>>> Libav-user mailing list
>>> [email protected]
>>> http://ffmpeg.org/mailman/listinfo/libav-user
>> 
>> _______________________________________________
>> Libav-user mailing list
>> [email protected] <mailto:[email protected]>
>> http://ffmpeg.org/mailman/listinfo/libav-user 
>> <http://ffmpeg.org/mailman/listinfo/libav-user>
>> 
> _______________________________________________
> Libav-user mailing list
> [email protected] <mailto:[email protected]>
> http://ffmpeg.org/mailman/listinfo/libav-user 
> <http://ffmpeg.org/mailman/listinfo/libav-user>
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to