are you for real right now
This commit is contained in:
parent
be3b4da834
commit
8f9f37f424
|
@ -1623,7 +1623,7 @@ int DivEngine::getEffectiveSampleRate(int rate) {
|
|||
|
||||
void DivEngine::previewSample(int sample) {
|
||||
isBusy.lock();
|
||||
if (sample<0 || sample>(int)song.sample.size()) {
|
||||
if (sample<0 || sample>=(int)song.sample.size()) {
|
||||
sPreview.sample=-1;
|
||||
sPreview.pos=0;
|
||||
isBusy.unlock();
|
||||
|
|
Loading…
Reference in New Issue