版本

menu_open
Wwise SDK 2018.1.11

◆ GetBufferStatusForPinnedEvent() [1/2]

AKRESULT __cdecl AK::SoundEngine::GetBufferStatusForPinnedEvent ( AkUniqueID  in_eventID,
AkReal32 out_fPercentBuffered,
bool &  out_bCachePinnedMemoryFull 
)

Returns information about an Event that was requested to be pinned into cache via AK::SoundEngine::PinEventInStreamCache(). Retrieves the smallest buffer fill-percentage for each file referenced by the event, and whether the cache-pinned memory limit is preventing any of the files from filling up their buffer.

备注
To set the limit for the maximum number of bytes that can be pinned to cache, see AkDeviceSettings
参见
参数
in_eventID Unique ID of the event
out_fPercentBuffered Fill-percentage (out of 100) of requested buffer size for least buffered file in the event.
out_bCachePinnedMemoryFull True if at least one file can not complete buffering because the cache-pinned memory limit would be exceeded.

此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅