Browse Source

Switch RtAudio to my own fork. Tweak StreamOptions in RtAudio driver.

tags/v2.0.0
Andrew Belt 4 years ago
parent
commit
25b540e0ee
3 changed files with 5 additions and 2 deletions
  1. +1
    -1
      .gitmodules
  2. +1
    -1
      dep/rtaudio
  3. +3
    -0
      src/rtaudio.cpp

+ 1
- 1
.gitmodules View File

@@ -16,7 +16,7 @@
ignore = untracked
[submodule "dep/rtaudio"]
path = dep/rtaudio
url = https://github.com/thestk/rtaudio.git
url = https://github.com/AndrewBelt/rtaudio.git
ignore = untracked
[submodule "dep/glfw"]
path = dep/glfw


+ 1
- 1
dep/rtaudio

@@ -1 +1 @@
Subproject commit d27f257b4bc827e4152cdc4d69a2e22084204afd
Subproject commit 8a2243cd21a67818ac9428d0942332467af4ab40

+ 3
- 0
src/rtaudio.cpp View File

@@ -71,6 +71,9 @@ struct RtAudioDevice : audio::Device {

options = RtAudio::StreamOptions();
options.flags |= RTAUDIO_JACK_DONT_CONNECT;
options.flags |= RTAUDIO_MINIMIZE_LATENCY;
options.flags |= RTAUDIO_SCHEDULE_REALTIME;
options.numberOfBuffers = 2;
options.streamName = "VCV Rack";

int closestSampleRate = deviceInfo.preferredSampleRate;


Loading…
Cancel
Save