diff options
author | sanine <sanine.not@pm.me> | 2022-08-31 11:51:54 -0500 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2022-08-31 11:51:54 -0500 |
commit | 54351358e17b36212872313f4a820d59f14fdf12 (patch) | |
tree | ecbbf34f0d2958600956c485d3f1739279b7ee81 /src/channel.h | |
parent | b4db9391540442f9708388731d5bcd6fc59b6f5c (diff) |
add channel sound loading
Diffstat (limited to 'src/channel.h')
-rw-r--r-- | src/channel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/channel.h b/src/channel.h index ec1f645..d4ff6ee 100644 --- a/src/channel.h +++ b/src/channel.h @@ -26,6 +26,7 @@ void channel_pause(struct channel_t *chan); void channel_resume(struct channel_t *chan); void channel_set_volume(struct channel_t *chan, float volume); void channel_set_pan(struct channel_t *chan, float pan_left, float pan_right); +int channel_sound_load(struct channel_t *chan, struct mossrose_sound_t *sound, bool force); void channel_get_next_sample(float *left, float *right, struct channel_t *chan); |