Enumeration RtAudioFormat

RtAudio data format type.

Support for signed integers and floats. Audio data fed to/from an RtAudio stream is assumed to ALWAYS be in host byte order. The internal routines will automatically take care of any necessary byte-swapping between the host format and the soundcard. Thus, endian-ness is not a concern in the following format definitions. Note that there are no range checks for floating-point values that extend beyond plus/minus 1.0.

Enumeration Members

RTAUDIO_SINT8: 1

8-bit signed integer.

RTAUDIO_SINT16: 2

16-bit signed integer.

RTAUDIO_SINT32: 8

32-bit signed integer.

RTAUDIO_FLOAT32: 16

Normalized between plus/minus 1.0.

RTAUDIO_FLOAT64: 32

Normalized between plus/minus 1.0.

Generated using TypeDoc