The below C# code should play a sound when it runs, but it doesn’t. Sound banks load fine, and I see the event list. Nothing happens when I start an event though. Help?
public static void Test()
{
FMOD.RESULT result7 = FMOD.Studio.System.create(out FMOD.Studio.System a);
a.getLowLevelSystem(out FMOD.System low);
FMOD.RESULT result11 = low.setSoftwareFormat(0, FMOD.SPEAKERMODE._7POINT1, 0);
FMOD.RESULT result6 = a.initialize(1, INITFLAGS.NORMAL, FMOD.INITFLAGS.NORMAL, IntPtr.Zero);
FMOD.RESULT result = a.loadBankFile(FileSystemManager.RootDirectory + "/Content/Banks/Master_Bank.bank", FMOD.Studio.LOAD_BANK_FLAGS.NORMAL, out Bank testBank);
FMOD.RESULT result10 = a.loadBankFile(FileSystemManager.RootDirectory + "/Content/Banks/Master_Bank.strings.bank", LOAD_BANK_FLAGS.NORMAL, out Bank bank);
FMOD.RESULT result9 = testBank.loadSampleData();
FMOD.RESULT result5 = testBank.getEventList(out EventDescription[] someArray);
//FMOD.RESULT result12 = someArray[0].setCallback(testmethod, EVENT_CALLBACK_TYPE.STARTED);
//FMOD.RESULT result8 = someArray[0].loadSampleData();
FMOD.RESULT result4 = someArray[0].createInstance(out EventInstance instance);
FMOD.RESULT result3 = instance.setVolume(1F);
FMOD.RESULT result2 = instance.start();
//FMOD.Studio.EVENT_CALLBACK
}