mirror of
https://github.com/lubosz/overte.git
synced 2025-04-08 15:43:24 +02:00
JSDoc review
This commit is contained in:
parent
32e3bb0e1d
commit
2270255d88
2 changed files with 6 additions and 4 deletions
|
@ -48,10 +48,11 @@ public:
|
|||
SoundCacheScriptingInterface();
|
||||
|
||||
/**jsdoc
|
||||
* Loads the content of an audio file into an object, ready for playback by {@link Audio.playSound}.
|
||||
* Loads the content of an audio file into a {@link SoundObject}, ready for playback by {@link Audio.playSound}.
|
||||
* @function SoundCache.getSound
|
||||
* @param {string} url - The URL of the audio file to load. See {@link SoundObject} for supported formats.
|
||||
* @returns {SoundObject}
|
||||
* @param {string} url - The URL of the audio file to load — Web, ATP, or file. See {@link SoundObject} for supported
|
||||
* formats.
|
||||
* @returns {SoundObject} The sound ready for playback.
|
||||
*/
|
||||
Q_INVOKABLE SharedSoundPointer getSound(const QUrl& url);
|
||||
};
|
||||
|
|
|
@ -98,7 +98,8 @@ signals:
|
|||
void mutedByMixer();
|
||||
|
||||
/**jsdoc
|
||||
* Triggered when everyone is muted by the mixer.
|
||||
* Triggered when the client is muted by the mixer because they're within a certain radius (50m) of someone who requested
|
||||
* the mute through Developer > Audio > Mute Environment.
|
||||
* @function Audio.environmentMuted
|
||||
* @returns {Signal}
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue