Version

menu_open

◆ GetMediaSourceOriginalFilePath

unsigned int(* ak_wwise_plugin_host_object_media_v1::GetMediaSourceOriginalFilePath) (const struct ak_wwise_plugin_host_object_media_instance_v1 *in_this, AkOSChar *out_pszFilePath, unsigned int in_uiBufferSize, unsigned int in_Index)

Retrieve the full file path of the source plug-in data at the specified index.

This is the path name of the data file, as kept in the project directory.

Warning: If you do not provide a buffer big enough to write the full string, the function will fail and return 0. Make sure to use a buffer big enough to write the entire string, such as your platform's max path size.
Parameters
[in] in_this Current instance of this interface.
[out] out_pszFilePath Buffer that will contain the original file path.
[in] in_uiBufferSize Size of the provided string buffer.
[in] in_Index Media source index to query.
Returns
Number of characters written to the buffer. 0 means no file, or failure.

Definition at line 155 of file HostObjectMedia.h.

Referenced by AK.Wwise::Plugin::V1::ObjectMedia::GetMediaSourceOriginalFilePath().


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