MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / packDsiData

Method packDsiData

Source/Lua/CtrlrLuaUtils.cpp:116–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114}
115
116LMemoryBlock *CtrlrLuaUtils::packDsiData (MemoryBlock &dataToPack)
117{
118 UnpackedVoice unpacked,packed;
119 unpacked.data = (uint8*)dataToPack.getData();
120 unpacked.size = (int)dataToPack.getSize();
121
122 packed = packDsiMidiData(unpacked);
123
124 return (new LMemoryBlock ((uint8 *)packed.data, packed.size));
125}
126
127void CtrlrLuaUtils::warnWindow (const String title, const String message)
128{

Callers

nothing calls this directly

Calls 3

packDsiMidiDataFunction · 0.85
getDataMethod · 0.45
getSizeMethod · 0.45

Tested by

no test coverage detected