Fixed GCC build
This commit is contained in:
parent
da06576edc
commit
db6f2e076b
|
@ -1,5 +1,6 @@
|
||||||
#include "DCOffset.h"
|
#include "DCOffset.h"
|
||||||
#include <gsl_util.h>
|
#include <gsl_util.h>
|
||||||
|
#include <cmath>
|
||||||
|
|
||||||
DCOffset::DCOffset(std::unique_ptr<AudioStream> inputStream, float offset) :
|
DCOffset::DCOffset(std::unique_ptr<AudioStream> inputStream, float offset) :
|
||||||
inputStream(std::move(inputStream)),
|
inputStream(std::move(inputStream)),
|
||||||
|
|
|
@ -37,7 +37,7 @@ WaveFileReader::WaveFileReader(boost::filesystem::path filePath) :
|
||||||
std::streamoff fileSize = file.tellg();
|
std::streamoff fileSize = file.tellg();
|
||||||
file.seekg(0);
|
file.seekg(0);
|
||||||
|
|
||||||
auto remaining = [&](size_t byteCount) {
|
auto remaining = [&](int byteCount) {
|
||||||
std::streamoff filePosition = file.tellg();
|
std::streamoff filePosition = file.tellg();
|
||||||
return byteCount <= fileSize - filePosition;
|
return byteCount <= fileSize - filePosition;
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
|
#include <ostream>
|
||||||
|
|
||||||
typedef std::chrono::duration<int, std::centi> centiseconds;
|
typedef std::chrono::duration<int, std::centi> centiseconds;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue