Browse Source

Fix previous commit.

Pierre d'Herbemont 17 years ago
parent
commit
7b9f9eb34d
2 changed files with 2 additions and 1 deletions
  1. 1 0
      Headers/Public/VLCMediaPlayer.h
  2. 1 1
      Sources/VLCMediaPlayer.m

+ 1 - 0
Headers/Public/VLCMediaPlayer.h

@@ -27,6 +27,7 @@
 #import "VLCVideoView.h"
 #import "VLCVideoLayer.h"
 #import "VLCTime.h"
+#import "VLCAudio.h"
 
 /* Notification Messages */
 extern NSString * VLCMediaPlayerTimeChanged;

+ 1 - 1
Sources/VLCMediaPlayer.m

@@ -238,7 +238,7 @@ static void HandleMediaInstanceStateChanged(const libvlc_event_t * event, void *
 
 - (VLCAudio *)audio
 {
-    return [VLCLibrary audio];
+    return [[VLCLibrary sharedLibrary] audio];
 }
 
 - (void)setVideoAspectRatio:(char *)value