I’ve been published! A while back I wrote a chapter for the Apress book iPhone Cool Projects, and it’s “on the shelves” NOW. The chapter is about, of course, streaming audio on the iPhone. It’s a pretty neat book that consists of a chapter each for seven notable iPhone apps. The authors are a wicked smart crew, I’m not really sure how I got included. Check out the book!
The authoring process was interesting and fun, a great learning process, and more work than I expected. Every day I gain more respect for people who do a lot of writing, blogging or booking. Where do they find the time? And how the heck do they generate well-structured prose so quickly? It ain’t easy, believe me.
Anyway, if you’ve bought the book already, thanks! And if you buy it in the future, thanks! Hope it’s a good read for you.
Fantastic news! Congratulations, Neil! I have yet to get an iPhone (ahem), but I look forward to checking this out. Hope that all is well with you and yours in the meantime.
Hi Neil, I have the book and just gone through all the code, and it works well in most cases. I have one case of where a wifi network at a uni throttles the connection if they are not part of the uni, and this is where the audio fails, but other then that it works nicely. I am now trying to extend it to play streaming playlists. Thanks for the kick-start.
Hello Neil,
I just bought iPhone cool projects, for your article.
It’s really useful, thanks a lot. But I found a problem.
I unable to know when a song has been finished to play, the method audioQueuePlaybackIsComplete is never called.
Do you have an idea ?
Thanks again.
Hi Thierry, there’s a bug in the code that went out with the book. The fix requires a small modification to -[AudioPlayer audioRequestDidFinish:] so that it calls [queue endOfStream]. I’ve put an fixed version of the source here: http://neilmix.com/book/AudioPlayer.zip