Version

menu_open
Wwise SDK 2022.1.12

◆ ConvertFile()

virtual ConversionResult AK.Wwise::IPluginMediaConverter::ConvertFile ( const GUID in_guidPlatform,
const BasePlatformID in_basePlatform,
LPCWSTR  in_szSourceFile,
LPCWSTR  in_szDestFile,
AkUInt32  in_uSampleRate,
AkUInt32  in_uBlockLength,
AK::Wwise::IProgress in_pProgress,
IWriteString io_pError 
)
pure virtual

If the conversion failed the function is responsible of deleting any files that may have been created, even the destination file in case of error. If the function return false we will use the string put in io_pError to display an error message.

Parameters
in_guidPlatformThe unique ID of the custom platform being converted for.
in_basePlatformThe unique ID of the base platform being converted for.
in_szSourceFileSource File to convert data from.
in_szDestFileDestinationFile, must be created by the plug-in.
in_uSampleRateThe target sample rate for the converted file, passing 0 will default to the platform default
in_uBlockLengthThe block length, passing 0 will default to the platform default
in_pProgressOptional Progress Bar controller.
io_pErrorOptional error string that can be displayed if ConversionResult is not successful

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