diff options
-rw-r--r-- | src/audiocache.h | 3 | ||||
-rw-r--r-- | src/drumkitloader.cc | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/audiocache.h b/src/audiocache.h index 9d70ea8..06493e6 100644 --- a/src/audiocache.h +++ b/src/audiocache.h @@ -37,8 +37,7 @@ #include "audiocacheidmanager.h" #include "audiocacheeventhandler.h" -// 20 seconds * 96kHz * sizeof(float) * 16 channels / 16 samples buffer size -#define CHUNK_MULTIPLIER (20 * 96000 * 4 * 16 / 16) //16 +#define CHUNK_MULTIPLIER 16 //TODO: diff --git a/src/drumkitloader.cc b/src/drumkitloader.cc index 3fa8420..0a44db0 100644 --- a/src/drumkitloader.cc +++ b/src/drumkitloader.cc @@ -158,7 +158,8 @@ void DrumKitLoader::thread_main() { preload_size = 1024; } - audiofile->load(preload_size); + (void)preload_size; + audiofile->load(ALL_SAMPLES); // Note: Change this to enable diskstreaming } loaded++; |