Hey guys. I’m working on a project where I have to output large numbers of sounds at once. I attempted to do this by setting up tons of channels in fmod ex but unsurprisingly this leads to massive degradation of the sound. I have an m-audio firewire device that has for separate stereo output channels and I was wondering if there was a way to set up fmod ex to target multiple sound output devices ( the different channels on my firewire box ).
(I can select different channels in my system preferences, and fmod picks whichever one I had selected.. basically im wondering if there is a way i can do this through code at runtime)
I hope that made sense!
thanks in advance!
- leavermentality asked 10 years ago
You can call FMOD_GetNumDrivers to get the number of devices on your machine, then you can call FMOD_GetDriverName on each of the drivers found.
Call FMOD_SetDriver and set it to the driver index you want (ranges from 0 to number of drivers – 1) then initialize FMOD. I believe there is an example in the FMOD package that shows how to do this (and even play multiple sounds thru different devices at the same time)
- nci answered 10 years ago
Please login first to submit.