Update fmod to 0.2.0.22 (CLI Preparation)

This commit is contained in:
VaDiM
2023-01-27 12:35:21 +03:00
parent a96d1a5d5d
commit 39490d4e03
9 changed files with 2555 additions and 4080 deletions

View File

@ -14,11 +14,8 @@ namespace AssetStudio
m_AudioClip = audioClip;
}
public byte[] ConvertToWav()
public byte[] ConvertToWav(byte[] m_AudioData)
{
var m_AudioData = m_AudioClip.m_AudioData.GetData();
if (m_AudioData == null || m_AudioData.Length == 0)
return null;
var exinfo = new CREATESOUNDEXINFO();
var result = Factory.System_Create(out var system);
if (result != RESULT.OK)

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,10 +1,13 @@
/* =================================================================================================== */
/* FMOD Studio - Error string header file. Copyright (c), Firelight Technologies Pty, Ltd. 2004-2016. */
/* */
/* Use this header if you want to store or display a string version / english explanation of */
/* the FMOD error codes. */
/* */
/* =================================================================================================== */
/* ============================================================================================== */
/* FMOD Core / Studio API - Error string header file. */
/* Copyright (c), Firelight Technologies Pty, Ltd. 2004-2020. */
/* */
/* Use this header if you want to store or display a string version / english explanation */
/* of the FMOD error codes. */
/* */
/* For more detail visit: */
/* https://fmod.com/resources/documentation-api?version=2.0&page=core-api-common.html#fmod_result */
/* =============================================================================================== */
namespace FMOD
{