iphone - AVAudioPlayer initialization: error code -50 -


I recently went into a problem that could not be discussed anywhere on the Internet - I started a AVAudioPlayer To run an audio file, and to get the following error:

  error domain = NSOSStatusErrorDomain code = -50 "operation can not be completed. (OSStatus Error-50.)  

As it is detected, I create an init method to create my NSURL mistake The resulting

NS URL object is not empty.

"OSStatus error - 50 "means paramErr , an old style Mac error code that shows bad parameters.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

jquery - SimpleModal Confirm fails to submit form -

php - Multiple Select with Explode: only returns the word "Array" -