diff --git a/interface/src/scripting/Audio.h b/interface/src/scripting/Audio.h index 825393408e..63f8f51908 100644 --- a/interface/src/scripting/Audio.h +++ b/interface/src/scripting/Audio.h @@ -57,8 +57,8 @@ class Audio : public AudioScriptingInterface, protected ReadWriteLockable { * @property {boolean} clipping - true if the audio input is clipping, otherwise false. * @property {string} context - The current context of the audio: either "Desktop" or "HMD". * Read-only. - * @property {object} devices Read-only. Deprecated: This property is deprecated and will be - * removed. + * @property {object} devices - Read-only. + *

Deprecated: This property is deprecated and will be removed. * @property {boolean} pushToTalk - true if push-to-talk is enabled for the current user context (desktop or * HMD), otherwise false. * @property {boolean} pushToTalkDesktop - true if desktop push-to-talk is enabled, otherwise @@ -189,7 +189,7 @@ public: /**jsdoc * Sets the gain (relative volume) that avatars' voices are played at. This gain is used at the server. * @function Audio.setAvatarGain - * @param {number} Avatar gain (dB) at the server. + * @param {number} gain - Avatar gain (dB) at the server. */ Q_INVOKABLE void setAvatarGain(float gain); @@ -209,7 +209,7 @@ public: /**jsdoc * Sets the gain (relative volume) that environment sounds from the server are played at. * @function Audio.setInjectorGain - * @param {number} Injector gain (dB) at the server. + * @param {number} gain - Injector gain (dB) at the server. */ Q_INVOKABLE void setInjectorGain(float gain); @@ -223,7 +223,7 @@ public: /**jsdoc * Sets the gain (relative volume) that environment sounds from the client are played at. * @function Audio.setLocalInjectorGain - * @param {number} Injector gain (dB) in the client. + * @param {number} gain - Injector gain (dB) in the client. */ Q_INVOKABLE void setLocalInjectorGain(float gain); @@ -237,7 +237,7 @@ public: /**jsdoc * Sets the gain (relative volume) that system sounds are played at. * @function Audio.setSystemInjectorGain - * @param {number} Injector gain (dB) in the client. + * @param {number} gain - Injector gain (dB) in the client. */ Q_INVOKABLE void setSystemInjectorGain(float gain); diff --git a/libraries/audio/src/AudioInjectorOptions.cpp b/libraries/audio/src/AudioInjectorOptions.cpp index ee6b960e9f..cb7da4de33 100644 --- a/libraries/audio/src/AudioInjectorOptions.cpp +++ b/libraries/audio/src/AudioInjectorOptions.cpp @@ -63,8 +63,8 @@ QScriptValue injectorOptionsToScriptValue(QScriptEngine* engine, const AudioInje * 0. * @property {boolean} localOnly=false - If true, the sound is played back locally on the client rather than to * others via the audio mixer. - * @property {boolean} ignorePenumbra=false - Deprecated: This property is deprecated and will be - * removed. + * @property {boolean} ignorePenumbra=false -

Deprecated: This property is deprecated and will be + * removed.

*/ void injectorOptionsFromScriptValue(const QScriptValue& object, AudioInjectorOptions& injectorOptions) { if (!object.isObject()) {