X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=RtAudio.cpp;h=b7fa8e8367813dc71b0c5b05965e14746fe2b6cc;hb=c8872791415514880108c2e46f0c0bb2b7236acf;hp=6d82ac1d28b19f56b29c19ad3a092a786c91bc4d;hpb=9c3387e5c1eaf9625c8f64135a4eb53c0e4902d3;p=rtaudio-cdist.git diff --git a/RtAudio.cpp b/RtAudio.cpp index 6d82ac1..b7fa8e8 100644 --- a/RtAudio.cpp +++ b/RtAudio.cpp @@ -3165,8 +3165,8 @@ bool RtApiAsio :: probeDeviceOpen( unsigned int device, StreamMode mode, unsigne result = ASIOCreateBuffers( handle->bufferInfos, nChannels, stream_.bufferSize, &asioCallbacks ); if ( result != ASE_OK ) { // 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; stream_.bufferSize = *bufferSize; result = ASIOCreateBuffers( handle->bufferInfos, nChannels, stream_.bufferSize, &asioCallbacks );