This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
Carla
mirror of
https://github.com/falkTX/Carla
Watch
1
Star
0
Fork
0
Code
Releases
42
Activity
Browse Source
midifile: make sure to start new files at frame 0
Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.3.0-RC2
falkTX
3 years ago
parent
1ec5d840fa
commit
b5e253e18c
Signed by:
falkTX
<falktx@falktx.com>
GPG Key ID:
CDBAA37ABC74FBA0
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
source/native-plugins/midi-file.cpp
+ 2
- 0
source/native-plugins/midi-file.cpp
View File
@@ -394,6 +394,8 @@ private:
fFileLength = midiFile.getLastTimestamp();
fNeedsAllNotesOff = true;
fInternalTransportFrame = 0;
fLastFrame = 0;
fMaxFrame = static_cast<uint32_t>(fFileLength * sampleRate + 0.5);
}
Write
Preview
Loading…
Cancel
Save