Skip to content

Instantly share code, notes, and snippets.

@atomicbird
Created June 17, 2009 22:12
Show Gist options
  • Save atomicbird/131546 to your computer and use it in GitHub Desktop.
Save atomicbird/131546 to your computer and use it in GitHub Desktop.
// - (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