aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/backend.h
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2021-07-02 02:08:26 +0200
committercbdev <cb@cbcdn.com>2021-07-02 02:08:26 +0200
commit1654245bf80013a96434cb4c60e6583ab7522f1b (patch)
tree665ade2185e5eab4f8415462db14ba5eb84777b6 /core/backend.h
parent6a3f12be67f70f07d3ae93edfd7b14c02c61f68f (diff)
downloadmidimonster-1654245bf80013a96434cb4c60e6583ab7522f1b.tar.gz
midimonster-1654245bf80013a96434cb4c60e6583ab7522f1b.tar.bz2
midimonster-1654245bf80013a96434cb4c60e6583ab7522f1b.zip
Add frontend interval API
Diffstat (limited to 'core/backend.h')
-rw-r--r--core/backend.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/backend.h b/core/backend.h
index 1f85424..6c1fe22 100644
--- a/core/backend.h
+++ b/core/backend.h
@@ -10,6 +10,9 @@ int backends_start();
int backends_stop();
instance* mm_instance(backend* b);
+/* Frontend API */
+void mm_default_interval(uint32_t interval, uint8_t force);
+
/* Public backend API */
MM_API channel* mm_channel(instance* inst, uint64_t ident, uint8_t create);
MM_API void mm_channel_update(channel* chan, uint64_t ident);