From 7423320bc2cf2fb832aade4b65abc533ab96119f Mon Sep 17 00:00:00 2001 From: Stephen Sinclair Date: Tue, 22 Aug 2017 19:40:01 -0300 Subject: [PATCH] Fix line endings back to CR for last 2 commits. --- RtAudio.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/RtAudio.cpp b/RtAudio.cpp index 603da0a..2306c74 100644 --- a/RtAudio.cpp +++ b/RtAudio.cpp @@ -8783,10 +8783,10 @@ RtAudio::DeviceInfo RtApiOss :: getDeviceInfo( unsigned int device ) info.nativeFormats |= RTAUDIO_SINT8; if ( mask & AFMT_S32_LE || mask & AFMT_S32_BE ) info.nativeFormats |= RTAUDIO_SINT32; -#ifdef AFMT_FLOAT +#ifdef AFMT_FLOAT if ( mask & AFMT_FLOAT ) info.nativeFormats |= RTAUDIO_FLOAT32; -#endif +#endif if ( mask & AFMT_S24_LE || mask & AFMT_S24_BE ) info.nativeFormats |= RTAUDIO_SINT24; @@ -9113,7 +9113,7 @@ bool RtApiOss :: probeDeviceOpen( unsigned int device, StreamMode mode, unsigned } // Verify the sample rate setup worked. - if ( abs( srate - (int)sampleRate ) > 100 ) { + if ( abs( srate - (int)sampleRate ) > 100 ) { close( fd ); errorStream_ << "RtApiOss::probeDeviceOpen: device (" << ainfo.name << ") does not support sample rate (" << sampleRate << ")."; errorText_ = errorStream_.str(); -- 2.30.2