- Posts: 1
- Joined: Wed Jan 18, 2023 8:19 pm
- Real Name: Jeff Brown
Hi Jeff,
Devices that are impacted by the same profile setting are known as peer devices. You can determine the peer devices for the device's IDeckLinkProfile instance by calling IDeckLinkProfile::GetPeers.
GetPeers will output an IDeckLinkProfileIterator object that can be used to iterate the IDeckLinkProfile objects of the peer sub-devices sharing the same BMDProfileID.
For each peer IDeckLinkProfile, you can obtain the IDeckLinkProfileAttributes interface with QueryInterface, and then call IDeckLinkProfileAttributes::GetInt with attribute ID BMDDeckLinkDuplex.
The duplex mode for the peer device will be one of bmdDuplexFull, bmdDuplexHalf or bmdDuplexInactive, depending on the current active profile.
Regards
Cameron