File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
packages/audiodocs/docs/sources Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,22 @@ The above method lets you add another buffer to queue. Returns `bufferId` that c
52
52
53
53
#### Returns ` string ` .
54
54
55
+ ### ` dequeueBuffer `
56
+
57
+ The above method lets you remove a buffer from the queue. Note that ` onEnded ` event will not be fired for buffers that were removed.
58
+
59
+ | Parameters | Type | Description |
60
+ | :---: | :---: | :---- |
61
+ | ` buffer ` | [ ` AudioBuffer ` ] ( /sources/audio-buffer ) | Buffer to remove from the queue. |
62
+
63
+ #### Returns ` void ` .
64
+
65
+ ### ` clearBuffers `
66
+
67
+ The above method lets you remove all buffers from the queue. Note that ` onEnded ` event will not be fired for buffers that were removed.
68
+
69
+ #### Returns ` void ` .
70
+
55
71
## Events
56
72
57
73
### ` onEnded ` <Overridden />
You can’t perform that action at this time.
0 commit comments