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.2k stars 454 forks source link

SimpleMixerSample length and position solution #365

Closed ghost closed 5 years ago

ghost commented 6 years ago

I need make changes in my IWaveSource Read function, so i used code from simplemixersample project. But as you know there are not implemented length and position vars. What can I do or use to fix it?

UPD: Or maybe there is another solution with editing Read function without overriding IWaveSource?

filoe commented 6 years ago

What do you mean by editing?

ghost commented 6 years ago

I solved this by using original iwavesources. i realized that position value changes after using iwavesource's read function. nevertheless i still want to understand how can i implement position with help of reader or without it.