# HG changeset patch # User Chris Cannam # Date 1725354711 -3600 # Tue Sep 03 10:11:51 2024 +0100 # Node ID 3c21df333ae91575ece8859d383283bf0611530a # Parent 00208d38cfb29ad3b1c2dbb4fdc6ecac472c4fd7 Add live shifter to single-file interface diff --git a/single/RubberBandSingle.cpp b/single/RubberBandSingle.cpp --- a/single/RubberBandSingle.cpp +++ b/single/RubberBandSingle.cpp @@ -27,9 +27,10 @@ This is a single-file compilation unit for Rubber Band Library. To use the library in your project without building it separately, - include in your code either rubberband/RubberBandStretcher.h for - use in C++ or rubberband/rubberband-c.h if you need the C - interface, then add this single C++ source file to your build. + include in your code either rubberband/RubberBandStretcher.h + and/or rubberband/RubberBandLiveShifter.h for use in C++, or + rubberband/rubberband-c.h if you need the C interface, then add + this single C++ source file to your build. Don't move this file into your source tree - keep it in the same place relative to the other Rubber Band code, so that the relative @@ -79,7 +80,9 @@ #include "../src/faster/R2Stretcher.cpp" #include "../src/faster/StretcherProcess.cpp" #include "../src/finer/R3Stretcher.cpp" +#include "../src/finer/R3LiveShifter.cpp" #include "../src/RubberBandStretcher.cpp" +#include "../src/RubberBandLiveShifter.cpp" #include "../src/rubberband-c.cpp"