Call CloseComponent after AudioUnitUninitialize.

This commit is contained in:
Emanuele Giaquinta 2008-12-17 15:47:13 +01:00 committed by Max Kellermann
parent f5bbb2b819
commit df80ae86ee

View File

@ -128,8 +128,8 @@ static void osx_closeDevice(void *data)
od->started = 0;
}
CloseComponent(od->au);
AudioUnitUninitialize(od->au);
CloseComponent(od->au);
}
static OSStatus