Sound from both file and "virtual fs"
Hi guys,
In my game I have to play sounds (different types) from both the filesystem (can use AudioFileOpenURL to handle formats) and an virtual filesystem - uncompressed zip archive. I can get the FILE* and offset/size inside the zip but how can I use that together with Audio queue services?
Is there any easier way other than determining the audio format manually and then using the Audio queue services?
TIA,
Alex
In my game I have to play sounds (different types) from both the filesystem (can use AudioFileOpenURL to handle formats) and an virtual filesystem - uncompressed zip archive. I can get the FILE* and offset/size inside the zip but how can I use that together with Audio queue services?
Is there any easier way other than determining the audio format manually and then using the Audio queue services?
TIA,
Alex
TapMania - iPhone StepMania // Human knowledge belongs to the world!
Possibly Related Threads...
Thread: | Author | Replies: | Views: | Last Post | |
Virtual Joystick | xctive | 9 | 13,849 |
Apr 8, 2012 05:57 PM Last Post: ThemsAllTook |
|
What file sound format, sound format and library do you use? | riruilo | 10 | 11,499 |
Dec 27, 2008 01:32 PM Last Post: AnotherJake |