i got a new problem,
when i make a system.
And i set a channel group and a channel now i make the channel a group member of ithe channel group and add 14 dsps 1 pitch and 13 for equalizer params.
After adding these dsps to the channel group the cpu usage raises to 8-15%
(not static) and for every channel group i do it it raises by n-times 8-15% cpu usage.
After the third channel group its impossible to play a song.
Do i need 13 dsps for creating an equalizer?
what is the problem? is there a wrong way to initialize these dsps and add them to the channel?
Thanks in advance,
- jmh124 asked 11 years ago
i dont know what happend, but now its at 0% after startup..
but when i statr to play a track with enabled dsps (i got 3 systems with a groupchannel added 14 dsps to each, so 42 dsps)
the cpu usage in taskmanager raises by 20% per playing channel.
so no channel plays 0% 1: 20% 2: 40% 3: 60% and so on.
why is that?
help me out please,
ok whatever i dont know whats going on the first problem occurs again now.
As fat as i add the DSPs to the channel, the cpu usage raises to 20% per system and i have three systems so 60%.
I checked that even with the Fmod_System_CpuUsage and it says 20% when i add the dsps and 0% when i dont add them.
So there must be a problem or something im doing wrong.
(Again) i add them like this:
for i:=0 to 13 do
FMOD_System_createDSPByType(pl.system, FMOD_DSP_TYPE_PARAMEQ, pl.eq_band[i]);
FmodSys.result:= FMOD_System_addDSP(pl.system,pl.eq_band[i]); ERRCHECK(FmodSys.result);
FMOD_System_createDSPByType(pl.system, FMOD_DSP_TYPE_PITCHSHIFT, pl.eq_band); ERRCHECK(FmodSys.result); FmodSys.result:= FMOD_ChannelGroup_addDSP(pl.AllChannel,pl.eq_band); ERRCHECK(FmodSys.result);
i tried to change to system add but doesnt change anything at all if i use add to system or add to groupchannel.
Please help me on this.
Please login first to submit.