mirror of
https://github.com/DanielSWolf/rhubarb-lip-sync.git
synced 2026-11-21 12:25:08 +00:00
Fixed GCC build
This commit is contained in:
@@ -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)),
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <chrono>
|
||||
#include <ostream>
|
||||
|
||||
typedef std::chrono::duration<int, std::centi> centiseconds;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user