Skip to content

Commit

Permalink
Zero both phase buffers #45
Browse files Browse the repository at this point in the history
  • Loading branch information
jurihock committed Dec 12, 2023
1 parent b5b1f69 commit 3f55bdc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cpp/StftPitchShift/Vocoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ namespace stftpitchshift

void reset()
{
// zero decode phase buffer according to #45
// zero both phase buffers according to #45
std::fill(encode_phase_buffer.begin(), encode_phase_buffer.end(), 0);
std::fill(decode_phase_buffer.begin(), decode_phase_buffer.end(), 0);
}

Expand Down

0 comments on commit 3f55bdc

Please sign in to comment.