fix build

This commit is contained in:
tildearrow 2023-08-31 04:39:19 -05:00
parent fa7405090e
commit 5a9402abcd
1 changed files with 2 additions and 0 deletions

View File

@ -221,6 +221,7 @@ bool TAAudioPA::init(TAAudioDesc& request, TAAudioDesc& response) {
outParams.hostApiSpecificStreamInfo=NULL;
if (driverInfo!=NULL) {
#ifdef _WIN32
if (driverInfo->type==paWASAPI) {
logV("setting WASAPI-specific flags");
PaWasapiStreamInfo* wasapiInfo=new PaWasapiStreamInfo;
@ -239,6 +240,7 @@ bool TAAudioPA::init(TAAudioDesc& request, TAAudioDesc& response) {
outParams.hostApiSpecificStreamInfo=wasapiInfo;
}
#endif
}
logV("opening audio device...");