libobs: Add Logarithmic fader type

This adds the conversion function used by the old obs based on a
logarithmic scale.
This commit is contained in:
fryshorts
2014-11-27 21:01:26 +01:00
parent 119d77e176
commit 1b034569f0
2 changed files with 45 additions and 1 deletions

View File

@@ -61,7 +61,11 @@ enum obs_fader_type {
[ 2.5 %, 0 % ] | [ -60 dB, -inf dB ]
@endcode
*/
OBS_FADER_IEC
OBS_FADER_IEC,
/**
* @brief Logarithmic fader
*/
OBS_FADER_LOG
};
/**