1 parent 9bd46dc commit a95f4eaCopy full SHA for a95f4ea
1 file changed
doc/fake__sounddevice.py
@@ -1,6 +1,13 @@
1
"""Mock module for Sphinx autodoc."""
2
3
4
+import ctypes
5
+
6
7
+# Monkey-patch ctypes to disable searching for PortAudio
8
+ctypes.util.find_library = lambda _: NotImplemented
9
10
11
class ffi(object):
12
13
NULL = NotImplemented
0 commit comments