From 9f9bc376e5cc48c0e4d0d079cd374000bf83c259 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 28 Jan 2016 13:35:45 +0100 Subject: Preload the entire file. Don't mess with the CHUNKSIZE... --- src/drumkitloader.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/drumkitloader.cc') 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++; -- cgit v1.2.3