diff options
author | Colin Fletcher <colin.m.fletcher@googlemail.com> | 2016-07-17 17:04:35 +0100 |
---|---|---|
committer | Colin Fletcher <colin.m.fletcher@googlemail.com> | 2016-07-17 17:04:35 +0100 |
commit | 21bb604fc18ebe1eb79eae4a3ccca6fde63144e0 (patch) | |
tree | df62957e5ac9224c8dba0ba5dceaa96b122f6842 | |
parent | 7d7755ffb6b2a1d60a5833895272a9b7611114fd (diff) |
fix build of test suite
Fix build of audiographer tests after changes to TmpFile in 77687519.
-rw-r--r-- | libs/audiographer/tests/sndfile/tmp_file_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/audiographer/tests/sndfile/tmp_file_test.cc b/libs/audiographer/tests/sndfile/tmp_file_test.cc index 32e39135ec..9748623f37 100644 --- a/libs/audiographer/tests/sndfile/tmp_file_test.cc +++ b/libs/audiographer/tests/sndfile/tmp_file_test.cc @@ -1,5 +1,5 @@ #include "tests/utils.h" -#include "audiographer/sndfile/tmp_file.h" +#include "audiographer/sndfile/tmp_file_sync.h" using namespace AudioGrapher; @@ -24,7 +24,7 @@ class TmpFileTest : public CppUnit::TestFixture void testProcess() { uint32_t channels = 2; - file.reset (new TmpFile<float>(SF_FORMAT_WAV | SF_FORMAT_FLOAT, channels, 44100)); + file.reset (new TmpFileSync<float>(SF_FORMAT_WAV | SF_FORMAT_FLOAT, channels, 44100)); AllocatingProcessContext<float> c (random_data, frames, channels); c.set_flag (ProcessContext<float>::EndOfInput); file->process (c); @@ -37,7 +37,7 @@ class TmpFileTest : public CppUnit::TestFixture } private: - boost::shared_ptr<TmpFile<float> > file; + boost::shared_ptr<TmpFileSync<float> > file; float * random_data; framecnt_t frames; |