[][src]Module rportaudio::types

Structs

PaDeviceInfo

Information for a specific device

PaHostApiInfo
PaHostErrorInfo

Error info obtained by get_last_error

PaStreamCallbackFlags

Flags indicating the status of the callback

PaStreamFlags

Flags used to control the behavior of a stream

PaStreamInfo

Information about the actual latency and sample rate values the stream uses

PaStreamParameters

Stream parameters to be used with Stream::open()

PaStreamTimeInfo

Time information for various stream related values

Stream

An object for an PortAudio stream

Enums

HostApiType

Possible Host API types

PaStreamCallbackResult

Constants

CLIP_OFF

Disable clipping of out of range samples

DITHER_OFF

Disable dithering

INPUT_OVERFLOW

Indicates that the callback has discarded some data

INPUT_UNDERFLOW

Indicates that the callback has inserted one or more zeroes since not enough data was available

NEVER_DROP_INPUT

Request that a full duplex stream will not discard overflowed input samples. The frames_per_buffer must be set to unspecified (0)

OUTPUT_OVERFLOW

Indicates that certain data was discarded since there was no room

OUTPUT_UNDERFLOW

Indicates that extra data was inserted in the output since there was not engough available

PLATFORM_SPECIFIC

Range for platform specific flags. Not all of the upper 16 bits need to be set at the same time.

PRIME_OUTPUT_BUFFERS_USING_STREAM_CALLBACK

Call the stream callback to fill initial output buffers, rather than priming the buffers with silence

PRIMING_OUTPUT

Some or all of the output data will be used to prime the stream, input data may be zero

Traits

SampleType

Types that are allowed to be used as samples in a Stream

Type Definitions

DeviceIndex

Index of a Device

HostApiIndex

Index number of a Host API

StreamCallback

Callback to consume, process or generate audio

StreamFinishedCallback

Callback to be fired when a StreamCallback is stopped