Closed rikola closed 8 years ago
One possible workaround would be to quickly copy the iTunes library URL to a file that you know EZAudioFile can work with. Here is a gist that provides a class with a single method to do just that:
https://gist.github.com/abeldomingues/fe8fa797fd55603f2f4a
I guess it would be preferable to be able to stream these MPMediaItems directly, but this should be a good enough workaround for now if it works. Also, change the audio format on line 50 to something more familiar (MP3/M4A) if it has trouble reading the PCM file, though I can't foresee that being a big issue seeing as PCM is supposedly pretty great for reading audio data.
Thanks. This looks like it will do the trick.
I'm still not sure why the ipod URL prefix breaks EZAudioFile though. Strange stuff.
@rikola I am also facing same issue in objective c, How you resolve thjis issue Please help me
Hey friends, Anybody got hold of this issue. Still get this error
Error: Failed to dispose of ext audio file (-50) error, and suspect this happens if the playing file is recorded with very small interval of 3-4 sec.
I can't create an
EZAudioFile
from anMPMediaItem
URL in my app. When I try to do it I get this errorError: Failed to dispose of ext audio file (-50)
.Do you know how to get it to work with iTunes library URL's?