Use this class to open and close streams.
|
|
|
|
|
|
|
|
int
|
get_host_api_count(self)
Return the number of PortAudio Host APIs. |
source code
|
|
dict
|
get_default_host_api_info(self)
Return a dictionary containing the default Host API
parameters. The keys of the dictionary mirror the data fields
of PortAudio's PaHostApiInfo structure. |
source code
|
|
dict
|
get_host_api_info_by_type(self,
host_api_type)
Return a dictionary containing the Host API parameters for the
host API specified by the host_api_type . The keys of the
dictionary mirror the data fields of PortAudio's PaHostApiInfo
structure. |
source code
|
|
dict
|
get_host_api_info_by_index(self,
host_api_index)
Return a dictionary containing the Host API parameters for the
host API specified by the host_api_index . The keys of the
dictionary mirror the data fields of PortAudio's PaHostApiInfo
structure. |
source code
|
|
dict
|
get_device_info_by_host_api_device_index(self,
host_api_index,
host_api_device_index)
Return a dictionary containing the Device parameters for a
given Host API's n'th device. The keys of the dictionary
mirror the data fields of PortAudio's PaDeviceInfo structure. |
source code
|
|
int
|
get_device_count(self)
Return the number of PortAudio Host APIs. |
source code
|
|
bool
|
is_format_supported(self,
rate,
input_device=None,
input_channels=None,
input_format=None,
output_device=None,
output_channels=None,
output_format=None)
Check to see if specified device configuration
is supported. Returns True if the configuration
is supported; throws a ValueError exception otherwise. |
source code
|
|
dict
|
|
dict
|
|
dict
|
get_device_info_by_index(self,
device_index)
Return the Device parameters for device specified in
device_index as a dictionary. The keys of the dictionary
mirror the data fields of PortAudio's PaDeviceInfo
structure. |
source code
|
|
int
|
|
PaSampleFormat
|
|