mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 08:14:04 +02:00
Add isLoopbackSupported to ma_device_backend_info.
This commit is contained in:
@@ -7222,6 +7222,7 @@ END BACKENDS
|
|||||||
typedef struct ma_device_backend_info
|
typedef struct ma_device_backend_info
|
||||||
{
|
{
|
||||||
const char* pName;
|
const char* pName;
|
||||||
|
ma_bool32 isLoopbackSupported;
|
||||||
} ma_device_backend_info;
|
} ma_device_backend_info;
|
||||||
|
|
||||||
|
|
||||||
@@ -23384,6 +23385,7 @@ static void ma_backend_info__wasapi(ma_device_backend_info* pBackendInfo)
|
|||||||
{
|
{
|
||||||
MA_ASSERT(pBackendInfo != NULL);
|
MA_ASSERT(pBackendInfo != NULL);
|
||||||
pBackendInfo->pName = "WASAPI";
|
pBackendInfo->pName = "WASAPI";
|
||||||
|
pBackendInfo->isLoopbackSupported = MA_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static ma_result ma_context_init__wasapi(ma_context* pContext, const void* pContextBackendConfig, void** ppContextState)
|
static ma_result ma_context_init__wasapi(ma_context* pContext, const void* pContextBackendConfig, void** ppContextState)
|
||||||
|
|||||||
Reference in New Issue
Block a user