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
1 changed files with 1 additions and 1 deletions

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