Skip to content

Commit 6169091

Browse files
authored
Merge pull request #161 from OpenShot/recovery-menu
Upgrade to JUCE 7.0.10
2 parents 23713d3 + 9b9d442 commit 6169091

File tree

912 files changed

+93269
-28747
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

912 files changed

+93269
-28747
lines changed

.gitlab-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ mac-builder:
3434
- build/install-x64/*
3535
script:
3636
- mkdir -p build
37-
- cmake -B build -S . -DCMAKE_EXE_LINKER_FLAGS="-stdlib=libc++" -DCMAKE_SHARED_LINKER_FLAGS="-stdlib=libc++" -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -D"CMAKE_INSTALL_PREFIX:PATH=build/install-x64" -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -D"CMAKE_BUILD_TYPE:STRING=Release" -D"CMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk" -D"CMAKE_OSX_DEPLOYMENT_TARGET=10.9"
37+
- cmake -B build -S . -DCMAKE_EXE_LINKER_FLAGS="-stdlib=libc++" -DCMAKE_SHARED_LINKER_FLAGS="-stdlib=libc++" -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -D"CMAKE_INSTALL_PREFIX:PATH=build/install-x64" -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang -D"CMAKE_BUILD_TYPE:STRING=Release" -D"CMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk" -D"CMAKE_OSX_DEPLOYMENT_TARGET=10.9"
3838
- cmake --build build -j 9
3939
- cmake --install build
4040
- PROJECT_VERSION=$(grep -E '^set\(PROJECT_VERSION_FULL "(.*)' CMakeLists.txt | awk '{print $2}' | tr -d '")')
@@ -99,7 +99,7 @@ trigger-pipeline:
9999
stage: trigger-libopenshot
100100
script:
101101
- "curl -X POST -F token=$LIBOPENSHOT_PIPELINE_TOKEN -F ref=$CI_COMMIT_REF_NAME http://gitlab.openshot.org/api/v4/projects/1/trigger/pipeline"
102-
when: always
102+
when: on_success
103103
dependencies: []
104104
except:
105105
- tags

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake/Modules")
4343
set(PROJECT_VERSION_FULL "0.3.3")
4444
set(PROJECT_SO_VERSION 9)
4545

46+
#### Set C++ standard level
47+
set(CMAKE_CXX_STANDARD 17)
48+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
49+
set(CMAKE_CXX_EXTENSIONS OFF)
50+
4651
# Remove the dash and anything following, to get the #.#.# version for project()
4752
string(REGEX REPLACE "\-.*$" "" VERSION_NUM "${PROJECT_VERSION_FULL}")
4853

@@ -240,6 +245,7 @@ if(APPLE)
240245
"-framework AudioToolbox"
241246
"-framework QuartzCore"
242247
"-framework Accelerate"
248+
"-framework Security"
243249
"-lobjc"
244250
)
245251
target_compile_options(openshot-audio PRIVATE

JuceLibraryCode/AppConfig.h

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,31 +23,27 @@
2323
/*
2424
==============================================================================
2525
26-
In accordance with the terms of the JUCE 5 End-Use License Agreement, the
26+
In accordance with the terms of the JUCE 7 End-Use License Agreement, the
2727
JUCE Code in SECTION A cannot be removed, changed or otherwise rendered
2828
ineffective unless you have a JUCE Indie or Pro license, or are using JUCE
2929
under the GPL v3 license.
3030
31-
End User License Agreement: www.juce.com/juce-5-licence
31+
End User License Agreement: www.juce.com/juce-7-licence
3232
3333
==============================================================================
3434
*/
3535

3636
// BEGIN SECTION A
3737

3838
#ifndef JUCE_DISPLAY_SPLASH_SCREEN
39-
#define JUCE_DISPLAY_SPLASH_SCREEN 0
40-
#endif
41-
42-
#ifndef JUCE_REPORT_APP_USAGE
43-
#define JUCE_REPORT_APP_USAGE 0
39+
#define JUCE_DISPLAY_SPLASH_SCREEN 1
4440
#endif
4541

4642
// END SECTION A
4743

4844
#define JUCE_USE_DARK_SPLASH_SCREEN 1
4945

50-
#define JUCE_PROJUCER_VERSION 0x50407
46+
#define JUCE_PROJUCER_VERSION 0x7000a
5147

5248
//==============================================================================
5349
#define JUCE_MODULE_AVAILABLE_juce_audio_basics 1
@@ -68,17 +64,13 @@
6864
#endif
6965

7066
#ifndef JUCE_ASIO
71-
//#define JUCE_ASIO 0
67+
#define JUCE_ASIO 1
7268
#endif
7369

7470
#ifndef JUCE_WASAPI
7571
//#define JUCE_WASAPI 1
7672
#endif
7773

78-
#ifndef JUCE_WASAPI_EXCLUSIVE
79-
//#define JUCE_WASAPI_EXCLUSIVE 0
80-
#endif
81-
8274
#ifndef JUCE_DIRECTSOUND
8375
//#define JUCE_DIRECTSOUND 1
8476
#endif
@@ -96,7 +88,11 @@
9688
#endif
9789

9890
#ifndef JUCE_USE_ANDROID_OBOE
99-
//#define JUCE_USE_ANDROID_OBOE 0
91+
//#define JUCE_USE_ANDROID_OBOE 1
92+
#endif
93+
94+
#ifndef JUCE_USE_OBOE_STABILIZED_CALLBACK
95+
//#define JUCE_USE_OBOE_STABILIZED_CALLBACK 0
10096
#endif
10197

10298
#ifndef JUCE_USE_ANDROID_OPENSLES
@@ -173,6 +169,10 @@
173169
//#define JUCE_STRICT_REFCOUNTEDPOINTER 0
174170
#endif
175171

172+
#ifndef JUCE_ENABLE_ALLOCATION_HOOKS
173+
//#define JUCE_ENABLE_ALLOCATION_HOOKS 0
174+
#endif
175+
176176
//==============================================================================
177177
// juce_dsp flags:
178178

JuceLibraryCode/JuceHeader.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
/** If you've hit this error then the version of the Projucer that was used to generate this project is
2828
older than the version of the JUCE modules being included. To fix this error, re-save your project
2929
using the latest version of the Projucer or, if you aren't using the Projucer to manage your project,
30-
remove the JUCE_PROJUCER_VERSION define from the AppConfig.h file.
30+
remove the JUCE_PROJUCER_VERSION define.
3131
*/
3232
#error "This project was last saved using an outdated version of the Projucer! Re-save this project with the latest version to fix this error."
3333
#endif

JuceLibraryCode/THESE_HEADERS_ARE_IGNORED

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
/*
2+
==============================================================================
3+
4+
This file is part of the JUCE library.
5+
Copyright (c) 2022 - Raw Material Software Limited
6+
7+
JUCE is an open source library subject to commercial or open-source
8+
licensing.
9+
10+
The code included in this file is provided under the terms of the ISC license
11+
http://www.isc.org/downloads/software-support-policy/isc-license. Permission
12+
To use, copy, modify, and/or distribute this software for any purpose with or
13+
without fee is hereby granted provided that the above copyright notice and
14+
this permission notice appear in all copies.
15+
16+
JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
17+
EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
18+
DISCLAIMED.
19+
20+
==============================================================================
21+
*/
22+
23+
namespace juce
24+
{
25+
26+
bool AudioPlayHead::canControlTransport() { return false; }
27+
void AudioPlayHead::transportPlay ([[maybe_unused]] bool shouldStartPlaying) {}
28+
void AudioPlayHead::transportRecord ([[maybe_unused]] bool shouldStartRecording) {}
29+
void AudioPlayHead::transportRewind() {}
30+
31+
} // namespace juce

0 commit comments

Comments
 (0)