mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-24 01:04:02 +02:00
AAudio: Fix a bug with device enumeration.
This commit is contained in:
+1
-1
@@ -40711,7 +40711,7 @@ static ma_bool32 ma_context_enumerate_device_from_type__aaudio(ma_context* pCont
|
|||||||
ma_device_info deviceInfo;
|
ma_device_info deviceInfo;
|
||||||
|
|
||||||
result = ma_open_stream_basic__aaudio(pContext, NULL, deviceType, ma_share_mode_shared, &pStream);
|
result = ma_open_stream_basic__aaudio(pContext, NULL, deviceType, ma_share_mode_shared, &pStream);
|
||||||
if (result == MA_SUCCESS) {
|
if (result != MA_SUCCESS) {
|
||||||
return MA_TRUE;
|
return MA_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user