mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Fixed some build errors in the Bela MIDI code
This commit is contained in:
parent
e59b0863b5
commit
b6be671726
1 changed files with 2 additions and 2 deletions
|
|
@ -518,7 +518,7 @@ MidiInput::~MidiInput() { delete static_cast<BelaMidiInput*> (internal); }
|
|||
void MidiInput::start() { static_cast<BelaMidiInput*> (internal)->start(); }
|
||||
void MidiInput::stop() { static_cast<BelaMidiInput*> (internal)->stop(); }
|
||||
|
||||
void Array<MidiDeviceInfo> MidiInput::getAvailableDevices()
|
||||
Array<MidiDeviceInfo> MidiInput::getAvailableDevices()
|
||||
{
|
||||
return BelaMidiInput::getDevices (true);
|
||||
}
|
||||
|
|
@ -534,7 +534,7 @@ std::unique_ptr<MidiInput> MidiInput::openDevice (const String& deviceIdentifier
|
|||
return {};
|
||||
|
||||
std::unique_ptr<MidiInput> midiInput (new MidiInput (deviceIdentifier, deviceIdentifier));
|
||||
midiInput->internal = new BelaMidiInput (deviceIdentifier, result, callback);
|
||||
midiInput->internal = new BelaMidiInput (deviceIdentifier, midiInput.get(), callback);
|
||||
|
||||
return midiInput;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue