App Size limit of 10 megs
Yeah I have audacity. Its not compressing it on my end that im wondering about. Its when I supply the compressed audio file i have to uncompress it back to wav or aif on the user device so that i can play it at the same time as the musiic. Thats the problem part.
Right, I'd use ogg/vorbis to decompress to pcm data in memory on load and then pass that to OpenAL.
So, it turns out that my suggestion about gzipping app resources isn't really useful: The .ipa files that iTunes distributes are already zipped, so your uncompressed app might be significantly larger than 10MB, and yet still fall under this limit.
AnotherJake Wrote:Right, I'd use ogg/vorbis to decompress to pcm data in memory on load and then pass that to OpenAL.
Any suggestions on how to do this? Is the site:
http://xiph.org/vorbis/doc/
the best place to start?
Madrayken Wrote:Any suggestions on how to do this? Is the site:
http://xiph.org/vorbis/doc/
the best place to start?
Yeah, the official docs are always a good place to start. You might find some sample code from some of the members here, particularly if you look into old contest code. I seem to recall that ThemsAllTook's WaterTower decompresses everything from ogg and passes it to OpenAL, so that might be worth tracking down.
AnotherJake Wrote:I seem to recall that ThemsAllTook's WaterTower decompresses everything from ogg and passes it to OpenAL, so that might be worth tracking down.
Water Tower 3D does. Most of the code's in pretty bad shape, but maybe you can pull something useful out of the audio section... http://sacredsoftware.net/software/water...rce.tar.gz
Thankyou, Thems. I'll have a peek.
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| 20mb app store limit | Rasterman | 5 | 3,771 |
Apr 23, 2010 03:29 AM Last Post: Zwilnik |
|

