mirror of
https://github.com/lubosz/overte.git
synced 2025-04-27 15:35:30 +02:00
Fix typo + update JSDoc.
This commit is contained in:
parent
085bf8423c
commit
5b1549a24e
2 changed files with 3 additions and 3 deletions
|
@ -332,7 +332,7 @@ void Audio::setNoiseReductionThreshold(float threshold) {
|
|||
}
|
||||
});
|
||||
if (changed) {
|
||||
emit noiseReductionAutomaticChanged(threshold);
|
||||
emit noiseReductionThresholdChanged(threshold);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -277,14 +277,14 @@ public:
|
|||
/**jsdoc
|
||||
* Sets the noise gate threshold before your mic audio is transmitted. (Applies only if Audio.noiseReductionAutomatic is off.)
|
||||
* @function Audio.setNoiseReductionThreshold
|
||||
* @param {number} threshold - The level that your input must surpass to be transmitted. (0 - 1.0)
|
||||
* @param {number} threshold - The level that your input must surpass to be transmitted. <code>0.0</code> (open the gate completely) – <code>1.0</code>
|
||||
*/
|
||||
Q_INVOKABLE void setNoiseReductionThreshold(float threshold);
|
||||
|
||||
/**jsdoc
|
||||
* Gets the noise reduction threshold.
|
||||
* @function Audio.getNoiseReductionThreshold
|
||||
* @returns {number} The noise reduction threshold. (0 - 1.0)
|
||||
* @returns {number} The noise reduction threshold. <code>0.0</code> – <code>1.0</code>
|
||||
*/
|
||||
Q_INVOKABLE float getNoiseReductionThreshold();
|
||||
|
||||
|
|
Loading…
Reference in a new issue