mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-23 00:34:03 +02:00
Tighten up ma_context_get_backend_info().
This commit is contained in:
+7
-1
@@ -44790,7 +44790,13 @@ MA_API void* ma_context_get_backend_state(ma_context* pContext)
|
||||
|
||||
MA_API void ma_context_get_backend_info(ma_context* pContext, ma_device_backend_info* pBackendInfo)
|
||||
{
|
||||
if (pContext == NULL || pBackendInfo == NULL) {
|
||||
if (pBackendInfo == NULL) {
|
||||
return;
|
||||
}
|
||||
|
||||
MA_ZERO_OBJECT(pBackendInfo);
|
||||
|
||||
if (pContext == NULL) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user