summaryrefslogtreecommitdiff
path: root/drumgizmo/drumgizmoc.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-11-03 18:55:03 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2014-11-03 18:55:03 +0100
commit618ccf981bf16e848912cf8c4d72f58c7134642a (patch)
tree540fad9cbaa9dbf8d0f1b91adddd5300319cacd7 /drumgizmo/drumgizmoc.cc
parent3176ea311ab6ad13546f8410f4f2ebc9ef229df3 (diff)
Use Drumgizmo::setSamplerate to control resampler target samplerate.
Diffstat (limited to 'drumgizmo/drumgizmoc.cc')
-rw-r--r--drumgizmo/drumgizmoc.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/drumgizmo/drumgizmoc.cc b/drumgizmo/drumgizmoc.cc
index c96736f..d5fa817 100644
--- a/drumgizmo/drumgizmoc.cc
+++ b/drumgizmo/drumgizmoc.cc
@@ -248,6 +248,8 @@ int main(int argc, char *argv[])
return 1;
}
+ gizmo.setSamplerate(oe->samplerate());
+
if(!gizmo.init(preload)) {
printf("Failed init engine.\n");
return 1;