The public device information structure for returning queried values. More...
#include <RtAudio.h>
Public Attributes | |
| unsigned int | ID {} |
| std::string | name |
| unsigned int | outputChannels {} |
| unsigned int | inputChannels {} |
| unsigned int | duplexChannels {} |
| bool | isDefaultOutput {false} |
| bool | isDefaultInput {false} |
| std::vector< unsigned int > | sampleRates |
| unsigned int | currentSampleRate {} |
| unsigned int | preferredSampleRate {} |
| RtAudioFormat | nativeFormats {} |
The public device information structure for returning queried values.
| unsigned int rt::audio::RtAudio::DeviceInfo::ID {} |
Device ID used to specify a device to RtAudio.
| std::string rt::audio::RtAudio::DeviceInfo::name |
Character string device name.
| unsigned int rt::audio::RtAudio::DeviceInfo::outputChannels {} |
Maximum output channels supported by device.
| unsigned int rt::audio::RtAudio::DeviceInfo::inputChannels {} |
Maximum input channels supported by device.
| unsigned int rt::audio::RtAudio::DeviceInfo::duplexChannels {} |
Maximum simultaneous input/output channels supported by device.
| bool rt::audio::RtAudio::DeviceInfo::isDefaultOutput {false} |
true if this is the default output device.
| bool rt::audio::RtAudio::DeviceInfo::isDefaultInput {false} |
true if this is the default input device.
| std::vector<unsigned int> rt::audio::RtAudio::DeviceInfo::sampleRates |
Supported sample rates (queried from list of standard rates).
| unsigned int rt::audio::RtAudio::DeviceInfo::currentSampleRate {} |
Current sample rate, system sample rate as currently configured.
| unsigned int rt::audio::RtAudio::DeviceInfo::preferredSampleRate {} |
Preferred sample rate, e.g. for WASAPI the system sample rate.
| RtAudioFormat rt::audio::RtAudio::DeviceInfo::nativeFormats {} |
Bit mask of supported data formats.
![]() |
©2001-2023 Gary P. Scavone, McGill University. All Rights Reserved. Maintained by Gary P. Scavone. |