[vlc-devel] [req] spatializer fixing
    jpd at videolan.org 
    jpd at videolan.org
       
    Fri Jun 19 17:04:40 CEST 2009
    
    
  
While looking through the code yesterday, I noticed something for which
I've attached a patch -- it seems an obvious error in context of the other
uses of those variables, but it doesn't seem to do the spatializer much
good. Beyond this the default variables do something but it seems too easy
to input settings that produce garbage or no sound at all. Thus, this patch
and a request for interested parties to take a look at the code.
-------------- next part --------------
diff --git a/modules/audio_filter/spatializer/revmodel.cpp b/modules/audio_filter/spatializer/revmodel.cpp
index 312dd43..6fe0f93 100644
--- a/modules/audio_filter/spatializer/revmodel.cpp
+++ b/modules/audio_filter/spatializer/revmodel.cpp
@@ -65,7 +65,7 @@ revmodel::revmodel()
 void revmodel::mute()
 {
     int i;
-    if (getmode() >= freezemode)
+    if (mode >= freezemode)
         return;
 
     for (i = 0 ; i < numcombs ; i++)
    
    
More information about the vlc-devel
mailing list