summaryrefslogtreecommitdiff
path: root/src/drumkitloader.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-01-28 13:35:45 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2016-01-28 13:35:45 +0100
commit9f9bc376e5cc48c0e4d0d079cd374000bf83c259 (patch)
treeb7593151bcf94f2d8df0e9e52ec3a625415b4f80 /src/drumkitloader.cc
parente833fb72d3838b22c73d663eb45ba96122a080bc (diff)
Preload the entire file. Don't mess with the CHUNKSIZE...
Diffstat (limited to 'src/drumkitloader.cc')
-rw-r--r--src/drumkitloader.cc3
1 files changed, 2 insertions, 1 deletions
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++;