(currentConfigId: number)
| 197 | } |
| 198 | |
| 199 | private outputData(currentConfigId: number) { |
| 200 | if (this.currentConfigId !== currentConfigId) { |
| 201 | return; |
| 202 | } |
| 203 | |
| 204 | const clone = this.frame.clone(); |
| 205 | if (!clone) { |
| 206 | throw new Error('Error obtaining frame clone.'); |
| 207 | } |
| 208 | |
| 209 | const audioData = new AudioDataPolyfill(clone); |
| 210 | this.init.output(audioData); |
| 211 | } |
| 212 | |
| 213 | private decrementQueue() { |
| 214 | this._decodeQueueSize = Math.max(this._decodeQueueSize - 1, 0); |
no test coverage detected