コード例 #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)
     {
     }
 }
コード例 #3
0
 private void on_mic_gain_callback_t(IntPtr opaque,
     ref ADLMicGainEvent e)
 {
     try
     {
         if (_listener != null)
             _listener.onMicGain(MicGainEvent.FromNative(e));
     }
     catch (Exception )
     {
     }
 }
コード例 #4
0
 internal static MicGainEvent FromNative(ADLMicGainEvent micGainEvnt)
 {
     MicGainEvent result = new MicGainEvent();
     result._gain = micGainEvnt.gain;
     return result;
 }