File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,10 +72,10 @@ def get_tag(self):
7272 package_data = package_data ,
7373 zip_safe = zip_safe ,
7474 python_requires = '>=2.6' ,
75- setup_requires = [" CFFI>=1.0" ],
75+ setup_requires = [' CFFI>=1.0' ],
7676 install_requires = ['CFFI>=1.0' ],
7777 extras_require = {'NumPy' : ['NumPy' ]},
78- cffi_modules = [" sounddevice_build.py:ffibuilder" ],
78+ cffi_modules = [' sounddevice_build.py:ffibuilder' ],
7979 author = 'Matthias Geier' ,
8080 author_email = 'Matthias.Geier@gmail.com' ,
8181 description = 'Play and Record Sound with Python' ,
Original file line number Diff line number Diff line change @@ -2060,7 +2060,7 @@ class PortAudioError(Exception):
20602060 def __str__ (self ):
20612061 errormsg = self .args [0 ] if self .args else ''
20622062 if len (self .args ) > 1 :
2063- errormsg = " {0} [PaErrorCode {1}]" .format (errormsg , self .args [1 ])
2063+ errormsg = ' {0} [PaErrorCode {1}]' .format (errormsg , self .args [1 ])
20642064 if len (self .args ) > 2 :
20652065 host_api , hosterror_code , hosterror_text = self .args [2 ]
20662066 hostname = query_hostapis (host_api )['name' ]
@@ -2556,7 +2556,7 @@ def _check(err, msg=''):
25562556
25572557 errormsg = _ffi .string (_lib .Pa_GetErrorText (err )).decode ()
25582558 if msg :
2559- errormsg = " {0}: {1}" .format (msg , errormsg )
2559+ errormsg = ' {0}: {1}' .format (msg , errormsg )
25602560
25612561 if err == _lib .paUnanticipatedHostError :
25622562 # (gh82) We grab the host error info here rather than inside
Original file line number Diff line number Diff line change 11from cffi import FFI
22
33ffibuilder = FFI ()
4- ffibuilder .set_source (" _sounddevice" , None )
4+ ffibuilder .set_source (' _sounddevice' , None )
55ffibuilder .cdef ("""
66int Pa_GetVersion( void );
77const char* Pa_GetVersionText( void );
317317 FILE* __stderrp; /* macOS */
318318""" )
319319
320- if __name__ == " __main__" :
320+ if __name__ == ' __main__' :
321321 ffibuilder .compile (verbose = True )
You can’t perform that action at this time.
0 commit comments