Browse Source

Fix line endings back to CR for last 2 commits.

tags/5.0.0
Stephen Sinclair 7 years ago
parent
commit
7423320bc2
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      RtAudio.cpp

+ 3
- 3
RtAudio.cpp View File

@@ -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();


Loading…
Cancel
Save