()
| 321 | } |
| 322 | |
| 323 | private decrementQueue() { |
| 324 | this._encodeQueueSize = Math.max(this._encodeQueueSize - 1, 0); |
| 325 | |
| 326 | // Spec: Schedule Dequeue Event |
| 327 | queueMicrotask(() => { |
| 328 | const event = new Event('dequeue'); |
| 329 | this.ondequeue?.bind(this)(event); |
| 330 | this.dispatchEvent(event); |
| 331 | }); |
| 332 | } |
| 333 | |
| 334 | private async encodeInternal(clonedData: AudioData) { |
| 335 | const currentConfigId = this.currentConfigId; |
no outgoing calls
no test coverage detected