Browse Source

Change "Direct Sound" to "DirectSound"

tags/5.1.0
Ryan Schmidt Stephen Sinclair 6 years ago
parent
commit
e41e3e845d
4 changed files with 6 additions and 6 deletions
  1. +3
    -3
      RtAudio.h
  2. +1
    -1
      contrib/go/rtaudio/rtaudio.go
  3. +1
    -1
      doc/doxygen/compiling.txt
  4. +1
    -1
      tests/audioprobe.cpp

+ 3
- 3
RtAudio.h View File

@@ -116,7 +116,7 @@ static const RtAudioFormat RTAUDIO_FLOAT64 = 0x20; // Normalized between plus/mi
Certain audio APIs offer a number of parameters that influence the Certain audio APIs offer a number of parameters that influence the
I/O latency of a stream. By default, RtAudio will attempt to set I/O latency of a stream. By default, RtAudio will attempt to set
these parameters internally for robust (glitch-free) performance these parameters internally for robust (glitch-free) performance
(though some APIs, like Windows Direct Sound, make this difficult).
(though some APIs, like Windows DirectSound, make this difficult).
By passing the RTAUDIO_MINIMIZE_LATENCY flag to the openStream() By passing the RTAUDIO_MINIMIZE_LATENCY flag to the openStream()
function, internal stream settings will be influenced in an attempt function, internal stream settings will be influenced in an attempt
to minimize stream latency, though possibly at the expense of stream to minimize stream latency, though possibly at the expense of stream
@@ -288,7 +288,7 @@ class RTAUDIO_DLL_PUBLIC RtAudio
MACOSX_CORE, /*!< Macintosh OS-X Core Audio API. */ MACOSX_CORE, /*!< Macintosh OS-X Core Audio API. */
WINDOWS_WASAPI, /*!< The Microsoft WASAPI API. */ WINDOWS_WASAPI, /*!< The Microsoft WASAPI API. */
WINDOWS_ASIO, /*!< The Steinberg Audio Stream I/O API. */ WINDOWS_ASIO, /*!< The Steinberg Audio Stream I/O API. */
WINDOWS_DS, /*!< The Microsoft Direct Sound API. */
WINDOWS_DS, /*!< The Microsoft DirectSound API. */
RTAUDIO_DUMMY, /*!< A compilable but non-functional API. */ RTAUDIO_DUMMY, /*!< A compilable but non-functional API. */
NUM_APIS /*!< Number of values in this enum. */ NUM_APIS /*!< Number of values in this enum. */
}; };
@@ -348,7 +348,7 @@ class RTAUDIO_DLL_PUBLIC RtAudio
Certain audio APIs offer a number of parameters that influence the Certain audio APIs offer a number of parameters that influence the
I/O latency of a stream. By default, RtAudio will attempt to set I/O latency of a stream. By default, RtAudio will attempt to set
these parameters internally for robust (glitch-free) performance these parameters internally for robust (glitch-free) performance
(though some APIs, like Windows Direct Sound, make this difficult).
(though some APIs, like Windows DirectSound, make this difficult).
By passing the RTAUDIO_MINIMIZE_LATENCY flag to the openStream() By passing the RTAUDIO_MINIMIZE_LATENCY flag to the openStream()
function, internal stream settings will be influenced in an attempt function, internal stream settings will be influenced in an attempt
to minimize stream latency, though possibly at the expense of stream to minimize stream latency, though possibly at the expense of stream


+ 1
- 1
contrib/go/rtaudio/rtaudio.go View File

@@ -69,7 +69,7 @@ const (
APIWindowsWASAPI = C.RTAUDIO_API_WINDOWS_WASAPI APIWindowsWASAPI = C.RTAUDIO_API_WINDOWS_WASAPI
// APIWindowsASIO uses the Steinberg Audio Stream I/O API. // APIWindowsASIO uses the Steinberg Audio Stream I/O API.
APIWindowsASIO = C.RTAUDIO_API_WINDOWS_ASIO APIWindowsASIO = C.RTAUDIO_API_WINDOWS_ASIO
// APIWindowsDS uses the Microsoft Direct Sound API.
// APIWindowsDS uses the Microsoft DirectSound API.
APIWindowsDS = C.RTAUDIO_API_WINDOWS_DS APIWindowsDS = C.RTAUDIO_API_WINDOWS_DS
// APIDummy is a compilable but non-functional API. // APIDummy is a compilable but non-functional API.
APIDummy = C.RTAUDIO_API_DUMMY APIDummy = C.RTAUDIO_API_DUMMY


+ 1
- 1
doc/doxygen/compiling.txt View File

@@ -61,7 +61,7 @@ In order to compile RtAudio for a specific OS and audio API, it is necessary to
</TR> </TR>
<TR> <TR>
<TD>Windows</TD> <TD>Windows</TD>
<TD>Direct Sound</TD>
<TD>DirectSound</TD>
<TD>RtApiDs</TD> <TD>RtApiDs</TD>
<TD>__WINDOWS_DS__</TD> <TD>__WINDOWS_DS__</TD>
<TD><TT>dsound.lib (ver. 5.0 or higher), multithreaded</TT></TD> <TD><TT>dsound.lib (ver. 5.0 or higher), multithreaded</TT></TD>


+ 1
- 1
tests/audioprobe.cpp View File

@@ -17,7 +17,7 @@ int main()
std::map<int, std::string> apiMap; std::map<int, std::string> apiMap;
apiMap[RtAudio::MACOSX_CORE] = "OS-X Core Audio"; apiMap[RtAudio::MACOSX_CORE] = "OS-X Core Audio";
apiMap[RtAudio::WINDOWS_ASIO] = "Windows ASIO"; apiMap[RtAudio::WINDOWS_ASIO] = "Windows ASIO";
apiMap[RtAudio::WINDOWS_DS] = "Windows Direct Sound";
apiMap[RtAudio::WINDOWS_DS] = "Windows DirectSound";
apiMap[RtAudio::WINDOWS_WASAPI] = "Windows WASAPI"; apiMap[RtAudio::WINDOWS_WASAPI] = "Windows WASAPI";
apiMap[RtAudio::UNIX_JACK] = "Jack Client"; apiMap[RtAudio::UNIX_JACK] = "Jack Client";
apiMap[RtAudio::LINUX_ALSA] = "Linux ALSA"; apiMap[RtAudio::LINUX_ALSA] = "Linux ALSA";


Loading…
Cancel
Save