Module portaudio::types [-]  [+] [src]

Types used in the PortAudio API

Structs

PaDeviceInfo

A structure providing information and capabilities of PortAudio devices. Devices may support input, output or both input and output.

PaHostApiInfo

A structure containing information about a particular host API.

PaHostErrorInfo

Structure used to return information about a host error condition.

PaStreamInfo

A structure containing unchanging information about an open stream.

PaStreamParameters

Parameters for one direction (input or output) of a stream.

Enums

PaError

Error codes returned by PortAudio functions.

PaHostApiTypeId

Unchanging unique identifiers for each supported host API

PaSampleFormat

A type used to specify one or more sample formats.

PaStreamFlags

The flags to pass to a stream

Constants

pub const PA_NO_DEVICE: PaDeviceIndex = -1

A special PaDeviceIndex value indicating that no device is available, or should be used.

 
pub const PA_USE_HOST_API_SPECIFIC_DEVICE_SPECIFICATION: PaDeviceIndex = -2

A special PaDeviceIndex value indicating that the device(s) to be used are specified in the host api specific stream info structure.

 

Type Definitions

PaDeviceIndex

The type used to refer to audio devices. Values of this type usually range from 0 to (pa::get_device_count()-1)

PaHostApiIndex

The type used to enumerate to host APIs at runtime. Values of this type range from 0 to (pa::get_host_api_count()-1).

PaTime

The type used to represent monotonic time in seconds.