예제 #1
0
        internal static MicGainEvent FromNative(ADLMicGainEvent micGainEvnt)
        {
            MicGainEvent result = new MicGainEvent();

            result._gain = micGainEvnt.gain;
            return(result);
        }
예제 #2
0
 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;
 }