Query Decklink Quad 2 Duplex Mode

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

Steffen Pätzold

  • Posts: 13
  • Joined: Mon Mar 30, 2015 10:35 am
  • Location: Leipzig, Germany

Query Decklink Quad 2 Duplex Mode

PostThu Jun 07, 2018 9:35 am

I query the Duplex to find out how the decklink devices are configured.

IDeckLinkConfiguration* pConfig;
.....
pConfig->GetInt(bmdDeckLinkConfigDuplexMode, &duplex);


The following sample setup gives the following results:

Decklink (1) - connectors 1&2 --> duplex = bmdDuplexModeFull
Decklink (2) - connectors 3 --> duplex = bmdDuplexModeHalf
Decklink (3) - connectors 5 --> duplex = bmdDuplexModeHalf
Decklink (4) - connectors 7 --> duplex = bmdDuplexModeHalf
Decklink (5) - connectors none --> duplex = 0 -->seems reasonable because no connector is used
Decklink (6) - connectors 4 --> duplex = 0 i would expect this to be bmdDuplexModeHalf

Or is there any possibility to query that device 2 and 6 are using the same hardware resources/connectors?
Offline

Cameron Nichols

Blackmagic Design

  • Posts: 78
  • Joined: Mon Sep 04, 2017 4:05 am

Re: Query Decklink Quad 2 Duplex Mode

PostFri Jun 08, 2018 1:39 am

Hi Steffen,

The configuration ID bmdDeckLinkConfigDuplexMode is only applicable to the first sub-device in a pair.

You should call IDeckLinkAttributes::GetInt(BMDDeckLinkPairedDevicePersistentID, &paired_id) to determine the persistent ID for the paired sub-device which will accept the bmdDeckLinkConfigDuplexMode configuration ID.

Kind Regards
Cameron
Offline

Steffen Pätzold

  • Posts: 13
  • Joined: Mon Mar 30, 2015 10:35 am
  • Location: Leipzig, Germany

Re: Query Decklink Quad 2 Duplex Mode

PostFri Jun 08, 2018 7:39 am

Thanks, now it works ;)

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 1 guest