filoe / cscore

An advanced audio library, written in C#. Provides tons of features. From playing/recording audio to decoding/encoding audio streams/files to processing audio data in realtime (e.g. applying custom effects during playback, create visualizations,...). The possibilities are nearly unlimited.
Other
2.14k stars 450 forks source link

Clear WriteableBufferingSource? #481

Open ghost opened 11 months ago

ghost commented 11 months ago

Is there no way to clear the WriteableBufferingSource in CSCore? This is possible in NAudio's BufferedWaveProvodier.Clear( ).

For now my only option is to create WriteableBufferingSourceModified and add Clear() that calls _buffer.Clear().