70 template <
typename...
Data>
74 jassert (size > 3 ||
byte1 >= 0xf0 || getMessageLengthFromFirstByte ((uint8)
byte1) == size);
77 memcpy (allocateSpace (size), data, (
size_t) size);
148 String getDescription()
const;
605 double getTempoMetaEventTickLength (
short timeFormat)
const noexcept;
785 void getFullFrameParameters (
int& hours,
807 mmc_deferredplay = 3,
825 MidiMachineControlCommand getMidiMachineControlCommand()
const noexcept;
828 static MidiMessage midiMachineControlCommand (MidiMachineControlCommand command);
834 bool isMidiMachineControlGoto (
int& hours,
868 static int readVariableLengthVal (
const uint8* data,
942 uint8* allocatedData;
943 uint8
asBytes[
sizeof (uint8*)];
946 PackedData packedData;
947 double timeStamp = 0;
951 inline bool isHeapAllocated() const noexcept {
return size > (int)
sizeof (packedData); }
952 inline uint8* getData() const noexcept {
return isHeapAllocated() ? packedData.allocatedData : (uint8*) packedData.asBytes; }
953 uint8* allocateSpace (
int);