forked from coderoid/LMN-3-DAW-Android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
lmn-3-daw-android.patch
55 lines (51 loc) · 2.18 KB
/
lmn-3-daw-android.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
diff --git a/Source/Main.cpp b/Source/Main.cpp
index 46d2290..781f6d5 100644
--- a/Source/Main.cpp
+++ b/Source/Main.cpp
@@ -14,12 +14,12 @@
class GuiAppApplication : public juce::JUCEApplication {
public:
GuiAppApplication()
- : splash(new juce::SplashScreen(
+ /*: splash(new juce::SplashScreen(
"Welcome to my app!",
juce::ImageFileFormat::loadFrom(
ImageData::tracktion_engine_powered_png,
ImageData::tracktion_engine_powered_pngSize),
- true)) {}
+ true))*/ {}
const juce::String getApplicationName() override {
return JUCE_APPLICATION_NAME_STRING;
@@ -92,7 +92,7 @@ class GuiAppApplication : public juce::JUCEApplication {
initialiseAudioDevices();
mainWindow = std::make_unique<MainWindow>(getApplicationName(), engine,
*edit, *midiCommandManager);
- splash->deleteAfterDelay(juce::RelativeTime::seconds(4.25), false);
+ //splash->deleteAfterDelay(juce::RelativeTime::seconds(4.25), false);
}
void initialiseAudioDevices() {
diff --git a/Source/Views/Edit/Plugins/ExtendedUIBehaviour.h b/Source/Views/Edit/Plugins/ExtendedUIBehaviour.h
index 694559f..18db812 100644
--- a/Source/Views/Edit/Plugins/ExtendedUIBehaviour.h
+++ b/Source/Views/Edit/Plugins/ExtendedUIBehaviour.h
@@ -146,12 +146,16 @@ class ExtendedUIBehaviour : public tracktion::UIBehaviour {
}
while (runner.isThreadRunning()) {
+#if ANDROID
+ jassertfalse;
+#else
if (!juce::MessageManager::getInstance()->runDispatchLoopUntil(
10)) {
// Can update the GUI here if we need to, but since its just a
// continuous loading animation we dont need to do anything for
// now
}
+#endif
}
// Once the thread finishes, hide the progress view
diff --git a/tracktion_engine b/tracktion_engine
--- a/tracktion_engine
+++ b/tracktion_engine
@@ -1 +1 @@
-Subproject commit edd6fb6b0e23aad25463ee2425d8ec9c9d38d918
+Subproject commit edd6fb6b0e23aad25463ee2425d8ec9c9d38d918-dirty