mirror of
https://github.com/encounter/SDL.git
synced 2025-12-12 22:56:09 +00:00
Merge commit 'fcbf19b764a9f6fed1db6a1d79a2f2f3fa1338d6' into main
This commit is contained in:
@@ -165,6 +165,7 @@ aaudio_CloseDevice(_THIS)
|
||||
aaudio_result_t res;
|
||||
LOGI(__func__);
|
||||
|
||||
if (private->stream) {
|
||||
res = ctx.AAudioStream_requestStop(private->stream);
|
||||
if (res != AAUDIO_OK) {
|
||||
LOGI("SDL Failed AAudioStream_requestStop %d", res);
|
||||
@@ -178,6 +179,7 @@ aaudio_CloseDevice(_THIS)
|
||||
SDL_SetError("%s : %s", __func__, ctx.AAudio_convertResultToText(res));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (this->iscapture) {
|
||||
SDL_assert(captureDevice == this);
|
||||
|
||||
Reference in New Issue
Block a user