private static extern ErrorCode SetCallback(IntPtr channel, ChannelCallbackType callback);
internal static extern Result FMOD_Channel_SetCallback(IntPtr channelHandle, ChannelCallbackType type, ChannelCallback callback, int command);
public void SetCallback(ChannelCallbackType callback) { Errors.ThrowIfError(SetCallback(DangerousGetHandle(), callback)); }
public void SetCallback(ChannelCallbackType callbackType, ChannelCallback callback, int command) { currentResult = NativeMethods.FMOD_Channel_SetCallback(handle, callbackType, callback, command); }