Skip to content

Commit

Permalink
fixup! add rubberband engine 3 support when available at compile-time
Browse files Browse the repository at this point in the history
  • Loading branch information
Swiftb0y committed Jul 23, 2022
1 parent 6268e70 commit 410a3eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/bufferscalers/enginebufferscalerubberband.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace {
// This is the default increment from RubberBand 1.8.1.
size_t kRubberBandBlockSize = 256;

#define RUBBERBANDV3 (RUBBERBAND_API_MINOR_VERSION >= 2 && RUBBERBAND_API_MINOR_VERSION >= 7)
#define RUBBERBANDV3 (RUBBERBAND_API_MAJOR_VERSION >= 2 && RUBBERBAND_API_MINOR_VERSION >= 7)

} // namespace

Expand Down

0 comments on commit 410a3eb

Please sign in to comment.