How to select/configure subdevice on four port card.

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

Chris Golas

  • Posts: 1
  • Joined: Tue Dec 16, 2014 1:07 pm

How to select/configure subdevice on four port card.

PostMon Feb 23, 2015 6:14 pm

I looking for some guidance on how to select a subdevice on a four port DeckLink SDI card using the SDK.
I found sample code that explains how to determine how many subdevice inputs are available using IDeckLinkAttributes interface and GetInt() for "BMDDeckLinkNumberOfSubDevices". I also see how to determine what subdevice is set by querying with "BMDDeckLinkSubDeviceIndex".

But, what I don't see is any way to "set" a desired index. I assumed that if there was "GetInt" method, there would be a corresponding "SetInt" method, but there is not.
Anyone know how to do this?
Offline

thomas.godon

  • Posts: 2
  • Joined: Sun Feb 01, 2015 8:17 pm

Re: How to select/configure subdevice on four port card.

PostSun Mar 08, 2015 10:38 pm

Hi, if i declare a decklinkdevice instance, i do it like this: iDeckLink* decklinkDevice[5]; so i can give an index from 0 to 5 where 0 is the first decklink device and 5 the last if present.

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 11 guests