aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmanuele Giaquinta <e.giaquinta@glauco.it>2008-12-17 15:47:13 +0100
committerMax Kellermann <max@duempel.org>2008-12-17 15:56:43 +0100
commitdf80ae86ee0336c50f576ee7b9f1c58aaa70ff97 (patch)
tree86916d9d688413c440a64bb466cd920b4443ae27
parentf5bbb2b81987be9750ccec79b15dda193ef16b11 (diff)
downloadmpd-df80ae86ee0336c50f576ee7b9f1c58aaa70ff97.tar.gz
mpd-df80ae86ee0336c50f576ee7b9f1c58aaa70ff97.tar.xz
mpd-df80ae86ee0336c50f576ee7b9f1c58aaa70ff97.zip
Call CloseComponent after AudioUnitUninitialize.
-rw-r--r--src/output/osx_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/osx_plugin.c b/src/output/osx_plugin.c
index 518f0bd11..1087ddb2d 100644
--- a/src/output/osx_plugin.c
+++ b/src/output/osx_plugin.c
@@ -128,8 +128,8 @@ static void osx_closeDevice(void *data)
od->started = 0;
}
- CloseComponent(od->au);
AudioUnitUninitialize(od->au);
+ CloseComponent(od->au);
}
static OSStatus