SwitcherPanelCSharp - mix duration and volume

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

Mark Malburg

  • Posts: 28
  • Joined: Sat Nov 08, 2014 12:33 pm

SwitcherPanelCSharp - mix duration and volume

PostMon Feb 16, 2015 9:23 pm

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
Offline

Mark Malburg

  • Posts: 28
  • Joined: Sat Nov 08, 2014 12:33 pm

Re: SwitcherPanelCSharp - mix duration and volume

PostTue Feb 17, 2015 10:33 pm

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

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 2 guests