mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-11-08 05:23:41 +08:00
fd4ca85d61
Provide alert playback and volume control with a native audio callback that does not depend on the Python GIL. Co-authored-by: Daniel Koepping <elkoled@gmail.com>
7 lines
184 B
Python
7 lines
184 B
Python
Import('env', 'arch')
|
|
|
|
if arch == "comma_arm64":
|
|
native_audio = env.Clone()
|
|
native_audio.Append(CFLAGS=['-std=c11'])
|
|
native_audio.SharedLibrary('audio_mixer', ['audio_mixer.c'])
|