aboutsummaryrefslogtreecommitdiffstats
path: root/src/player_control.c
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/player_control.c
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 'src/player_control.c')
-rw-r--r--src/player_control.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/player_control.c b/src/player_control.c
index d4f8fcaf8..5bc08b776 100644
--- a/src/player_control.c
+++ b/src/player_control.c
@@ -38,6 +38,11 @@ void pc_init(unsigned int buffered_before_play)
pc.softwareVolume = 1000;
}
+void pc_deinit(void)
+{
+ notify_deinit(&pc.notify);
+}
+
static void set_current_song(Song *song)
{
assert(song != NULL);