gui/macosx: second attempt to fix equalizer issue #3718.
authorSebastien Zwickert <dilaroga@free.fr>
Thu, 17 Jun 2010 17:21:35 +0000 (19:21 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 17 Jun 2010 23:13:38 +0000 (01:13 +0200)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/gui/macosx/equalizer.m

index 93fad3f..7d16a50 100644 (file)
@@ -296,7 +296,9 @@ static bool GetFiltersStatus( intf_thread_t *p_intf,
 
 - (IBAction)enable:(id)sender
 {
-    ChangeFiltersString( VLCIntf, (char *)"equalizer", [sender state] );
+//    ChangeFiltersString( VLCIntf, (char *)"equalizer", [sender state] );
+    // to fix #3718
+    aout_EnableFilter( pl_Get( VLCIntf ), (char *)"equalizer", [sender state]);
 }
 
 - (IBAction)preampSliderUpdated:(id)sender