Audaspace: add support for WASAPI on Windows
This adds WASAPI as audio backend on Windows. WASAPI is the modern standard audio API on Windows introduced with Windows Vista. Ref T86590
This commit is contained in:
@@ -51,6 +51,7 @@ static PyStructSequence_Field app_builtopts_info_fields[] = {
|
||||
{"sdl_dynload", NULL},
|
||||
{"jack", NULL},
|
||||
{"pulseaudio", NULL},
|
||||
{"wasapi", NULL},
|
||||
{"libmv", NULL},
|
||||
{"mod_oceansim", NULL},
|
||||
{"mod_remesh", NULL},
|
||||
@@ -224,6 +225,12 @@ static PyObject *make_builtopts_info(void)
|
||||
SetObjIncref(Py_False);
|
||||
#endif
|
||||
|
||||
#ifdef WITH_WASAPI
|
||||
SetObjIncref(Py_True);
|
||||
#else
|
||||
SetObjIncref(Py_False);
|
||||
#endif
|
||||
|
||||
#ifdef WITH_LIBMV
|
||||
SetObjIncref(Py_True);
|
||||
#else
|
||||
|
Reference in New Issue
Block a user