@@ -40,7 +40,7 @@ export interface IStaticSoundOptionsBase {
40
40
/** @internal */
41
41
export interface IStaticSoundPlayOptionsBase {
42
42
/**
43
- * The time to wait before playing the sound, in seconds.
43
+ * The time to wait before playing the sound, in seconds. Defaults to `0`.
44
44
*/
45
45
waitTime : number ;
46
46
}
@@ -60,7 +60,7 @@ export interface IStaticSoundPlayOptions extends IAbstractSoundPlayOptions, ISta
60
60
*/
61
61
export interface IStaticSoundStopOptions {
62
62
/**
63
- * The time to wait before stopping the sound, in seconds.
63
+ * The time to wait before stopping the sound, in seconds. Defaults to `0`.
64
64
*/
65
65
waitTime : number ;
66
66
}
@@ -99,7 +99,7 @@ export abstract class StaticSound extends AbstractSound {
99
99
}
100
100
101
101
/**
102
- * The amount of time to play the sound for, in seconds.
102
+ * The amount of time to play the sound for, in seconds. Defaults to `0`.
103
103
* - If less than or equal to `0`, the sound plays for its full duration.
104
104
*/
105
105
public get duration ( ) : number {
@@ -135,7 +135,7 @@ export abstract class StaticSound extends AbstractSound {
135
135
}
136
136
137
137
/**
138
- * The pitch of the sound, in cents.
138
+ * The pitch of the sound, in cents. Defaults to `0`.
139
139
* - Gets combined with {@link playbackRate} to determine the final pitch.
140
140
*/
141
141
public get pitch ( ) : number {
@@ -147,7 +147,7 @@ export abstract class StaticSound extends AbstractSound {
147
147
}
148
148
149
149
/**
150
- * The playback rate of the sound.
150
+ * The playback rate of the sound. Defaults to `1`.
151
151
* - Gets combined with {@link pitch} to determine the final playback rate.
152
152
*/
153
153
public get playbackRate ( ) : number {
0 commit comments