ap4y / OrigamiEngine

Lightweight audio engine for iOS and OSX with flac, cue, mp3, m4a, m3u support.
http://ap4y.github.com/OrigamiEngine/
MIT License
545 stars 117 forks source link

Particular files crashes in http streaming #10

Closed masterkain closed 11 years ago

masterkain commented 11 years ago

I'm testing some remote media files and the first one I tried (m4a) crashed on metadata:

-[__NSCFDictionary bytes]: unrecognized selector sent to instance 0x1eb1a230

#4  0x3286ed8c in +[NSData(NSData) dataWithData:] ()
#5  0x00086aca in -[CoreAudioDecoder readInfoFromExtAudioFileRef] at /Users/kain/src/Myproj/Pods/OrigamiEngine/OrigamiEngine/Plugins/CoreAudioDecoder.m:195
#6  0x0008669e in -[CoreAudioDecoder open:] at /Users/kain/src/Myproj/Pods/OrigamiEngine/OrigamiEngine/Plugins/CoreAudioDecoder.m:119
#7  0x000836a8 in -[ORGMInputUnit openWithUrl:] at /Users/kain/src/Myproj/Pods/OrigamiEngine/OrigamiEngine/ORGMInputUnit.m:69
#8  0x00082a34 in __39-[ORGMEngine setNextUrl:withDataFlush:]_block_invoke at /Users/kain/src/Myproj/Pods/OrigamiEngine/OrigamiEngine/ORGMEngine.m:156
#9  0x3a0b2792 in _dispatch_call_block_and_release ()

We can agree to send you over the file in private, contact me on Twitter @masterkain if anything.

ap4y commented 11 years ago

I will appreciate if you will send me link or mp3 to lod at pisem dot net, I will investigate this issues when I have a time. Thanks!

ap4y commented 11 years ago

Sorry that It took a bit longer time, but this issue should be resolved now, I was able to play your file from dropbox. More info in #13. Thanks again for reporting this issue.