Audaspace: add support for CoreAudio on macOS
This adds CoreAudio as audio backend on macOS. CoreAudio is the standard audio API on macOS. Ref T86590
This commit is contained in:
@@ -49,6 +49,7 @@ static PyStructSequence_Field app_builtopts_info_fields[] = {
|
||||
{"opensubdiv", NULL},
|
||||
{"sdl", NULL},
|
||||
{"sdl_dynload", NULL},
|
||||
{"coreaudio", NULL},
|
||||
{"jack", NULL},
|
||||
{"pulseaudio", NULL},
|
||||
{"wasapi", NULL},
|
||||
@@ -213,6 +214,12 @@ static PyObject *make_builtopts_info(void)
|
||||
SetObjIncref(Py_False);
|
||||
#endif
|
||||
|
||||
#ifdef WITH_COREAUDIO
|
||||
SetObjIncref(Py_True);
|
||||
#else
|
||||
SetObjIncref(Py_False);
|
||||
#endif
|
||||
|
||||
#ifdef WITH_JACK
|
||||
SetObjIncref(Py_True);
|
||||
#else
|
||||
|
Reference in New Issue
Block a user