Call CloseComponent after AudioUnitUninitialize.
This commit is contained in:
parent
f5bbb2b819
commit
df80ae86ee
|
@ -128,8 +128,8 @@ static void osx_closeDevice(void *data)
|
||||||
od->started = 0;
|
od->started = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
CloseComponent(od->au);
|
|
||||||
AudioUnitUninitialize(od->au);
|
AudioUnitUninitialize(od->au);
|
||||||
|
CloseComponent(od->au);
|
||||||
}
|
}
|
||||||
|
|
||||||
static OSStatus
|
static OSStatus
|
||||||
|
|
Loading…
Reference in New Issue