summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2019-07-25 17:49:16 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2019-09-28 20:37:47 +0200
commit9d1ea1e7cfa256c7f5cac027382d92f658734ccb (patch)
tree39ec7cdaa8ed571137430ccbbc0a391bb27427a3 /test
parentcd9af98abdce1fe3759e786d6b010a7fe3395e2c (diff)
Add generic logger interface for propagating messages while loading drumkits to the commandline
and/or plugin UI.
Diffstat (limited to 'test')
-rw-r--r--test/audiocachefiletest.cc2
-rw-r--r--test/audiocachetest.cc4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/audiocachefiletest.cc b/test/audiocachefiletest.cc
index 267d787..f1473de 100644
--- a/test/audiocachefiletest.cc
+++ b/test/audiocachefiletest.cc
@@ -99,7 +99,7 @@ public:
for(size_t c = 0; c < 13; ++c)
{
ref_file[c] = new AudioFile(filename, c);
- ref_file[c]->load();
+ ref_file[c]->load(nullptr);
}
std::vector<sample_t> read_buffer;
diff --git a/test/audiocachetest.cc b/test/audiocachetest.cc
index 1ad863e..74c7df4 100644
--- a/test/audiocachetest.cc
+++ b/test/audiocachetest.cc
@@ -62,12 +62,12 @@ public:
// Reference file:
AudioFile audio_file_ref(filename, channel);
printf("audio_file_ref.load\n");
- audio_file_ref.load();
+ audio_file_ref.load(nullptr);
// Input file:
AudioFile audio_file(filename, channel);
printf("audio_file.load\n");
- audio_file.load(4096);
+ audio_file.load(nullptr, 4096);
Settings settings;
AudioCache audio_cache(settings);