From e48f5d36c748345f563d0fb4b7203a674bf8e8e0 Mon Sep 17 00:00:00 2001 From: Phillip Date: Fri, 20 May 2016 20:22:00 -0700 Subject: [PATCH] Windows compile fixes --- lib/audiodev/MIDIDecoder.cpp | 1 + lib/audiodev/WASAPI.cpp | 14 ++++++++++++++ 2 files changed, 15 insertions(+) diff --git a/lib/audiodev/MIDIDecoder.cpp b/lib/audiodev/MIDIDecoder.cpp index 8bb3ec2..5ac44a8 100644 --- a/lib/audiodev/MIDIDecoder.cpp +++ b/lib/audiodev/MIDIDecoder.cpp @@ -1,6 +1,7 @@ #include "boo/audiodev/MIDIDecoder.hpp" #include "MIDICommon.hpp" #include +#include namespace boo { diff --git a/lib/audiodev/WASAPI.cpp b/lib/audiodev/WASAPI.cpp index 6c05b61..a94cdff 100644 --- a/lib/audiodev/WASAPI.cpp +++ b/lib/audiodev/WASAPI.cpp @@ -250,6 +250,20 @@ struct WASAPIAudioVoiceEngine : BaseAudioVoiceEngine m_started = true; } } + + std::vector> enumerateMIDIDevices() const { return {}; } + + std::unique_ptr newVirtualMIDIIn(ReceiveFunctor&& receiver) { return {}; } + + std::unique_ptr newVirtualMIDIOut() { return {}; } + + std::unique_ptr newVirtualMIDIInOut(ReceiveFunctor&& receiver) { return {}; } + + std::unique_ptr newRealMIDIIn(const char* name, ReceiveFunctor&& receiver) { return {}; } + + std::unique_ptr newRealMIDIOut(const char* name) { return {}; } + + std::unique_ptr newRealMIDIInOut(const char* name, ReceiveFunctor&& receiver) { return {}; } }; std::unique_ptr NewAudioVoiceEngine()