Commit 6f50b2ed authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

MacOSX/Framework/VLCMediaPlayer: Publish -audio.

parent 59b00edf
...@@ -108,6 +108,8 @@ extern NSString * VLCMediaPlayerStateToString(VLCMediaPlayerState state); ...@@ -108,6 +108,8 @@ extern NSString * VLCMediaPlayerStateToString(VLCMediaPlayerState state);
@property float rate; @property float rate;
@property (readonly) VLCAudio * audio;
/* Video Information */ /* Video Information */
- (NSSize)videoSize; - (NSSize)videoSize;
- (BOOL)hasVideoOut; - (BOOL)hasVideoOut;
......
...@@ -236,6 +236,11 @@ static void HandleMediaInstanceStateChanged(const libvlc_event_t * event, void * ...@@ -236,6 +236,11 @@ static void HandleMediaInstanceStateChanged(const libvlc_event_t * event, void *
return (id)ret; return (id)ret;
} }
- (VLCAudio *)audio
{
return [VLCLibrary audio];
}
- (void)setVideoAspectRatio:(char *)value - (void)setVideoAspectRatio:(char *)value
{ {
libvlc_video_set_aspect_ratio( instance, value, NULL ); libvlc_video_set_aspect_ratio( instance, value, NULL );
......
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