0
0

Hello, I use fmod library my game project

i wonder how to use dsp network

if I add serveral dsp to a channelgroup, I can`t find out correctly value that added dsp count

How can I get a correct count value?

  • You must to post comments
0
0

Hi kimdonghyuck, welcome to the FMOD forum!

Do you want to work out how many DSPs are connected to a channelgroup? To do this you would need to use ChannelGroup::getDSPHead. The ‘head’ is at the end of the effects so we need to traverse backwards (following inputs) until we reach a child channelgroup’s head. To get an input you use DSP::getInput which returns a DSPConnection. The use DSPConnection::getInput to get the next DSP. Stop counting once you reach a child’s channel group head (or a DSP with multiple inputs).

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.