Browse Source

Use jack-midi if using pulseaudio outside of linux

tags/1.9.8
falkTX 7 years ago
parent
commit
e5c88b584d
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      source/backend/engine/CarlaEngineRtAudio.cpp

+ 6
- 0
source/backend/engine/CarlaEngineRtAudio.cpp View File

@@ -110,8 +110,14 @@ static RtMidi::Api getMatchedAudioMidiAPI(const RtAudio::Api rtApi) noexcept


case RtAudio::LINUX_ALSA: case RtAudio::LINUX_ALSA:
case RtAudio::LINUX_OSS: case RtAudio::LINUX_OSS:
return RtMidi::LINUX_ALSA;

case RtAudio::LINUX_PULSE: case RtAudio::LINUX_PULSE:
#if defined(CARLA_OS_LINUX)
return RtMidi::LINUX_ALSA; return RtMidi::LINUX_ALSA;
#else
return RtMidi::UNIX_JACK;
#endif


case RtAudio::UNIX_JACK: case RtAudio::UNIX_JACK:
#if defined(CARLA_OS_WIN) #if defined(CARLA_OS_WIN)


Loading…
Cancel
Save