Struct StreamParameters

Synopsis

#include <RtAudio.h>

struct StreamParameters

Description

The structure for specifying input or ouput stream parameters.

Mentioned in

Methods

StreamParametersDefault constructor.

Source

Lines 318-326 in RtAudio.h.

struct StreamParameters {
  unsigned int deviceId;     /*!< Device index (0 to getDeviceCount() - 1). */
  unsigned int nChannels;    /*!< Number of channels. */
  unsigned int firstChannel; /*!< First channel index on device (default = 0). */
  // Default constructor.
  StreamParameters()
    : deviceId(0), nChannels(0), firstChannel(0) {}
};





Add Discussion as Guest

Log in