]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/equalizer.m
Qt4 - Dialog sizing.
[vlc] / modules / gui / macosx / equalizer.m
index 659ce9f9d8b412d59dc450109321dfbe837442df..ed5fe88385f897fb2de1b3a196ad60bde23615b5 100644 (file)
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * equalizer.m: MacOS X interface module
  *****************************************************************************
- * Copyright (C) 2004 the VideoLAN team
+ * Copyright (C) 2004-2006 the VideoLAN team
  * $Id$
  *
  * Authors: Jerome Decoodt <djc@videolan.org>
@@ -25,8 +25,7 @@
  * Preamble
  *****************************************************************************/
 #include <vlc/vlc.h>
-#include <vlc/aout.h>
-#include <aout_internal.h>
+#include <vlc_aout.h>
 
 #include "intf.h"
 
@@ -139,11 +138,11 @@ static vlc_bool_t GetFiltersStatus( intf_thread_t *p_intf,
     int i;
     [o_btn_equalizer setToolTip: _NS("Equalizer")];
     [o_ckb_2pass setTitle: _NS("2 Pass")];
-    [o_ckb_2pass setToolTip: _NS("If you enable this settting, the "
-        "equalizer filter will be applied twice. The effect will be sharper.")];
+    [o_ckb_2pass setToolTip: _NS("Apply the "
+        "equalizer filter twice. The effect will be sharper.")];
     [o_ckb_enable setTitle: _NS("Enable")];
-    [o_ckb_enable setToolTip: _NS("Enable the equalizer. You can either "
-        "manually change the bands or use a preset.")];
+    [o_ckb_enable setToolTip: _NS("Enable the equalizer. Bands can be set "
+        "manually or using a preset.")];
     [o_fld_preamp setStringValue: _NS("Preamp")];
 
     [o_popup_presets removeAllItems];
@@ -177,7 +176,7 @@ static vlc_bool_t GetFiltersStatus( intf_thread_t *p_intf,
     char *psz_bands, *psz_bands_init, *p_next;
     vlc_bool_t b_2p;
     int i;
-    vlc_bool_t b_enabled = GetFiltersStatus( p_intf, "equalizer" );
+    vlc_bool_t b_enabled = GetFiltersStatus( p_intf, (char *)"equalizer" );
     vlc_object_t *p_object = vlc_object_find( p_intf,
                                 VLC_OBJECT_AOUT, FIND_ANYWHERE );
 
@@ -320,7 +319,7 @@ static vlc_bool_t GetFiltersStatus( intf_thread_t *p_intf,
 
 - (IBAction)enable:(id)sender
 {
-    ChangeFiltersString( VLCIntf, "equalizer", [sender state] );
+    ChangeFiltersString( VLCIntf, (char *)"equalizer", [sender state] );
 }
 
 - (IBAction)preampSliderUpdated:(id)sender