Skip to content

Commit

Permalink
Fix reading of WAV loop region length
Browse files Browse the repository at this point in the history
  • Loading branch information
walbourn committed Sep 28, 2020
1 parent 4066d99 commit 8cfc899
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Audio/WAVFileReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ namespace
{
// Return 'forward' loop
*pLoopStart = loops[j].start;
*pLoopLength = loops[j].end + loops[j].start + 1;
*pLoopLength = loops[j].end - loops[j].start + 1;
return S_OK;
}
}
Expand Down

0 comments on commit 8cfc899

Please sign in to comment.