diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mossrose.h | 6 |
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 |