-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
This issue popped up as I was browsing the Glitch Artists Collective: Tool Time facebook group. One of the users said it was unable to load files that were >100MB, so I rendered out 2 hours of white noise in audacity and tried to load it, and voilà, this message popped up in the terminal:
refusing to load sample files bigger than 100 MB
This error is generated in SampleBuffer.cpp
where the loading breaks if the file is too large:
lmms/src/core/SampleBuffer.cpp
Lines 204 to 208 in 919ca8b
if( fileInfo.size() > 100*1024*1024 ) | |
{ | |
qWarning( "refusing to load sample files bigger " | |
"than 100 MB" ); | |
} |
Now, this change was added by @tobydox back in '09 to fix a bug - #2458375
, which I can't find and it's either forever gone or buried on sourceforge somewhere.
Now, I don't want to blindly remove that break without knowing the context of the bug, but 100MB is very limiting when dealing with uncompressed audio, not just for the purpose of databending, but also when remixing longer tracks and importing stems, so input on this is appreciated.