Index: Source/modules/webaudio/AudioContext.cpp |
diff --git a/Source/modules/webaudio/AudioContext.cpp b/Source/modules/webaudio/AudioContext.cpp |
index d375dec5b0f5dd0efbc111c98a24af785da481bc..a185e9f79a3ee00348728e798181ba5ce6ec26ba 100644 |
--- a/Source/modules/webaudio/AudioContext.cpp |
+++ b/Source/modules/webaudio/AudioContext.cpp |
@@ -132,6 +132,8 @@ AudioContext::AudioContext(Document* document) |
// It's not that useful to have a callback function for this since the audio thread automatically starts rendering on the graph |
// when this has finished (see AudioDestinationNode). |
m_hrtfDatabaseLoader = HRTFDatabaseLoader::createAndLoadAsynchronouslyIfNecessary(sampleRate()); |
+ |
+ m_midiAccess = MIDIAccess::create(scriptExecutionContext()); |
} |
// Constructor for offline (non-realtime) rendering. |