private void MainThread_OnAudioPropertiesStatus(BriaAPI.AudioPropertiesStatusEventArgs args) { m_SpeakerModeEnabled = args.IsSpeakerModeEnabled; m_MicrophoneIsMuted = args.IsMicrophoneMuted; m_SpeakerIsMuted = args.IsSpeakerMuted; m_SpeakerVolume = args.SpeakerVolume; m_MicrophoneVolume = args.MicrophoneVolume; UpdateAudioControls(); }
private void OnAudioPropertiesStatus(object sender, BriaAPI.AudioPropertiesStatusEventArgs args) { this.BeginInvoke(onAudioPropertiesStatusDelegate, new Object[] { args }); }