版本

menu_open
Wwise SDK 2023.1.3

◆ ConvertFile()

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

Converts a file.

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

参数
[in]in_guidPlatformThe unique ID of the custom platform being converted for.
[in]in_basePlatformThe unique ID of the base platform being converted for.
[in]in_szSourceFileSource file to convert data from.
[in]in_szDestFileDestination file, must be created by the plug-in.
[in]in_uSampleRateThe target sample rate for the converted file, passing 0 will default to the platform default.
[in]in_uBlockLengthThe block length, passing 0 will default to the platform default.
[in]in_pProgressOptional Progress Bar controller.
io_pErrorOptional error string that can be displayed if ConversionResult is not successful.
返回
Whether the conversion was successful or not.

此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅