Skip to content

Commit

Permalink
allow preprocessor control of implementation used by main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
kupix committed Apr 14, 2024
1 parent 90959e5 commit 1282b7d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmd/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ int main(int argc, const char *argv[])
CommandLine::Parameters parameters{options, argc, argv, request};
CommandLine::Processor processor{parameters, request};

Bungee::Stretcher<Basic> stretcher(processor.sampleRates, processor.channelCount);
#ifndef BUNGEE_IMPLEMENTATION
# define BUNGEE_IMPLEMENTATION Basic
#endif
Bungee::Stretcher<BUNGEE_IMPLEMENTATION> stretcher(processor.sampleRates, processor.channelCount);

processor.restart(request);
stretcher.preroll(request);
Expand Down

0 comments on commit 1282b7d

Please sign in to comment.