バージョン

menu_open

◆ ConvertFile

AK::Wwise::Plugin::ConversionResult(* ak_wwise_plugin_media_converter_v1::ConvertFile) (const struct ak_wwise_plugin_media_converter_instance_v1 *in_this, const GUID *in_guidPlatform, const BasePlatformID *in_basePlatform, const AkOSChar *in_szSourceFile, const AkOSChar *in_szDestFile, AkUInt32 in_uSampleRate, AkUInt32 in_uBlockLength, AK::Wwise::Plugin::IProgress *in_pProgress, AK::Wwise::Plugin::IWriteString *io_pError)

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_thisCurrent instance of this interface.
[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.

MediaConverter.h77 行目に定義があります。

参照元 AK.Wwise::Plugin::V1::MediaConverter::Interface::Interface().


このページはお役に立ちましたか?

サポートは必要ですか?

ご質問や問題、ご不明点はございますか?お気軽にお問い合わせください。

サポートページをご確認ください

あなたのプロジェクトについて教えてください。ご不明な点はありませんか。

プロジェクトを登録していただくことで、ご利用開始のサポートをいたします。

Wwiseからはじめよう