Page 1 of 1

Settings and monitoring the level of audio

PostPosted: Mon Dec 20, 2021 1:28 pm
by dsmurfin
I am trying to ascertain how to set (and monitor if possible) the audio gain for a capture device.

I have tried settings the scale on inputs, outputs of both digital and analog.
Code: Select all
deckLinkConfiguration->SetFloat(bmdDeckLinkConfigDigitalAudioInputScale, scale)

I have tried setting the value on:
Code: Select all
bmdDeckLinkConfigDigitalAudioOutputScale
bmdDeckLinkConfigDigitalAudioInputScale
bmdDeckLinkConfigAnalogAudioInputScaleChannel1
bmdDeckLinkConfigAnalogAudioOutputScaleChannel1

But I get an error:
Code: Select all
Error Domain=NSOSStatusErrorDomain Code=-2147483647 "(null)"

Any help would be much appreciated.