[vlc-devel] patch to add support for audio gain in the transcode chain

Rémi Denis-Courmont remi at remlab.net
Wed Sep 5 19:42:27 CEST 2012


Le mercredi 5 septembre 2012 19:08:10 Sergio M. Ammirata, Ph.D., vous avez 
écrit :
> The idea behind adding it to the common shared format structure is to make
> it a property available to any filter. For example, the liba52
> filter/decoder could also do scaling and when this filter is used in the
> auto chain generation, it can advertise it's ability to also adjust gain,
> thus saving the insertion of an additional filter, i.e. The gain filter,
> in the chain.

That does not make sense.

The format defines the nature of data exchanged on a certain interface. In 
other words, the (audio) format is a state or a property of the data, not a 
process applied to the data.

Changing the gain is a process, and thus does not belong in the format.
Also, there is already a structure for replay gain.

-- 
Rémi Denis-Courmont
http://www.linkedin.com/in/remidenis



More information about the vlc-devel mailing list