Commit 6510ad0d authored by Julien Wadel's avatar Julien Wadel
Browse files

UWP : quickfix

parent 75d4cff7
......@@ -401,6 +401,7 @@ public:
size_t inputlen;
size_t returnlen;
uint8_t capabilities = 0;
int err;
inputlen = wcslen(DeviceName->Data())+1;
returnlen = inputlen * 2;
......@@ -416,6 +417,9 @@ public:
case DeviceClass::AudioCapture:
capabilities = MS_SND_CARD_CAP_CAPTURE;
break;
default:
capabilities = MS_SND_CARD_CAP_PLAYBACK | MS_SND_CARD_CAP_CAPTURE;
break;
}
for (; elem != NULL; elem = elem->next) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment