}
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;
}
sharedLibrary = nil;
instance = nil;
- [audio release];
[super dealloc];
}
-@synthesize audio;
@end
@implementation VLCLibrary (VLCLibVLCBridging)
}
@end
-@implementation VLCLibrary (VLCAudioBridging)
-- (void)setAudio:(VLCAudio *)value
-{
- if (!audio)
- audio = value;
-}
-@end