Skip to content

Commit 137a578

Browse files
committed
docs: updated relevant documentation
1 parent d0abfaf commit 137a578

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

packages/audiodocs/docs/sources/audio-buffer-queue-source-node.mdx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,22 @@ The above method lets you add another buffer to queue. Returns `bufferId` that c
5252

5353
#### Returns `string`.
5454

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+
5571
## Events
5672

5773
### `onEnded` <Overridden />

0 commit comments

Comments
 (0)