Jump to content
  • Advertisement
Sign in to follow this  
gmo

FMOD build sound into exe

This topic is 3626 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I can't seem to find information on how to build sound files into resources that work with FMOD's createSound(). I have it working where it loads the sound file at runtime, but as the title states, I want it compiled into the executable. If anyone has any experience with this, I'd appreciate being pointed in the right direction.

Share this post


Link to post
Share on other sites
Advertisement
Hi, I believe you must provide FMOD with callbacks for a custom file system implementation, which in this case reads from resources inside your exe. For FMOD EX, this is done with System::setFileSystem(). See the FMOD API documentation for specifics; you have to provide file open, close, read and seek functions.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!