Sound from both file and "virtual fs"

Member
Posts: 93
Joined: 2008.11
Post: #1
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

TapMania - iPhone StepMania // Human knowledge belongs to the world!
Quote this message in a reply
Member
Posts: 93
Joined: 2008.11
Post: #2
Looks like I found the answer: AudioFileOpenWithCallbacks.

Cheers!
Alex

TapMania - iPhone StepMania // Human knowledge belongs to the world!
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Virtual Joystick xctive 9 7,086 Apr 8, 2012 05:57 PM
Last Post: ThemsAllTook
  What file sound format, sound format and library do you use? riruilo 10 7,718 Dec 27, 2008 01:32 PM
Last Post: AnotherJake