Topic: iPhone Port of Cog

Has there been any discussion of porting cog to the iPhone with the newly release SDK. From my understanding, the foundation of the sdk is xCode, which would make a iPhone version possible.

I am thinking of giving this a try to get my head wrapped around the iPhone sdk. Is this insane?

Great work on cog, it opens the flac world on my mac.

Thanks,
Greg

Re: iPhone Port of Cog

I would contact Vincent in your case, but i guess if you are able to port it and pay the 99 $ to be able to add your port to the apple store many iphone-users will be happy.

on the other hand: arent iphone users supposed to be doomed to itunes anyway ?
Not sure about thats, just guessing


greetings
fidel

Re: iPhone Port of Cog

They are somewhat doomed to iTunes, but not completely. I doubt Apple would stop music apps from going on the App Store. However, I'm not sure if something like Cog would be needed since iTunes is more of a stripped down version and it's likely that someone would port perian to it to have all the happy funtime codecs (Assuming it uses the Quicktime API, which it may not...).

Also, there are some massive differences when programming for the iPhone and you would basically be rewriting a good chunk of it from scratch. For one, the UI needs to be completely redone because those aren't compatible at all. Secondly, I doubt the audio interfaces are the same, though I do believe the iPhone supports AudioQueue, so maybe the core playback framework could be shared.

Let me know if you want to take it up though, I'd be happy to add a branch to SVN for you to work off. It'd also give me a really good excuse to get one smile

Re: iPhone Port of Cog

I will do some more investigating. I am not sured i am skilled enough to pull it off, but i am willing to try. Based on the hackery it takes to get flac, ogg ect codecs running on itunes and since you do not have access to the ipod functionality through the sdk, i think there might be a place for an alternative codec player.

I'll do some more research and if i want to dive in i'll contact you guys to setup a branch.

Thanks,
Greg

Re: iPhone Port of Cog

Sounds good!

Re: iPhone Port of Cog

Re: iPhone Port of Cog

Yeah, the iPhone's closedness is certainly a bummer. I'd be more inclined to get one if this wasn't the case. I would hope that Apple would not strike down any application just because it transfers files, since they weren't explicitly targeted in the developer agreement, but who knows.

Re: iPhone Port of Cog

Unfortunately for me, the closed-ness of the iPhone is the single biggest reason I bought a Treo.

Give it a year or two though. Who knows?