Compare commits
2 Commits
default
...
d0026758c1
| Author | SHA1 | Date | |
|---|---|---|---|
| d0026758c1 | |||
| e47115b94f |
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
[submodule "src/ext/libsndfile"]
|
||||
path = src/ext/libsndfile
|
||||
url = https://github.com/libsndfile/libsndfile.git
|
||||
@@ -3,7 +3,7 @@ project(rubberband)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
|
||||
set(CMAKE_CXX_FLAGS "-DUSE_BQRESAMPLER -DHAVE_KISSFFT")
|
||||
set(CMAKE_CXX_FLAGS "-DNOMINMAX -DUSE_BQRESAMPLER -DHAVE_KISSFFT")
|
||||
|
||||
#include_directories(mpg123/lib/x86_64/include)
|
||||
include_directories(
|
||||
|
||||
@@ -49,7 +49,6 @@ using RubberBand::gettimeofday;
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define NOMINMAX
|
||||
#include <windows.h>
|
||||
static void usleep(unsigned long usec) {
|
||||
::Sleep(usec == 0 ? 0 : usec < 1000 ? 1 : usec / 1000);
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
|
||||
#define NOMINMAX
|
||||
|
||||
/*
|
||||
Rubber Band Library
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
under terms other than those of the GNU General Public License,
|
||||
you must obtain a valid commercial licence before doing so.
|
||||
*/
|
||||
#define NOMINMAX
|
||||
|
||||
#include "BQResampler.h"
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
|
||||
#define NOMINMAX
|
||||
|
||||
/*
|
||||
Rubber Band Library
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
#include "VectorOpsComplex.h"
|
||||
|
||||
//#include "system/sysutils.h"
|
||||
#include "system/sysutils.h"
|
||||
|
||||
#include <cassert>
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include "sysutils.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#define NOMINMAX
|
||||
#include <windows.h>
|
||||
#include <fcntl.h>
|
||||
#include <io.h>
|
||||
|
||||
1
src/ext/libsndfile
Submodule
1
src/ext/libsndfile
Submodule
Submodule src/ext/libsndfile added at 68f6c16fe1
@@ -1,7 +1,5 @@
|
||||
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
|
||||
|
||||
#define NOMINMAX
|
||||
|
||||
/*
|
||||
Rubber Band Library
|
||||
An audio time-stretching and pitch-shifting library.
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
under terms other than those of the GNU General Public License,
|
||||
you must obtain a valid commercial licence before doing so.
|
||||
*/
|
||||
#define NOMINMAX
|
||||
|
||||
#include "StretcherChannelData.h"
|
||||
|
||||
@@ -28,9 +27,6 @@
|
||||
#include "../common/Allocators.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <utility>
|
||||
|
||||
using std::max;
|
||||
|
||||
namespace RubberBand
|
||||
{
|
||||
@@ -118,7 +114,7 @@ void
|
||||
R2Stretcher::ChannelData::setSizes(size_t windowSize,
|
||||
size_t fftSize)
|
||||
{
|
||||
size_t maxSize = 2*std::max(windowSize, fftSize);
|
||||
size_t maxSize = 2 * std::max(windowSize, fftSize);
|
||||
size_t realSize = maxSize / 2 + 1;
|
||||
size_t oldMax = inbuf->getSize();
|
||||
size_t oldReal = oldMax / 2 + 1;
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
|
||||
#define NOMINMAX
|
||||
|
||||
/*
|
||||
Rubber Band Library
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
|
||||
#define NOMINMAX
|
||||
|
||||
/*
|
||||
Rubber Band Library
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
|
||||
#define NOMINMAX
|
||||
|
||||
/*
|
||||
Rubber Band Library
|
||||
|
||||
Reference in New Issue
Block a user