public RESULT getMixerStrip(GUID guid, LOADING_MODE mode, out MixerStrip strip) { RESULT result = RESULT.OK; IntPtr mixerstripraw = new IntPtr(); strip = null; try { result = FMOD_Studio_System_GetMixerStrip(rawPtr, ref guid, mode, out mixerstripraw); } catch { result = RESULT.ERR_INVALID_PARAM; } if (result != RESULT.OK) { return(result); } strip = new MixerStrip(); strip.setRaw(mixerstripraw); return(result); }
public RESULT getEvent(GUID guid, LOADING_MODE mode, out EventDescription _event) { RESULT result = RESULT.OK; IntPtr eventraw = new IntPtr(); _event = null; try { result = FMOD_Studio_System_GetEvent(rawPtr, ref guid, mode, out eventraw); } catch { result = RESULT.ERR_INVALID_PARAM; } if (result != RESULT.OK) { return(result); } _event = new EventDescription(); _event.setRaw(eventraw); return(result); }
private static extern RESULT FMOD_Studio_System_GetMixerStrip(IntPtr studiosystem, ref GUID guid, LOADING_MODE mode, out IntPtr mixerStrip);
private static extern RESULT FMOD_Studio_System_GetEvent(IntPtr studiosystem, ref GUID guid, LOADING_MODE mode, out IntPtr description);
public RESULT getMixerStrip(GUID guid, LOADING_MODE mode, out MixerStrip strip) { RESULT result = RESULT.OK; IntPtr mixerstripraw = new IntPtr(); strip = null; try { result = FMOD_Studio_System_GetMixerStrip(rawPtr, ref guid, mode, out mixerstripraw); } catch { result = RESULT.ERR_INVALID_PARAM; } if (result != RESULT.OK) { return result; } strip = new MixerStrip(); strip.setRaw(mixerstripraw); return result; }
public RESULT getEvent(GUID guid, LOADING_MODE mode, out EventDescription _event) { RESULT result = RESULT.OK; IntPtr eventraw = new IntPtr(); _event = null; try { result = FMOD_Studio_System_GetEvent(rawPtr, ref guid, mode, out eventraw); } catch { result = RESULT.ERR_INVALID_PARAM; } if (result != RESULT.OK) { return result; } _event = new EventDescription(); _event.setRaw(eventraw); return result; }
public RESULT getMixerStrip(GUID guid, LOADING_MODE mode, out MixerStrip strip) { strip = null; IntPtr newPtr = new IntPtr(); RESULT result = FMOD_Studio_System_GetMixerStrip(rawPtr, ref guid, mode, out newPtr); if (result != RESULT.OK) { return result; } strip = new MixerStrip(newPtr); return result; }
public RESULT getEvent(GUID guid, LOADING_MODE mode, out EventDescription _event) { _event = null; IntPtr eventraw = new IntPtr(); RESULT result = FMOD_Studio_System_GetEvent(rawPtr, ref guid, mode, out eventraw); if (result != RESULT.OK) { return result; } _event = new EventDescription(eventraw); return result; }
private static extern RESULT FMOD_Studio_System_GetMixerStrip(IntPtr studiosystem, ref GUID guid, LOADING_MODE mode, out IntPtr mixerStrip);
private static extern RESULT FMOD_Studio_System_GetEvent(IntPtr studiosystem, ref GUID guid, LOADING_MODE mode, out IntPtr description);