Browse Source

playback controller: tvOS compilation fix

Felix Paul Kühne 9 years ago
parent
commit
384d26df4f
1 changed files with 5 additions and 1 deletions
  1. 5 1
      Sources/VLCPlaybackController.m

+ 5 - 1
Sources/VLCPlaybackController.m

@@ -38,7 +38,11 @@ NSString *const VLCPlaybackControllerPlaybackMetadataDidChange = @"VLCPlaybackCo
 NSString *const VLCPlaybackControllerPlaybackDidFail = @"VLCPlaybackControllerPlaybackDidFail";
 NSString *const VLCPlaybackControllerPlaybackPositionUpdated = @"VLCPlaybackControllerPlaybackPositionUpdated";
 
-@interface VLCPlaybackController () <VLCMediaPlayerDelegate, VLCMediaDelegate, AVAudioSessionDelegate>
+@interface VLCPlaybackController () <VLCMediaPlayerDelegate,
+#if TARGET_OS_IOS
+AVAudioSessionDelegate,
+#endif
+VLCMediaDelegate>
 {
     BOOL _playerIsSetup;
     BOOL _playbackFailed;