alexcrichton / AudioStreamer

A streaming audio player class (AudioStreamer) for Mac OS X and iPhone.
69 stars 22 forks source link

Can't get streamer to work... #38

Closed hipsterhatton closed 10 years ago

hipsterhatton commented 10 years ago

Hey Alex,

Having some problems getting the streamer to work (both the examples, and integrating into my own project).

I downloaded the project (after finding out about Matt's version becoming deprecated) but for some reason, both example apps, and the example code I added to my project don't seem to work. I turned the debugger on in the header file, and I receive the error "No audio data found".

Tried with 2 different URL's (sample ones I managed to find, both MP3): http://81310752d5730fb4ef3c-221b4998ec12974102282b6d4a8fafbe.r2.cf1.rackcdn.com/3rds.mp3 http://geekylemon.com/JungleBed.mp3

Both of which are valid URL links to MP3 files to stream, but still nothing.

Am I missing something here?

Best, Stephen

Bo98 commented 10 years ago

Seemed to be a regression that causes some files to not stream. The buffer was sometimes set to 0 size and thus did not find any audio data in the buffer. It's been fixed now. Thanks for reporting!