Version

menu_open
Wwise SDK 2021.1.14

◆ GetMediaSourceOriginalFilePath()

unsigned int AK.Wwise::Plugin::V1::ObjectMedia::GetMediaSourceOriginalFilePath ( AkOSChar out_pszFilePath,
unsigned int  in_uiBufferSize,
unsigned int  in_Index 
) const
inline

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
[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 422 of file HostObjectMedia.h.

References AK.Wwise::Plugin::CBaseInterfaceGlue< CHostObjectMedia >::g_cinterface, and ak_wwise_plugin_host_object_media_v1::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