Unexpected Problems
I started using the SDK today with the target being to implement a UDPServer into Audition so i can send command for example setting the Fader on a Mixer Channel but apparently almost nothing is working so far.
Im using Audition as a live Mixer and i want to for example disable one of the Sends on my second channel using a hotkey. The UDP server and everything that doesnt involve interacting with Auditon is already working fine.
Problem is when im trying to get the ChannelID from its index using ADOBESDK_ControlSurfaceHostMixerSuite1::GetChannelIDForIndex it just returns kSPUnimplementedError/kASUnimplementedError
Im grabbing the MixerSuite and Reference like this:
ADOBESDK_ControlSurfaceHostMixerSuite1* ControlSurfaceMixerSuite = 0;
if (mSPBasic->AcquireSuite(
kADOBESDK_ControlSurfaceHostMixerSuite,
kADOBESDK_ControlSurfaceHostMixerSuite_Version1,
(const void**) &ControlSurfaceMixerSuite) == kSPNoError && ControlSurfaceMixerSuite)
{
mControlSurfaceMixerSuite = ControlSurfaceMixerSuite;
if (mControlSurfaceHostSuite->GetMixerRef(inControlSurfaceHostRef, &mControlSurfaceHostMixerRef) != kSPNoError) {
mSPBasic->ReleaseSuite(kADOBESDK_ControlSurfaceHostMixerSuite, kADOBESDK_ControlSurfaceHostMixerSuite_Version1);
mControlSurfaceMixerSuite = 0;
}
}
Just like the ControlSurface example gets the other Suites and References.. Im also not getting errors and valid pointers in the output values. So im guessing everything is correct.
But any interaction with the HostMixerSuite only threw errors so far. Either throwing Unimplemented or GetSelectedChannelID is throwing BadParameterError i dont know where it would get a bad Parameter from.. It only takes the HostMixerSuite reference which is correct as far as i can see, and a pointer to the channelID which is a valid pointer to ADOBESDK_ControlSurfaceChannelID
