INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: bool IMJMixerAutomation.Mute doesn't respond to writes  (Read 1427 times)

muchadhesion

  • Recent member
  • *
  • Posts: 44
bool IMJMixerAutomation.Mute doesn't respond to writes
« on: May 05, 2009, 10:24:44 am »

The SDK for mixer automation (documented here, http://wiki.jrmediacenter.com/index.php/MJMixerAutomation) seems not to respond to writing to the IMJMixerAutomation.Mute member var.

The variable takes the true/false value I assign to it, but MC playback doesn't mute/unmute accordingly.

The variable value changes correctly if I change Mute setting from the MC UI "Player | Volume | Mute".

My use of read/write of int IMJMixerAutomation.Volume works fine.

I'm accessing the API through C# if that makes any difference?   I'm using v13.0.161.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41934
  • Shoes gone again!
Re: bool IMJMixerAutomation.Mute doesn't respond to writes
« Reply #1 on: May 07, 2009, 12:07:46 pm »

I think the issue is that .NET is using -1 (or something other than 1) for true.

In a future build, we'll accept any non-zero value as true, but for now, use 0 or 1.
Logged
Matt Ashland, JRiver Media Center

muchadhesion

  • Recent member
  • *
  • Posts: 44
Re: bool IMJMixerAutomation.Mute doesn't respond to writes
« Reply #2 on: May 08, 2009, 04:41:23 am »

Many Thanks!
Logged
Pages: [1]   Go Up