Commit 2633178f authored by David Fuhrmann's avatar David Fuhrmann

macosx: also use toggleMute for apple-script action

The previous code does not make sense as there is no unmute action.
parent fce950fc
......@@ -510,15 +510,6 @@ static VLCCoreInteraction *_o_sharedInstance = nil;
- (void)setMute:(BOOL)b_value
intf_thread_t *p_intf = VLCIntf;
if (!p_intf)
playlist_MuteSet(pl_Get(p_intf), b_value);
- (BOOL)mute
intf_thread_t *p_intf = VLCIntf;
......@@ -87,7 +87,7 @@
else if ([o_command isEqualToString:@"fullscreen"])
[[VLCCoreInteraction sharedInstance] toggleFullscreen];
else if ([o_command isEqualToString:@"mute"])
[[VLCCoreInteraction sharedInstance] setMute: YES];
[[VLCCoreInteraction sharedInstance] toggleMute];
else if ([o_command isEqualToString:@"volumeUp"])
[[VLCCoreInteraction sharedInstance] volumeUp];
else if ([o_command isEqualToString:@"volumeDown"])
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