Browse Source

WinRT MIDI: Increased the maximum size of outgoing messages

tags/2021-05-28
tpoole 8 years ago
parent
commit
554d055a8f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_audio_devices/native/juce_win32_Midi.cpp

+ 1
- 1
modules/juce_audio_devices/native/juce_win32_Midi.cpp View File

@@ -998,7 +998,7 @@ private:
if (bufferFactory == nullptr)
throw std::runtime_error ("Failed to create output buffer factory");
HRESULT hr = bufferFactory->Create (static_cast<UINT32> (256), buffer.resetAndGetPointerAddress());
HRESULT hr = bufferFactory->Create (static_cast<UINT32> (65536), buffer.resetAndGetPointerAddress());
if (FAILED (hr))
throw std::runtime_error ("Failed to create output buffer");


Loading…
Cancel
Save