The documentation for RtAudio says.
Windows (DirectSound):
The configuration script provides support for the MinGW compiler. DirectSound support is indicated with the --with-ds flag.
To compile RtAudio under Windows for the DirectSound API, you must have the header and source files for DirectSound version 5.0 or higher. To my knowledge, there is no DirectSoundCapture support for Windows NT. Sound delay with DirectSound can be quite good, especially with RtAudio version 3.0.2. Input audio latency still tends to be bad, but better since version 3.0.2. RtAudio was originally developed with Visual C ++ version 6.0, but was tested with .NET.
The DirectSound version of RtAudio can be compiled with or without a UNICODE preprocessor definition.
It says that I must have a header and source files for DirectSound. So I need to write these headers and source files in C ++, or I can keep them somewhere.
source
share