aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_control.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-24 07:14:11 +0200
committerMax Kellermann <max@duempel.org>2008-09-24 07:14:11 +0200
commita0272c2d615e4579e8efb767cc6c28302b2c92cd (patch)
treef8868d8df4a4fd6defbb17db3d5d438903cbeff5 /src/decoder_control.h
parentee1d723ad7ec94e0db09ae8bab61a8952bfaaa32 (diff)
downloadmpd-a0272c2d615e4579e8efb767cc6c28302b2c92cd.tar.gz
mpd-a0272c2d615e4579e8efb767cc6c28302b2c92cd.tar.xz
mpd-a0272c2d615e4579e8efb767cc6c28302b2c92cd.zip
notify: added notify_deinit()
Destroy the mutex when it is not used anymore.
Diffstat (limited to '')
-rw-r--r--src/decoder_control.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/decoder_control.h b/src/decoder_control.h
index 8c19d3d50..af777fb31 100644
--- a/src/decoder_control.h
+++ b/src/decoder_control.h
@@ -58,6 +58,8 @@ extern struct decoder_control dc;
void dc_init(void);
+void dc_deinit(void);
+
static inline int decoder_is_idle(void)
{
return dc.state == DECODE_STATE_STOP &&