Commit a4753e35 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: re-enable AppleRemote support for 64bit builds

parent a9023f26
......@@ -332,11 +332,9 @@ static VLCMain *_o_sharedMainInstance = nil;
i_lastShownVolume = -1;
#ifndef __x86_64__
o_remote = [[AppleRemote alloc] init];
[o_remote setClickCountEnabledButtons: kRemoteButtonPlay];
[o_remote setDelegate: _o_sharedMainInstance];
#endif
o_eyetv = [[VLCEyeTVController alloc] init];
......@@ -999,16 +997,12 @@ static NSString * VLCToolbarMediaControl = @"VLCToolbarMediaControl";
- (void)applicationDidBecomeActive:(NSNotification *)aNotification
{
if( !p_intf ) return;
#ifndef __x86_64__
[o_remote startListening: self];
#endif
}
- (void)applicationDidResignActive:(NSNotification *)aNotification
{
if( !p_intf ) return;
#ifndef __x86_64__
[o_remote stopListening: self];
#endif
}
/* Triggered when the computer goes to sleep */
......
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