Closed victorvhpg closed 2 years ago
My application run in many threads, there are concurrent access to pitch effect, And that class (PitchShifterInternal) uses static Fields
At sometime a thread change the value of a Field that is shared in ALL threads, then occurs the bug.
@filoe To solve this bug, dont use static fields in PitchShifterInternal (field: _gRover)
Thanks for reporting! Can you submit a pull request?
Thanks for reporting! Can you submit a pull request?
ok, 54e4008
@filoe
please merge theses changes too #458
https://github.com/filoe/cscore/pull/458
The audio stay "mute" after sometime using effect Pitch with differents sources many times.
https://github.com/filoe/cscore/blob/13bbebb4f0a8c3e12fc54a01c3485098bf13ba9c/CSCore/DSP/PitchShifterInternal.cs