/** * @author Gary P. SCAVONE * * @copyright 2001-2013 Gary P. Scavone, all right reserved * * @license like MIT (see license file) */ #ifndef __AIRTAUDIO_STREAM_PARAMETER_H__ #define __AIRTAUDIO_STREAM_PARAMETER_H__ namespace airtaudio { /** * @brief The structure for specifying input or ouput stream parameters. */ class StreamParameters { public: uint32_t deviceId; //!< Device index (0 to getDeviceCount() - 1). uint32_t nChannels; //!< Number of channels. uint32_t firstChannel; //!< First channel index on device (default = 0). // Default constructor. StreamParameters(void) : deviceId(0), nChannels(0), firstChannel(0) { } }; }; #endif