diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-11-03 18:55:03 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-11-03 18:55:03 +0100 |
commit | 618ccf981bf16e848912cf8c4d72f58c7134642a (patch) | |
tree | 540fad9cbaa9dbf8d0f1b91adddd5300319cacd7 /drumgizmo | |
parent | 3176ea311ab6ad13546f8410f4f2ebc9ef229df3 (diff) |
Use Drumgizmo::setSamplerate to control resampler target samplerate.
Diffstat (limited to 'drumgizmo')
-rw-r--r-- | drumgizmo/drumgizmoc.cc | 2 |
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; |