summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/dgreftest/dgreftest.cc2
-rw-r--r--test/engine.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/dgreftest/dgreftest.cc b/test/dgreftest/dgreftest.cc
index 072dcdc..7d9d00c 100644
--- a/test/dgreftest/dgreftest.cc
+++ b/test/dgreftest/dgreftest.cc
@@ -86,7 +86,7 @@ int main(int argc, char* argv[])
oe->setParm("file", reffile.c_str());
oe->setParm("srate", "44100");
- DrumGizmo drumgizmo(settings, oe.get(), &ie);
+ DrumGizmo drumgizmo(settings, *oe.get(), ie);
drumgizmo.setRandomSeed(seed);
drumgizmo.setFreeWheel(true); // Run in-sync with disk-cache
drumgizmo.setFrameSize(oe->getBufferSize());
diff --git a/test/engine.cc b/test/engine.cc
index 8f417e0..c607ded 100644
--- a/test/engine.cc
+++ b/test/engine.cc
@@ -76,7 +76,7 @@ public:
Settings settings;
AudioOutputEngineDummy oe;
AudioInputEngineDummy ie;
- DrumGizmo dg(settings, &oe, &ie);
+ DrumGizmo dg(settings, oe, ie);
dg.setFrameSize(100);
// Switch kits emmidiately without giving the loader time to work: