I'd make my own custom IWaveProvider that uses BufferedWaveProvider but can be told that there is no more data to come. Then, in the Read method, if that flag is set and the bufferedWaveProvider has no queued bytes, return 0
↧
I'd make my own custom IWaveProvider that uses BufferedWaveProvider but can be told that there is no more data to come. Then, in the Read method, if that flag is set and the bufferedWaveProvider has no queued bytes, return 0