summaryrefslogtreecommitdiff
path: root/drivers/rtaudio/RtAudio.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-05-07 20:03:00 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-05-07 20:03:00 -0300
commitdeba45ebf781eaf12964d530336b72b2fd78f2a5 (patch)
tree922daf2f14f36d323156110bdfcf6b7f6f2bc1fb /drivers/rtaudio/RtAudio.h
parentc99813dc38cc79b37529cdd98dc2bc2c3ff69edc (diff)
parent2f4c435bfaf4bf8c9353433ef00eff228169c013 (diff)
Merge pull request #1841 from SuperUserNameMan/updated_rtaudio
update rtaudio to latest version
Diffstat (limited to 'drivers/rtaudio/RtAudio.h')
-rw-r--r--drivers/rtaudio/RtAudio.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/rtaudio/RtAudio.h b/drivers/rtaudio/RtAudio.h
index 1f1b63072c..7d45d36529 100644
--- a/drivers/rtaudio/RtAudio.h
+++ b/drivers/rtaudio/RtAudio.h
@@ -310,12 +310,13 @@ class RtAudio
bool isDefaultOutput; /*!< true if this is the default output device. */
bool isDefaultInput; /*!< true if this is the default input device. */
std::vector<unsigned int> sampleRates; /*!< Supported sample rates (queried from list of standard rates). */
+ unsigned int preferredSampleRate; /*!< Preferred sample rate, eg. for WASAPI the system sample rate. */
RtAudioFormat nativeFormats; /*!< Bit mask of supported data formats. */
// Default constructor.
DeviceInfo()
:probed(false), outputChannels(0), inputChannels(0), duplexChannels(0),
- isDefaultOutput(false), isDefaultInput(false), nativeFormats(0) {}
+ isDefaultOutput(false), isDefaultInput(false), preferredSampleRate(0), nativeFormats(0) {}
};
//! The structure for specifying input or ouput stream parameters.