예제 #1
0
 public RESULT getUserProperty(string name, out USER_PROPERTY property)
 {
     using (StringHelper.ThreadSafeEncoding threadSafeEncoding = StringHelper.GetFreeHelper())
     {
         return(FMOD_Studio_EventDescription_GetUserProperty(handle, threadSafeEncoding.byteFromStringUTF8(name), out property));
     }
 }
 public RESULT setBankPath(string bankPath)
 {
     using (StringHelper.ThreadSafeEncoding threadSafeEncoding = StringHelper.GetFreeHelper())
     {
         return(FMOD_Studio_CommandReplay_SetBankPath(handle, threadSafeEncoding.byteFromStringUTF8(bankPath)));
     }
 }
예제 #3
0
 public static RESULT ParseID(string idString, out Guid id)
 {
     using (StringHelper.ThreadSafeEncoding threadSafeEncoding = StringHelper.GetFreeHelper())
     {
         return(FMOD_Studio_ParseID(threadSafeEncoding.byteFromStringUTF8(idString), out id));
     }
 }
예제 #4
0
 public RESULT getParameter(string name, out PARAMETER_DESCRIPTION parameter)
 {
     using (StringHelper.ThreadSafeEncoding threadSafeEncoding = StringHelper.GetFreeHelper())
     {
         return(FMOD_Studio_EventDescription_GetParameter(handle, threadSafeEncoding.byteFromStringUTF8(name), out parameter));
     }
 }
예제 #5
0
 public RESULT getParameter(string name, out ParameterInstance instance)
 {
     using (StringHelper.ThreadSafeEncoding threadSafeEncoding = StringHelper.GetFreeHelper())
     {
         return(FMOD_Studio_EventInstance_GetParameter(handle, threadSafeEncoding.byteFromStringUTF8(name), out instance.handle));
     }
 }
예제 #6
0
 public RESULT setParameterValue(string name, float value)
 {
     using (StringHelper.ThreadSafeEncoding threadSafeEncoding = StringHelper.GetFreeHelper())
     {
         return(FMOD_Studio_EventInstance_SetParameterValue(handle, threadSafeEncoding.byteFromStringUTF8(name), value));
     }
 }
 public RESULT getBank(string path, out Bank bank)
 {
     using (StringHelper.ThreadSafeEncoding threadSafeEncoding = StringHelper.GetFreeHelper())
     {
         return(FMOD_Studio_System_GetBank(handle, threadSafeEncoding.byteFromStringUTF8(path), out bank.handle));
     }
 }
 public RESULT getSoundInfo(string key, out SOUND_INFO info)
 {
     using (StringHelper.ThreadSafeEncoding threadSafeEncoding = StringHelper.GetFreeHelper())
     {
         return(FMOD_Studio_System_GetSoundInfo(handle, threadSafeEncoding.byteFromStringUTF8(key), out info));
     }
 }
 public RESULT getEvent(string path, out EventDescription _event)
 {
     using (StringHelper.ThreadSafeEncoding threadSafeEncoding = StringHelper.GetFreeHelper())
     {
         return(FMOD_Studio_System_GetEvent(handle, threadSafeEncoding.byteFromStringUTF8(path), out _event.handle));
     }
 }
 public RESULT loadCommandReplay(string path, COMMANDREPLAY_FLAGS flags, out CommandReplay replay)
 {
     using (StringHelper.ThreadSafeEncoding threadSafeEncoding = StringHelper.GetFreeHelper())
     {
         return(FMOD_Studio_System_LoadCommandReplay(handle, threadSafeEncoding.byteFromStringUTF8(path), flags, out replay.handle));
     }
 }
 public RESULT startCommandCapture(string path, COMMANDCAPTURE_FLAGS flags)
 {
     using (StringHelper.ThreadSafeEncoding threadSafeEncoding = StringHelper.GetFreeHelper())
     {
         return(FMOD_Studio_System_StartCommandCapture(handle, threadSafeEncoding.byteFromStringUTF8(path), flags));
     }
 }
 public RESULT loadBankFile(string name, LOAD_BANK_FLAGS flags, out Bank bank)
 {
     using (StringHelper.ThreadSafeEncoding threadSafeEncoding = StringHelper.GetFreeHelper())
     {
         return(FMOD_Studio_System_LoadBankFile(handle, threadSafeEncoding.byteFromStringUTF8(name), flags, out bank.handle));
     }
 }
 public RESULT lookupID(string path, out Guid guid)
 {
     using (StringHelper.ThreadSafeEncoding threadSafeEncoding = StringHelper.GetFreeHelper())
     {
         return(FMOD_Studio_System_LookupID(handle, threadSafeEncoding.byteFromStringUTF8(path), out guid));
     }
 }