INTERACT FORUM

Windows => Plug-in Development => Topic started by: muchadhesion on May 05, 2009, 10:24:44 am

Title: bool IMJMixerAutomation.Mute doesn't respond to writes
Post by: muchadhesion 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.
Title: Re: bool IMJMixerAutomation.Mute doesn't respond to writes
Post by: Matt 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.
Title: Re: bool IMJMixerAutomation.Mute doesn't respond to writes
Post by: muchadhesion on May 08, 2009, 04:41:23 am
Many Thanks!