mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
MIDI: Fix timestamps on Universal MIDI Packets
This commit is contained in:
parent
1fbd6dff9b
commit
04583469e1
1 changed files with 1 additions and 3 deletions
|
|
@ -55,9 +55,8 @@ public:
|
|||
|
||||
if (currentPacketLen == Utils::getNumWordsForMessageType (nextPacket.front()))
|
||||
{
|
||||
callback (View (nextPacket.data()), time);
|
||||
callback (View (nextPacket.data()), timeStamp);
|
||||
currentPacketLen = 0;
|
||||
time = timeStamp;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
@ -65,7 +64,6 @@ public:
|
|||
private:
|
||||
std::array<uint32_t, 4> nextPacket;
|
||||
size_t currentPacketLen = 0;
|
||||
double time = 0.0;
|
||||
};
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue