summaryrefslogtreecommitdiff
path: root/include/mossrose.h
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-08-31 14:34:22 -0500
committersanine <sanine.not@pm.me>2022-08-31 14:34:22 -0500
commit48e6520f6517f196a0a8f39bf86159075ad44c6b (patch)
tree505134e8bd48b740feb2b952dae7945cfedfd76f /include/mossrose.h
parent54351358e17b36212872313f4a820d59f14fdf12 (diff)
finish basic implementation
Diffstat (limited to 'include/mossrose.h')
-rw-r--r--include/mossrose.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/mossrose.h b/include/mossrose.h
index 44d5477..81f71db 100644
--- a/include/mossrose.h
+++ b/include/mossrose.h
@@ -11,10 +11,14 @@ struct mossrose_sound_t {
size_t len;
};
-int mossrose_init(double sample_rate, int n_channels);
+int mossrose_init(double sample_rate, int n_channels, bool init_plibsys);
int mossrose_terminate();
int mossrose_play(struct mossrose_sound_t *sound, int channel);
+void mossrose_channel_set_volume(int channel, float volume);
+void mossrose_channel_set_pan(int channel, float left, float right);
+void mossrose_channel_pause(int channel);
+void mossrose_channel_resume(int channel);
#endif