[vlc-devel] commit: macosx/framework: VLCLibrary initWithAudio. (Pierre d'Herbemont )

git version control git at videolan.org
Tue Feb 2 14:45:36 CET 2010


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Tue Feb  2 14:45:17 2010 +0100| [540aae331a9515cc862a6de4a1279210a3c3a716] | committer: Pierre d'Herbemont 

macosx/framework: VLCLibrary initWithAudio.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=540aae331a9515cc862a6de4a1279210a3c3a716
---

 projects/macosx/framework/Sources/VLCLibrary.m |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/projects/macosx/framework/Sources/VLCLibrary.m b/projects/macosx/framework/Sources/VLCLibrary.m
index ac699e0..1595dda 100644
--- a/projects/macosx/framework/Sources/VLCLibrary.m
+++ b/projects/macosx/framework/Sources/VLCLibrary.m
@@ -95,9 +95,6 @@ void __catch_exception( void * e, const char * function, const char * file, int
         }
         instance = (void *)libvlc_new( sizeof(lib_vlc_params)/sizeof(lib_vlc_params[0]), lib_vlc_params);
         NSAssert(instance, @"libvlc failed to initialize");
-
-        // Assignment unneeded, as the audio unit will do it for us
-        /*audio = */ [[VLCAudio alloc] initWithLibrary:self];
     }
     return self;
 }
@@ -121,11 +118,9 @@ void __catch_exception( void * e, const char * function, const char * file, int
         sharedLibrary = nil;
 
     instance = nil;
-    [audio release];
     [super dealloc];
 }
 
- at synthesize audio;
 @end
 
 @implementation VLCLibrary (VLCLibVLCBridging)
@@ -140,10 +135,3 @@ void __catch_exception( void * e, const char * function, const char * file, int
 }
 @end
 
- at implementation VLCLibrary (VLCAudioBridging)
-- (void)setAudio:(VLCAudio *)value
-{
-    if (!audio)
-        audio = value;
-}
- at end




More information about the vlc-devel mailing list