internal static MicGainEvent FromNative(ADLMicGainEvent micGainEvnt) { MicGainEvent result = new MicGainEvent(); result._gain = micGainEvnt.gain; return(result); }
private void on_mic_gain_callback_t(IntPtr opaque, ref ADLMicGainEvent e) { try { if (_listener != null) { _listener.onMicGain(MicGainEvent.FromNative(e)); } } catch (Exception) { } }
private void on_mic_gain_callback_t(IntPtr opaque, ref ADLMicGainEvent e) { try { if (_listener != null) _listener.onMicGain(MicGainEvent.FromNative(e)); } catch (Exception ) { } }
internal static MicGainEvent FromNative(ADLMicGainEvent micGainEvnt) { MicGainEvent result = new MicGainEvent(); result._gain = micGainEvnt.gain; return result; }