Browse Source

Add missing apostrophe and parentheses

And capitalize and add a period at the end of the next sentence.
tags/5.1.0
Ryan Schmidt 6 years ago
parent
commit
aa16de39c6
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      RtAudio.cpp

+ 2
- 2
RtAudio.cpp View File

@@ -3165,8 +3165,8 @@ bool RtApiAsio :: probeDeviceOpen( unsigned int device, StreamMode mode, unsigne
result = ASIOCreateBuffers( handle->bufferInfos, nChannels, stream_.bufferSize, &asioCallbacks ); result = ASIOCreateBuffers( handle->bufferInfos, nChannels, stream_.bufferSize, &asioCallbacks );
if ( result != ASE_OK ) { if ( result != ASE_OK ) {
// Standard method failed. This can happen with strict/misbehaving drivers that return valid buffer size ranges // Standard method failed. This can happen with strict/misbehaving drivers that return valid buffer size ranges
// but only accept the preferred buffer size as parameter for ASIOCreateBuffers. e.g. Creatives ASIO driver
// in that case, let's be naïve and try that instead
// but only accept the preferred buffer size as parameter for ASIOCreateBuffers (e.g. Creative's ASIO driver).
// In that case, let's be naïve and try that instead.
*bufferSize = preferSize; *bufferSize = preferSize;
stream_.bufferSize = *bufferSize; stream_.bufferSize = *bufferSize;
result = ASIOCreateBuffers( handle->bufferInfos, nChannels, stream_.bufferSize, &asioCallbacks ); result = ASIOCreateBuffers( handle->bufferInfos, nChannels, stream_.bufferSize, &asioCallbacks );


Loading…
Cancel
Save