Fixed GCC build

This commit is contained in:
Daniel Wolf 2016-04-12 23:04:16 +02:00
parent da06576edc
commit db6f2e076b
3 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,6 @@
#include "DCOffset.h"
#include <gsl_util.h>
#include <cmath>
DCOffset::DCOffset(std::unique_ptr<AudioStream> inputStream, float offset) :
inputStream(std::move(inputStream)),

View File

@ -37,7 +37,7 @@ WaveFileReader::WaveFileReader(boost::filesystem::path filePath) :
std::streamoff fileSize = file.tellg();
file.seekg(0);
auto remaining = [&](size_t byteCount) {
auto remaining = [&](int byteCount) {
std::streamoff filePosition = file.tellg();
return byteCount <= fileSize - filePosition;
};

View File

@ -1,6 +1,7 @@
#pragma once
#include <chrono>
#include <ostream>
typedef std::chrono::duration<int, std::centi> centiseconds;