notify: added notify_deinit()

Destroy the mutex when it is not used anymore.
This commit is contained in:
Max Kellermann
2008-09-24 07:14:11 +02:00
parent ee1d723ad7
commit a0272c2d61
9 changed files with 36 additions and 0 deletions

View File

@@ -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);