diff options
author | yg2f <yoann@terminajones.com> | 2015-05-06 23:08:06 +0200 |
---|---|---|
committer | yg2f <yoann@terminajones.com> | 2015-05-06 23:08:06 +0200 |
commit | 2f4c435bfaf4bf8c9353433ef00eff228169c013 (patch) | |
tree | a8392173238b5be2af8bd780bce29a0616ea9ff2 /drivers/rtaudio/RtAudio.h | |
parent | 7156aff16041ea56ff1f3aea2a622c130bcca7a9 (diff) | |
download | redot-engine-2f4c435bfaf4bf8c9353433ef00eff228169c013.tar.gz |
update rtaudio to latest version
update rtaudio from latest version availbale on github
Diffstat (limited to 'drivers/rtaudio/RtAudio.h')
-rw-r--r-- | drivers/rtaudio/RtAudio.h | 3 |
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. |