Audiokinetic의 커뮤니티 Q&A는 사용자가 Wwise와 Strata 커뮤니티 내에서 서로 질문과 답변을 하는 포럼입니다. Audiokinetic의 기술 지원팀에게 문의하고 싶으신 경우 지원 티켓 페이지를 사용해주세요.

0 투표
Hello,

I'm working on a game project that plays music in background.

And, with CPU profiler, I noticed that WWise thread uses around 30% of cpu time of one of the cores.

( 30% sounds insane but the device has very limited CPU power.)

I wonder if there is any way to lower the CPU usage of WWise library.

I don't mind if lowering the CPU usage affects sound quality.

Thanks.
General Discussion Sugu L. (160 포인트) 로 부터

1 답변

0 투표

| And, with CPU profiler, I noticed that WWise thread uses around 30% of cpu time of one of the cores.

is this an actual cpu profiler looking at the time spent on core or the cpu value from the wwise authoring tool?

the value from the authoring tool is simply a measure of percentage of time spent computing the audio frame given the entire time that represents. for example if your frame size is 1024 and your samplerate is 48000Hz an entire frame of audio consists of 21.3ms of data, if wwise is using '30%' of this according to the authoring tool that just means that it took 6.4ms from when it started to compute the frame to when it finished ( this can include time for a bunch of stuff notably time spent off core! ). generally percentage of time on core is only useful given a target game frame rate and even then it can be misleading. consider the 45~ fps of wwise in the example earlier, if it does spend 6.4ms on core every 21.3ms for a 30fps game you could say that it spends about 20% of a core.

| I wonder if there is any way to lower the CPU usage of WWise library.

the answer depends on what your problem area is, do you have too many voices? too many expensive effects? too much decoding work to do?

Dan M. (380 포인트) 로 부터
...