diff options
| author | Stephen Sinclair <radarsat1@gmail.com> | 2017-10-18 12:00:00 -0300 |
|---|---|---|
| committer | Stephen Sinclair <radarsat1@gmail.com> | 2017-10-18 17:33:01 -0300 |
| commit | 3b1331c16ed513ec92f41d13692bcbe1792c3d1a (patch) | |
| tree | d842f7faa2d245a120721b9d352e26b752d45eb9 /RtAudio.cpp | |
| parent | 0645e8f4669293e388da44aeeb3f4c05f3d087b8 (diff) | |
Fix compilation of ASIO and WASAPI backends in MingW/Ubuntu.
Warnings/errors "unused function" are from the unicode conversion
functions on Windows, and "unused but set variable" is from ASIO
source code; we disable these warnings on Windows builds.
Diffstat (limited to 'RtAudio.cpp')
| -rw-r--r-- | RtAudio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/RtAudio.cpp b/RtAudio.cpp index d2ac6b9..1110394 100644 --- a/RtAudio.cpp +++ b/RtAudio.cpp @@ -4458,7 +4458,7 @@ bool RtApiWasapi::probeDeviceOpen( unsigned int device, StreamMode mode, unsigne if ( sampleRate != deviceInfo.preferredSampleRate ) { errorType = RtAudioError::INVALID_USE; - std::stringstring ss; + std::stringstream ss; ss << "RtApiWasapi::probeDeviceOpen: " << sampleRate << "Hz sample rate not supported. This device only supports " << deviceInfo.preferredSampleRate << "Hz."; |
