So I’ve been using FMOD Studio for a long time, but for a new game that I am working on I want to use the core API. I have been having some trouble being able to play the first sound. My code compiles fine, but I don’t hear anything and can’t seem to find out where it’s going wrong.
Could anyone tell me what I am doing wrong / not understanding?
var corSystem = FMODUnity.RuntimeManager.CoreSystem; uint version; corSystem.getVersion(out version); Sound sound; corSystem.createSound("filename.wav", MODE.DEFAULT, out sound); ChannelGroup channelgroup; corSystem.createChannelGroup("master", out channelgroup); Channel channel; corSystem.playSound(sound, channelgroup, false, out channel);