Browse Source

Whitespace

tags/2021-05-28
ed 6 years ago
parent
commit
c43e62a16a
1 changed files with 13 additions and 13 deletions
  1. +13
    -13
      modules/juce_audio_devices/native/juce_linux_Midi.cpp

+ 13
- 13
modules/juce_audio_devices/native/juce_linux_Midi.cpp View File

@@ -38,7 +38,7 @@ public:
jassert (instance == nullptr);
snd_seq_open (&handle, "default", SND_SEQ_OPEN_DUPLEX, 0);
if (handle != nullptr)
{
snd_seq_nonblock (handle, SND_SEQ_NONBLOCK);
@@ -62,18 +62,18 @@ public:
if (inputThread)
inputThread->stopThread (3000);
}
static String getAlsaMidiName()
{
#ifdef JUCE_ALSA_MIDI_NAME
return JUCE_ALSA_MIDI_NAME;
#else
if (auto* app = JUCEApplicationBase::getInstance())
return app->getApplicationName();
return "JUCE";
#endif
}
static String getAlsaMidiName()
{
#ifdef JUCE_ALSA_MIDI_NAME
return JUCE_ALSA_MIDI_NAME;
#else
if (auto* app = JUCEApplicationBase::getInstance())
return app->getApplicationName();
return "JUCE";
#endif
}
using Ptr = ReferenceCountedObjectPtr<AlsaClient>;


Loading…
Cancel
Save