()
| 211 | } |
| 212 | |
| 213 | private decrementQueue() { |
| 214 | this._decodeQueueSize = Math.max(this._decodeQueueSize - 1, 0); |
| 215 | |
| 216 | // Spec: Schedule Dequeue Event |
| 217 | queueMicrotask(() => { |
| 218 | const event = new Event('dequeue'); |
| 219 | this.ondequeue?.bind(this)(event); |
| 220 | this.dispatchEvent(event); |
| 221 | }); |
| 222 | } |
| 223 | |
| 224 | private async decodeInternal(chunk: EncodedAudioChunk) { |
| 225 | const currentConfigId = this.currentConfigId; |
no outgoing calls
no test coverage detected