Commit 448f14dd authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: completed audio effects panel implementation

parent 04d990b1
...@@ -55,6 +55,7 @@ Interfaces ...@@ -55,6 +55,7 @@ Interfaces
* Skins2: fullscreen controller support, relative placement support * Skins2: fullscreen controller support, relative placement support
and important cleanups and optimisations and important cleanups and optimisations
* ncurses: heavy refactor of the complete interface * ncurses: heavy refactor of the complete interface
* Mac OS X: new Audio Effects panel adding Compressor and Spatializer filters
* The rc and telnet lua interfaces were merged into a new "cli" interface * The rc and telnet lua interfaces were merged into a new "cli" interface
* removal of old telnet interface in favor of the new lua CLI * removal of old telnet interface in favor of the new lua CLI
* removal of http interface in favor of luahttp * removal of http interface in favor of luahttp
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
/* generic */ /* generic */
IBOutlet id o_tableView; IBOutlet id o_tableView;
IBOutlet id o_window; IBOutlet id o_window;
intf_thread_t *p_intf;
/* Equalizer */ /* Equalizer */
IBOutlet id o_eq_enable_ckb; IBOutlet id o_eq_enable_ckb;
...@@ -49,6 +50,7 @@ ...@@ -49,6 +50,7 @@
/* Compressor */ /* Compressor */
IBOutlet id o_comp_enable_ckb; IBOutlet id o_comp_enable_ckb;
IBOutlet id o_comp_reset_btn;
IBOutlet id o_comp_band1_sld; IBOutlet id o_comp_band1_sld;
IBOutlet id o_comp_band1_fld; IBOutlet id o_comp_band1_fld;
IBOutlet id o_comp_band1_lbl; IBOutlet id o_comp_band1_lbl;
...@@ -73,6 +75,7 @@ ...@@ -73,6 +75,7 @@
/* Spatializer */ /* Spatializer */
IBOutlet id o_spat_enable_ckb; IBOutlet id o_spat_enable_ckb;
IBOutlet id o_spat_reset_btn;
IBOutlet id o_spat_band1_sld; IBOutlet id o_spat_band1_sld;
IBOutlet id o_spat_band1_fld; IBOutlet id o_spat_band1_fld;
IBOutlet id o_spat_band1_lbl; IBOutlet id o_spat_band1_lbl;
...@@ -99,6 +102,8 @@ ...@@ -99,6 +102,8 @@
/* generic */ /* generic */
+ (VLCAudioEffects *)sharedInstance; + (VLCAudioEffects *)sharedInstance;
- (IBAction)toggleWindow:(id)sender; - (IBAction)toggleWindow:(id)sender;
- (void)setAudioFilter: (char *)psz_name on:(BOOL)b_on;
- (void)savePrefs;
/* Equalizer */ /* Equalizer */
- (void)setupEqualizer; - (void)setupEqualizer;
...@@ -112,4 +117,22 @@ ...@@ -112,4 +117,22 @@
- (IBAction)eq_preampSliderUpdated:(id)sender; - (IBAction)eq_preampSliderUpdated:(id)sender;
- (IBAction)eq_twopass:(id)sender; - (IBAction)eq_twopass:(id)sender;
/* Compressor */
- (void)resetCompressor;
- (IBAction)resetCompressorValues:(id)sender;
- (IBAction)comp_enable:(id)sender;
- (IBAction)comp_sliderUpdated:(id)sender;
/* Spatializer */
- (void)resetSpatializer;
- (IBAction)resetSpatializerValues:(id)sender;
- (IBAction)spat_enable:(id)sender;
- (IBAction)spat_sliderUpdated:(id)sender;
/* Filter */
- (void)resetAudioFilters;
- (IBAction)filter_enableHeadPhoneVirt:(id)sender;
- (IBAction)filter_enableVolumeNorm:(id)sender;
- (IBAction)filter_volNormSliderUpdated:(id)sender;
@end @end
This diff is collapsed.
...@@ -821,6 +821,7 @@ static VLCMain *_o_sharedMainInstance = nil; ...@@ -821,6 +821,7 @@ static VLCMain *_o_sharedMainInstance = nil;
/* save the prefs if they were changed in the extended panel */ /* save the prefs if they were changed in the extended panel */
if(o_extended && [o_extended configChanged]) if(o_extended && [o_extended configChanged])
[o_extended savePrefs]; [o_extended savePrefs];
[o_audioeffects savePrefs];
/* unsubscribe from the interactive dialogues */ /* unsubscribe from the interactive dialogues */
dialog_Unregister( p_intf ); dialog_Unregister( p_intf );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment