Version

menu_open
Attention : vous avez été redirigé vers la plus récente documentation correspondant à votre version générale ( 2023.1.3.8471 ). Si vous souhaitez accéder à la documentation de votre version précise, veuillez télécharger la documentation hors ligne depuis l'Audiokinetic Launcher et sélectionner l'option de documentation Offline dans l'application de création Wwise.
Wwise SDK 2023.1.3
AK.Wwise::Plugin::V1::ObjectMedia Class Reference

More...

#include <HostObjectMedia.h>

Inheritance diagram for AK.Wwise::Plugin::V1::ObjectMedia:
AK.Wwise::Plugin::CBaseInstanceGlue< CHostObjectMedia > AK.Wwise::Plugin::CBaseInterfaceGlue< CHostObjectMedia >

Public Types

enum  : InterfaceTypeValue { k_interfaceType = AK_WWISE_PLUGIN_INTERFACE_TYPE_HOST_OBJECT_MEDIA }
 The interface type, as requested by this plug-in. More...
 
enum  : InterfaceVersion { k_interfaceVersion = 1 }
 The interface version, as requested by this plug-in. More...
 
using Interface = CHostObjectMedia
 
- Public Types inherited from AK.Wwise::Plugin::CBaseInstanceGlue< CHostObjectMedia >
using Instance = typename CInterface::Instance
 
- Public Types inherited from AK.Wwise::Plugin::CBaseInterfaceGlue< CHostObjectMedia >
using GluedInterface = CHostObjectMedia
 

Public Member Functions

bool SetMediaSource (const AkOSChar *in_pszFilePathToImport, unsigned int in_Index, bool in_bReplace)
 Requests to set the specified file as a data input file. More...
 
void RemoveMediaSource (unsigned int in_Index)
 Requests to remove the specified index file as data input file. More...
 
unsigned int GetMediaSourceCount () const
 Retrieve the number of media source indexes. More...
 
unsigned int GetMediaSourceFileName (AkOSChar *out_pszFileName, unsigned int in_uiBufferSize, unsigned int in_Index) const
 Retrieve the file name of the source plug-in data at the specified index, as provided in SetMediaSource. More...
 
unsigned int GetMediaSourceOriginalFilePath (AkOSChar *out_pszFilePath, unsigned int in_uiBufferSize, unsigned int in_Index) const
 Retrieve the full file path of the source plug-in data at the specified index. More...
 
unsigned int GetMediaSourceConvertedFilePath (AkOSChar *out_pszFilePath, unsigned int in_uiBufferSize, const GUID &in_guidPlatform, unsigned int in_Index) const
 Retrieve the full file path of the converted plug-in data at the specified index. More...
 
void InvalidateMediaSource (unsigned int in_Index)
 Request Wwise to perform any required conversion on the data. More...
 
unsigned int GetOriginalDirectory (AkOSChar *out_pszDirectory, unsigned int in_uiBufferSize) const
 Obtain the Original directory for the plug-in. More...
 
unsigned int GetConvertedDirectory (AkOSChar *out_pszDirectory, unsigned int in_uiBufferSize, const GUID &in_guidPlatform) const
 Obtain the Converted directory for the plug-in and platform. More...
 

Additional Inherited Members

- Static Public Attributes inherited from AK.Wwise::Plugin::CBaseInterfaceGlue< CHostObjectMedia >
static GluedInterfaceg_cinterface
 The unique instance of the CInterface interface. Defined at nullptr first, overridden by the Host once loaded. More...
 

Detailed Description

Plug-in object media interface. Can be used to normalize media file handling inside the project.

Definition at line 298 of file HostObjectMedia.h.


Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise