From d78d0e5547c1618069a9a03e585bc588ca923de0 Mon Sep 17 00:00:00 2001 From: Arnaud Estublier Date: Fri, 11 May 2018 12:28:33 +0200 Subject: [PATCH 1/3] Add VCVRack as the name of the RtAudio client --- src/audio.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/audio.cpp b/src/audio.cpp index e26e6287..9d30f54f 100644 --- a/src/audio.cpp +++ b/src/audio.cpp @@ -244,6 +244,7 @@ void AudioIO::openStream() { RtAudio::StreamOptions options; options.flags |= RTAUDIO_JACK_DONT_CONNECT; + options.streamName = "VCVRack"; int closestSampleRate = deviceInfo.preferredSampleRate; for (int sr : deviceInfo.sampleRates) { From 7b48d511ebc96a83e3e2cf860182d6419cbeee4a Mon Sep 17 00:00:00 2001 From: Arnaud Estublier Date: Fri, 11 May 2018 12:41:19 +0200 Subject: [PATCH 2/3] Forgot a space... --- src/audio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio.cpp b/src/audio.cpp index 9d30f54f..cf4ff691 100644 --- a/src/audio.cpp +++ b/src/audio.cpp @@ -244,7 +244,7 @@ void AudioIO::openStream() { RtAudio::StreamOptions options; options.flags |= RTAUDIO_JACK_DONT_CONNECT; - options.streamName = "VCVRack"; + options.streamName = "VCV Rack"; int closestSampleRate = deviceInfo.preferredSampleRate; for (int sr : deviceInfo.sampleRates) { From ac5e0fdb5402df03a2c5e19bc655d99be7dbeb8d Mon Sep 17 00:00:00 2001 From: Arnaud Estublier Date: Fri, 11 May 2018 17:40:12 +0200 Subject: [PATCH 3/3] RtMidi Clients are named VCV Rack --- src/midi.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/midi.cpp b/src/midi.cpp index a0c2af1c..18b62f0f 100644 --- a/src/midi.cpp +++ b/src/midi.cpp @@ -138,7 +138,7 @@ void MidiInput::setDriver(int driver) { } if (driver >= 0) { - rtMidiIn = new RtMidiIn((RtMidi::Api) driver); + rtMidiIn = new RtMidiIn((RtMidi::Api) driver, "VCV Rack"); rtMidiIn->setCallback(midiInputCallback, this); rtMidiIn->ignoreTypes(false, false, false); rtMidi = rtMidiIn; @@ -212,7 +212,7 @@ void MidiOutput::setDriver(int driver) { } if (driver >= 0) { - rtMidiOut = new RtMidiOut((RtMidi::Api) driver); + rtMidiOut = new RtMidiOut((RtMidi::Api) driver, "VCV Rack"); rtMidi = rtMidiOut; this->driver = rtMidiOut->getCurrentApi(); }