mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 08:14:04 +02:00
ALSA: Close asound.so when the context is uninitialized.
This commit is contained in:
@@ -5941,7 +5941,7 @@ mal_result mal_context_uninit__alsa(mal_context* pContext)
|
|||||||
mal_assert(pContext != NULL);
|
mal_assert(pContext != NULL);
|
||||||
mal_assert(pContext->backend == mal_backend_alsa);
|
mal_assert(pContext->backend == mal_backend_alsa);
|
||||||
|
|
||||||
(void)pContext;
|
mal_dlclose(pContext->alsa.asoundSO);
|
||||||
return MAL_SUCCESS;
|
return MAL_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user