Version

menu_open
Wwise SDK 2024.1.0
ak.wwise.core.profiler.getLoadedMedia

Retrieves the loaded media at a specific profiler capture time. This data can also be found in the Advanced Profiler, under the Loaded Media tab. To ensure the Loaded Media data is received, refer to ak.wwise.core.profiler.enableProfilerData.

Arguments

Name Type Description
time * one of: Time in milliseconds to query for media, or a Time Cursor from which to acquire the time. The User Time Cursor is the one that can be manipulated by the user, while the Capture Time Cursor represents the latest time of the current capture.
integer Range: [0,*]
string Identify one of the global profiler cursors. Possible values:
  • user
  • capture

(Required *)

Arguments Schema

Result

Name Type Description
return * array Array of Loaded Media.
return [...] object Information about a media file loaded into memory as a result of the PrepareEvent() and PrepareGameSyncs() functions.
return[...].mediaId * integer The short ID of the media file
return[...].fileName * string The name of the media file.
return[...].format * string The audio format of the media file.
return[...].size * integer The size (in bytes) of the media file.
return[...].soundBank * string The name of the SoundBank that contains the media file.

(Required *)

Result Schema

See Also

Examples

Refer to Using the Wwise Authoring API (WAAPI) for more information about Wwise Authoring API.


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise