[vlc-devel] [PATCH 1/2] Load compressor before any other filter

Ron Wright logiconcepts819 at gmail.com
Wed Aug 12 15:11:09 CEST 2015


Are there any comments regarding this particular patch, or do the same
comments regarding the LibVLC patch apply here as well?

Regards,

Ron Wright

On Fri, Aug 7, 2015 at 11:50 AM, Ronald Wright <logiconcepts819 at gmail.com>
wrote:

> This is a follow-up from 2010 to make the compressor load before any other
> module, including the equalizer.  In this manner, only unfiltered audio
> will be
> compressed, and any other filter in the effects chain will manipulate the
> compressed audio.
> ---
>  src/audio_output/common.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/audio_output/common.c b/src/audio_output/common.c
> index 3de1f6a..17693bb 100644
> --- a/src/audio_output/common.c
> +++ b/src/audio_output/common.c
> @@ -521,7 +521,8 @@ static int FilterOrder( const char *psz_name )
>          const char psz_name[10];
>          int        i_order;
>      } filter[] = {
> -        { "equalizer",  0 },
> +        { "compressor", 0 },
> +        { "equalizer",  1 },
>      };
>      for( unsigned i = 0; i < ARRAY_SIZE(filter); i++ )
>      {
> --
> 1.9.1
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20150812/ce543699/attachment.html>


More information about the vlc-devel mailing list