Settings and monitoring the level of audio

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

dsmurfin

  • Posts: 1
  • Joined: Mon Dec 20, 2021 12:41 pm
  • Real Name: Daniel Murfin

Settings and monitoring the level of audio

PostMon Dec 20, 2021 1:28 pm

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.

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 15 guests