SimpleFMOD 1.01 now available
SimpleFMOD 1.01 is now available.
Migrating from an earlier version
Simply run the new installer. Your SimpleFMOD installation will be upgraded automatically to the latest version.
- Breaking change: The source code to the main library now uses C++11 range-based for loop. It requires Visual Studio 2012 RTM or later to compile. Note the header files are backwards compatible with C++03 so you can still develop applications using SimpleFMOD with Visual Studio 2010. Visual Studio 2012 is only required to compile the library itself (pre-compiled binaries are included in the install package).
Improvements and bug fixes
- You can now create SimpleFMOD-managed sounds with customized input data and FMOD_CREATESOUNDEXINFO structures. Use SimpleFMOD::LoadSong(const char *data, FMOD::ChannelGroup *channelGroup, FMOD_MODE mode, FMOD_CREATESOUNDEXINFO info) to create a sound, returned in a Song object. This is intended to be used for loading sounds directly from memory, or for programmatically-generated audio from the pcmreadcallback callback.
- You can now retrieve the raw pointer to a sound (FMOD::Sound *) with Song::Get() or SoundEffect::Get(), to enable behaviours not supported by SimpleFMOD directly.
New example applications:
- soundgenerator shows how to create an audio buffer which is filled in real-time by a callback that generates audio programmatically. The example shows how to produce sine waves, sawtooth waves, square waves and white noise (static), how to change the type of sound being generated on the fly and how to use a class member as an FMOD callback function (see Cutting Your Teeth on FMOD Part 5: Real-time streaming of programmatically-generated audio)
- soundgeneratorminimal is a bare-bones implementation of a sound generator, using no classes and a single sound type (see Cutting Your Teeth on FMOD Part 5: Real-time streaming of programmatically-generated audio)
Download link (always use the latest version)