mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-23 04:28:12 +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) {
|
if (changed) {
|
||||||
emit noiseReductionAutomaticChanged(threshold);
|
emit noiseReductionThresholdChanged(threshold);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -277,14 +277,14 @@ public:
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* Sets the noise gate threshold before your mic audio is transmitted. (Applies only if Audio.noiseReductionAutomatic is off.)
|
* Sets the noise gate threshold before your mic audio is transmitted. (Applies only if Audio.noiseReductionAutomatic is off.)
|
||||||
* @function Audio.setNoiseReductionThreshold
|
* @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);
|
Q_INVOKABLE void setNoiseReductionThreshold(float threshold);
|
||||||
|
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* Gets the noise reduction threshold.
|
* Gets the noise reduction threshold.
|
||||||
* @function Audio.getNoiseReductionThreshold
|
* @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();
|
Q_INVOKABLE float getNoiseReductionThreshold();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue