Module Import alias Import alias Import alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Num Str Assign NameStore Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Str NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Assert CompareIsNot AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Str attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotEq NameLoad Num body Raise Call NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore AttributeLoad NameLoad attr ClassDef bases AttributeLoad NameLoad attr body Assign NameStore ListLoad TupleLoad Str AttributeLoad NameLoad attr TupleLoad Str AttributeLoad NameLoad attr TupleLoad Str AttributeLoad NameLoad attr TupleLoad Str AttributeLoad NameLoad attr TupleLoad Str Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad BinOpMult BinOpMult AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assert CompareNotEq NameLoad NameLoad Assign NameStore IfExp NameLoad Str Str Assign NameStore Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad keyword Num keyword Num keyword AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr IfExp NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad IfExp NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assert CompareEq BinOpMod NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpFloorDiv NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr BinOpSub NameLoad NameLoad If AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore BinOpDiv AttributeLoad NameLoad attr BinOpSub NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str BinOpMult NameLoad Num Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Assert CompareEq BinOpMod Call NameLoad NameLoad AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpFloorDiv Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list
N/A N/A ctypes N/A logging N/A time N/A log N/A N/A logging getLogger __name__ Interface N/A object N/A __init__ N/A N/A self config debug N/A False N/A N/A N/A self debug N/A bool debug N/A N/A self config config N/A N/A self streams N/A N/A N/A self lib None N/A load N/A N/A self name N/A N/A N/A N/A self lib N/A N/A ctypes CDLL name N/A N/A N/A N/A self _error_string 0 Success N/A version N/A N/A self call GetVersionText restype N/A ctypes c_char_p N/A N/A N/A log info %s loaded version N/A self N/A _error_string N/A N/A self code N/A N/A N/A N/A N/A self call GetErrorText code restype N/A ctypes c_char_p N/A call N/A N/A self name N/A args kwargs N/A N/A N/A N/A self lib None N/A func_name N/A N/A Pa_{0} format name N/A N/A self debug N/A N/A N/A N/A log debug API: %s%s name args N/A func N/A getattr N/A self lib func_name N/A N/A func restype N/A N/A kwargs get restype N/A self _error_check N/A N/A func args N/A _error_check N/A N/A self res N/A N/A N/A N/A res 0 N/A N/A N/A Exception res N/A N/A self _error_string res N/A __enter__ N/A N/A self N/A N/A N/A N/A N/A self call Initialize N/A self N/A __exit__ N/A N/A self N/A args N/A N/A s N/A self streams N/A N/A N/A N/A s close N/A N/A N/A self call Terminate N/A recorder N/A N/A self N/A N/A N/A N/A Stream self config N/A self config read True N/A player N/A N/A self N/A N/A N/A N/A Stream self config N/A self config write True N/A N/A Stream N/A object N/A N/A timer N/A time time Parameters N/A N/A ctypes Structure N/A N/A _fields_ N/A N/A device N/A ctypes c_int N/A channelCount N/A ctypes c_int N/A sampleFormat N/A ctypes c_ulong N/A suggestedLatency N/A ctypes c_double N/A hostApiSpecificStreamInfo N/A N/A ctypes POINTER None N/A __init__ N/A N/A self interface config read write N/A False False N/A N/A N/A self interface interface N/A N/A self stream N/A N/A N/A ctypes POINTER N/A ctypes c_void_p N/A N/A self user_data N/A N/A ctypes c_void_p None N/A N/A self stream_callback N/A N/A ctypes c_void_p None N/A N/A self bytes_per_sample N/A config sample_size N/A N/A self latency N/A float N/A config latency N/A N/A self bufsize N/A int N/A N/A N/A self latency N/A config Fs N/A self bytes_per_sample N/A N/A N/A config bits_per_sample 16 N/A read N/A bool read N/A write N/A bool write N/A N/A read write N/A direction N/A read Input Output N/A api_name N/A N/A GetDefault{0}Device format direction N/A index N/A N/A interface call api_name restype N/A ctypes c_int N/A N/A self params N/A N/A Stream Parameters device index channelCount 1 sampleFormat 8 suggestedLatency N/A self latency hostApiSpecificStreamInfo None N/A N/A N/A N/A self interface call OpenStream N/A N/A ctypes byref N/A self stream N/A read N/A N/A ctypes byref N/A self params None N/A write N/A N/A ctypes byref N/A self params None N/A N/A ctypes c_double N/A config Fs N/A N/A ctypes c_ulong 0 N/A N/A ctypes c_ulong 0 N/A self stream_callback N/A self user_data N/A N/A N/A N/A N/A self interface streams append self N/A N/A N/A N/A self interface call StartStream N/A self stream N/A N/A self start_time N/A N/A self timer N/A N/A self io_time 0 N/A close N/A N/A self N/A N/A N/A N/A self stream N/A N/A N/A N/A N/A self interface call StopStream N/A self stream N/A N/A N/A N/A self interface call CloseStream N/A self stream N/A N/A self stream None N/A read N/A N/A self size N/A N/A N/A N/A N/A size N/A self bytes_per_sample 0 N/A buf N/A N/A ctypes create_string_buffer size N/A frames N/A N/A ctypes c_ulong N/A size N/A self bytes_per_sample N/A t0 N/A N/A self timer N/A N/A N/A N/A self interface call ReadStream N/A self stream buf frames N/A t1 N/A N/A self timer N/A N/A self io_time N/A t1 t0 N/A N/A N/A self interface debug N/A N/A io_wait N/A N/A self io_time N/A t1 N/A self start_time N/A N/A N/A log debug I/O wait: %.1f%% N/A io_wait 100 N/A N/A buf raw N/A write N/A N/A self data N/A N/A N/A data N/A bytes data N/A N/A N/A N/A len data N/A self bytes_per_sample 0 N/A buf N/A N/A ctypes c_char_p data N/A frames N/A N/A ctypes c_ulong N/A N/A len data N/A self bytes_per_sample N/A N/A N/A N/A self interface call WriteStream N/A self stream buf frames N/A N/A