Microphone gain question

  • 1
  • Question
  • Updated 4 years ago
  • Answered
Having tons of fun with programming with the FlexLib API but ran in to a small snag.  I have made myself an addon program strip that has numerous things on it.  That way I can get to the most used items I want without having to hunt in menus or expand the program so I can see all the setting in the side panels.  It makes it easier to use remotely on my 11.6" windows laptop.

All in all I have been real successful but I ran into a small problem with the Mic gain.  Easy to set the mic gain BUT I want MY  mic gain control to be updated IF I use the built in mic gain control on the P/CW side panel in SmartSDR.  I can update my gain control when the program starts by just doing it in the AddNewSlice event.  But is there an event handler to monitor the Mic gain control on the P/CW panel when it makes a change.  Or an event handler that will tell me when the mic gain changes regardless of how?

---Gary WB8ROL
Photo of Gary L. Robinson

Gary L. Robinson

  • 248 Posts
  • 48 Reply Likes

Posted 4 years ago

  • 1
Photo of Mark - W3II

Mark - W3II

  • 135 Posts
  • 33 Reply Likes
Official Response

Hook the Radio object's PropertyChanged event. There will be a property change event named "MicLevel" when the level is changed. Remember this event may occur on a background thread.