* Pull across from main repo: Fix silent channel of output when processing with band-limited transients option; include libresample support. Also update copyright dates.

This commit is contained in:
Chris Cannam
2011-01-07 21:46:36 +00:00
parent 99ba629361
commit 0b8c1bd90b
58 changed files with 3327 additions and 3176 deletions

View File

@@ -3,7 +3,7 @@
/*
Rubber Band
An audio time-stretching and pitch-shifting library.
Copyright 2007-2010 Chris Cannam.
Copyright 2007-2011 Chris Cannam.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@ -33,6 +33,8 @@ using namespace RubberBand;
namespace RubberBand
{
typedef double process_t;
class AudioCurveCalculator;
class StretchCalculator;
@@ -119,9 +121,9 @@ protected:
size_t roundUp(size_t value); // to next power of two
template <typename T>
template <typename T, typename S>
void cutShiftAndFold(T *target, int targetSize,
float *src, // destructive to src
S *src, // destructive to src
Window<float> *window) {
window->cut(src);
const int windowSize = window->getSize();