private void audioOptionsToolStripMenuItem_Click(object sender, EventArgs e) { PttLib.ISettings4 sett = axMesh.Settings as PttLib.ISettings4; if (sett != null) { AudioSettingsForm asf = new AudioSettingsForm(sett); asf.ShowDialog(this); } }
private void setMinAudioVolumeToolStripMenuItem_Click(object sender, EventArgs e) { PttLib.ISettings4 sett = axMesh.Settings as PttLib.ISettings4; if (sett != null) { sett.SetValue(PttLib.SETTING_ID.ST_AUD_PLAYBACK_AMPL, -10); sett.SetValue(PttLib.SETTING_ID.ST_AUD_RECORDING_AMPL, -10); sett.SetValue(PttLib.SETTING_ID.ST_AUD_NOISE_SUPP, false); sett.SetValue(PttLib.SETTING_ID.ST_AUD_PLAYBACK_VOLUME, 10); sett.SetValue(PttLib.SETTING_ID.ST_AUD_RECORDING_VOLUME, 10); } }