Created
June 17, 2009 22:12
-
-
Save atomicbird/131546 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// - (id)initWithContentsOfURL:(NSURL *)url error:(NSError **)outError; | |
NSError *error; | |
AVAudioPlayer *player = [[AVAudioPlayer alloc] initWithContentsOfURL:wavURL error:&error]; | |
// Warning: passing argument 2 of 'initWithContentsOfURL:error:' from distinct Objective-C type |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment