fix build
This commit is contained in:
parent
fa7405090e
commit
5a9402abcd
|
@ -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...");
|
||||
|
|
Loading…
Reference in New Issue