File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 2323sys .path .insert (0 , os .path .abspath ('.' ))
2424
2525# Fake import to avoid actually loading CFFI and the PortAudio library
26- import fake_cffi
27- sys .modules ['cffi ' ] = sys .modules ['fake_cffi ' ]
26+ import fake__sounddevice
27+ sys .modules ['_sounddevice ' ] = sys .modules ['fake__sounddevice ' ]
2828
2929# -- General configuration ------------------------------------------------
3030
Original file line number Diff line number Diff line change 11"""Mock module for Sphinx autodoc."""
22
33
4- class FFI (object ):
4+ class ffi (object ):
55
66 NULL = NotImplemented
77 I_AM_FAKE = True # This is used for the documentation of "default"
88
9- def cdef (self , _ ):
10- pass
11-
129 def dlopen (self , _ ):
1310 return FakeLibrary ()
1411
1512
13+ ffi = ffi ()
14+
15+
1616class FakeLibrary (object ):
1717
1818 # from portaudio.h:
You can’t perform that action at this time.
0 commit comments