summaryrefslogtreecommitdiff
path: root/src/channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/channel.c')
-rw-r--r--src/channel.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/channel.c b/src/channel.c
index a7a3643..23c3565 100644
--- a/src/channel.c
+++ b/src/channel.c
@@ -56,6 +56,12 @@ void channel_resume(struct channel_t *chan)
}
+void channel_stop(struct channel_t *chan)
+{
+ p_atomic_int_set(&(chan->shared.active), false);
+}
+
+
void channel_set_volume(struct channel_t *chan, float volume)
{
if (volume > 1.0f) volume = 1.0f;