()
| 209 | |
| 210 | // Override toArray() function to prevent collecting. |
| 211 | override toArray(): Promise<Tensor[]> { |
| 212 | throw new Error('Can not convert infinite audio stream to array.'); |
| 213 | } |
| 214 | |
| 215 | // Return audio sampling rate in Hz |
| 216 | getSampleRate(): number { |
nothing calls this directly
no outgoing calls
no test coverage detected