Answered
0
0

Hi,

I want to monitor FMOD Performance values, such as ‘how many channels are active’, ‘how many channels are virtualized’, ‘how much memory occupied by FMODStudio’, ‘How many streaming channels are playing’, ‘Buffer size’ and so on…

However, there’s only one stat command ‘STAT FMOD’, and I can’t understand what means ‘CPU Mixer’ and ‘CPU Studio’.

As for Unreal original audio system, there are some stats like below,
Stat AUDIO
Stat AudioThread Command
Stat Soundwaves
Stat Sounds
Stat Soundmixes
of course, Using FMODStudio, these stats are meaningless.

  • You must to post comments
Best Answer
1
0

There a few things that are easily accessible, similar to what is displayed in our Unity integration.

 FMOD_STUDIO_CPU_USAGE cpuUsage;
 studioSystem->getCPUUsage(&cpuUsage);

 int currentAlloc, maxAlloc;
 result = FMOD_Memory_GetStats(&currentAlloc, &maxAlloc, false);

 int realchannels, channels;
 lowlevel->getChannelsPlaying(&channels, &realchannels);

 FMOD_DSP_METERING_INFO metering;
 // attached to metering FMOD::DSP* (created around init)
 meteringDSP->getMeteringInfo(NULL, &metering);

We will look at adding this to the UE4 integration in the future.

  • Howu

    Thanks and I hope you add those to the UE4 integration soon.
    By the way, what means ‘CPU Studio’ And ‘CPU Mixer’ on STAT FMOD ?
    Their average and max values are percentage or not?

  • Cameron Baron

    Yes they are percentage of CPU time.
    CPU Studio is only from the studio thread and CPU Mixer is for the low level mixer thread.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.