From: Ryan Schmidt Date: Sun, 26 Aug 2018 02:12:45 +0000 (-0500) Subject: Change "eg." to "e.g." X-Git-Url: https://main.carlh.net/gitweb/?p=rtaudio-cdist.git;a=commitdiff_plain;h=9c3387e5c1eaf9625c8f64135a4eb53c0e4902d3 Change "eg." to "e.g." --- diff --git a/RtAudio.cpp b/RtAudio.cpp index 59f5b0d..6d82ac1 100644 --- a/RtAudio.cpp +++ b/RtAudio.cpp @@ -3165,7 +3165,7 @@ 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. eg. Creatives ASIO driver + // 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 *bufferSize = preferSize; stream_.bufferSize = *bufferSize; diff --git a/RtAudio.h b/RtAudio.h index 34a2534..c60fbbb 100644 --- a/RtAudio.h +++ b/RtAudio.h @@ -298,7 +298,7 @@ class RTAUDIO_DLL_PUBLIC RtAudio bool isDefaultOutput; /*!< true if this is the default output device. */ bool isDefaultInput; /*!< true if this is the default input device. */ std::vector sampleRates; /*!< Supported sample rates (queried from list of standard rates). */ - unsigned int preferredSampleRate; /*!< Preferred sample rate, eg. for WASAPI the system sample rate. */ + unsigned int preferredSampleRate; /*!< Preferred sample rate, e.g. for WASAPI the system sample rate. */ RtAudioFormat nativeFormats; /*!< Bit mask of supported data formats. */ // Default constructor. diff --git a/doc/doxygen/probe.txt b/doc/doxygen/probe.txt index 975ff0e..6997000 100644 --- a/doc/doxygen/probe.txt +++ b/doc/doxygen/probe.txt @@ -45,7 +45,7 @@ The RtAudio::DeviceInfo structure is defined in RtAudio.h and provides a variety bool isDefaultOutput; // true if this is the default output device. bool isDefaultInput; // true if this is the default input device. std::vector sampleRates; // Supported sample rates. - unsigned int preferredSampleRate; // Preferred sample rate, eg. for WASAPI the system sample rate. + unsigned int preferredSampleRate; // Preferred sample rate, e.g. for WASAPI the system sample rate. RtAudioFormat nativeFormats; // Bit mask of supported data formats. }; \endcode