Skip to content

Commit

Permalink
Buildfix symbian, qt
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed May 1, 2016
1 parent 9e9baf6 commit ed0564c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions Core/Util/TimeStretcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ namespace AudioCore {

TimeStretcher::~TimeStretcher() {
impl->soundtouch.clear();
delete impl;
}

void TimeStretcher::SetOutputSampleRate(unsigned int sample_rate) {
Expand Down
2 changes: 1 addition & 1 deletion Core/Util/TimeStretcher.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ namespace AudioCore {

private:
struct Impl;
std::unique_ptr<Impl> impl;
Impl *impl;

/// INTERNAL: Clamp ratio within limits.
static double ClampRatio(double ratio);
Expand Down
2 changes: 2 additions & 0 deletions Qt/Core.pro
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ SOURCES += $$P/Core/*.cpp \ # Core
$$P/Core/Util/GameManager.cpp \
$$P/Core/Util/ppge_atlas.cpp \
$$P/Core/Util/PPGeDraw.cpp \
$$P/Core/Util/TimeStretcher.cpp \
$$P/ext/libkirk/*.c \ # Kirk
$$P/ext/sfmt19937/*.c

Expand All @@ -62,6 +63,7 @@ HEADERS += $$P/Core/*.h \
$$P/Core/Util/GameManager.h \
$$P/Core/Util/ppge_atlas.h \
$$P/Core/Util/PPGeDraw.h \
$$P/Core/Util/TimeStretcher.h \
$$P/ext/libkirk/*.h \
$$P/ext/sfmt19937/*.h

Expand Down

0 comments on commit ed0564c

Please sign in to comment.