Page 1 of 1

SwitcherPanelCSharp - mix duration and volume

PostPosted: Mon Feb 16, 2015 9:23 pm
by Mark Malburg
Hi,

I'm working with the SwitcherPanelCSharp example and have a couple "newbie" questions...

1. How can you set the number of frames for the "auto" transition? Apparently, there is a SetRate function, but I'm not finding a way to access it in the SwitcherPanelCSharp example.

2. How can I add volume monitoring and volume control to this app? Is there an example somewhere?

Many thanks!

- Mark

Re: SwitcherPanelCSharp - mix duration and volume

PostPosted: Tue Feb 17, 2015 10:33 pm
by Mark Malburg
OK... I've solved the mix duration problem... but still need some audio help.

Here's the mix duration:

double dTransitionFrames = dFramesPerSecond*dTransitionSeconds;

BMDSwitcherAPI.IBMDSwitcherTransitionMixParameters m_params =
(BMDSwitcherAPI.IBMDSwitcherTransitionMixParameters)m_mixEffectBlock1;

m_params.SetRate((uint)dTransitionFrames);


However, I'd still like to display audio levels in my app. How do I get an interface to audio and what function call do I use poll it periodically?

Any help is appreciated.

- Mark