rtAudio.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.

Constructors

RTAUDIO_FLOAT32
Normalized between plus/minus 1.0.
RTAUDIO_FLOAT64
Normalized between plus/minus 1.0.
RTAUDIO_SINT16
16-bit signed integer.
RTAUDIO_SINT24
Lower 3 bytes of 32-bit signed integer. Not supported in hxRtAudio.
RTAUDIO_SINT32
32-bit signed integer.
RTAUDIO_SINT8
8-bit signed integer.