Method GetLevelDb
- Namespace
- OBSStudioClient.Classes
- Assembly
- OBSClient.dll
GetLevelDb(int)
Gets the level in decibels for a specific channel index.
public float GetLevelDb(int channelIndex)
Parameters
channelIndexintThe index of the channel.
Returns
- float
The level of the channel in decibels: its first level (OBS Studio sends three numbers for a channel), and never less than -100 dB, which is what a silent channel gives. NegativeInfinity when the input has no such channel: OBS Studio sends an empty list of levels for some inputs, and a negative index is not a channel either.