[vlc-devel] [PATCH 1/2] Load compressor before any other filter
    Ronald Wright 
    logiconcepts819 at gmail.com
       
    Fri Aug  7 18:50:55 CEST 2015
    
    
  
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
    
    
More information about the vlc-devel
mailing list