Audaspace: add support for PulseAudio on Linux

This adds PulseAudio as audio backend on Linux.
PulseAudio is the main audio engine used on most,
if not all, Linux distributions today.

Ref T86590
This commit is contained in:
2021-03-02 17:29:18 +01:00
parent 7b8fc307dc
commit d33339ebf4
23 changed files with 728 additions and 2 deletions

View File

@@ -50,6 +50,7 @@ static PyStructSequence_Field app_builtopts_info_fields[] = {
{"sdl", NULL},
{"sdl_dynload", NULL},
{"jack", NULL},
{"pulseaudio", NULL},
{"libmv", NULL},
{"mod_oceansim", NULL},
{"mod_remesh", NULL},
@@ -217,6 +218,12 @@ static PyObject *make_builtopts_info(void)
SetObjIncref(Py_False);
#endif
#ifdef WITH_PULSEAUDIO
SetObjIncref(Py_True);
#else
SetObjIncref(Py_False);
#endif
#ifdef WITH_LIBMV
SetObjIncref(Py_True);
#else