Memory reporting by OSC
This commit is contained in:
parent
57a002972d
commit
d1be18c0d9
1 changed files with 7 additions and 0 deletions
|
|
@ -88,6 +88,13 @@ void sfz::Synth::dispatchMessage(Client& client, int delay, const char* path, co
|
|||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
MATCH("/mem/buffers", "") {
|
||||
uint64_t total = BufferCounter::counter().getTotalBytes();
|
||||
client.receive<'h'>(delay, path, total);
|
||||
} break;
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
MATCH("/region&/delay", "") {
|
||||
GET_REGION_OR_BREAK(indices[0])
|
||||
client.receive<'f'>(delay, path, region.delay);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue