* Experimental test for unit tests without display
* Ignore unit tests running on an invalid QT Platform (i.e. offscreen - running as a test on GitHub)
* Fix whitespace on Caption effect
* Check for env variable for QT_QPA_PLATFORM == offscreen, and ignore Caption unit tests (for GitHub checks)
* Close down ZMQ context to stop the zmq threads (related to sentry bug: OPENSHOT-3X)
* Add Support for Windows 7/8.1 (#881)
Adding protection around getting current sample rate for win 7, if audio device not found. Also added mutex for Singleton method. Also, making whitespace consistent on AudioPlaybackThread.cpp
* Big refactor of audio device opening - with multiple sample rates attempted, for better recovery from a missing or unsupported sample rate. Debug logs added for testing.
* Additional failure logging for windows audio device init
* Refactor of Audio Device Initialization (#882)
* Huge refactor of audio device initialization:
- Attempt requested audio device first, and then iterate through all known audio types and devices, and common sample rates. The idea is to ignore an invalid default or invalid requested device, and keep looking until we find a valid one
- New public method to return active, open audio device
- Added methods for AudioDeviceInfo struct, to make it callable from Python
- Some code clean-up and whitespace fixes
- New unit tests for AudioDeviceManagerSingleton
* Ignore audio device unit tests on systems with "No Driver" returned in the audio error message
* Ignore audio device unit tests if any error is found during initialization (i.e. build servers don't have audio cards)
* Trying to update GitHub libomp errors during build checks
* Remove zmq context shutdown call, due to the method missing on newer versions of zmq.hpp
* Downgrading GitHub Ubuntu latest image to Ubuntu 20.04, for compatibility with Catchv2
* Initialize all audio device manager variables correctly, and ignore unit test on low or missing sample rate systems (i.e. GitHub build servers)
Turns out that when setting up to build on Windows, it's almost 35%
faster (#WhoKnew?) if we start from a clean slate and directly
install all 204 packages that make up our build environment.
(That's the total count after dependency resolution.) Using the
preinstalled MSYS2 image, we have to update all of those packages
_first_ (a slow process), before we can even start our own installs.
* reuse-managed license/copyright headers
reuse is a tool for compliance with the REUSE recommendations. See
<https://reuse.software/> for more information, and
<https://reuse.readthedocs.io/> for the online documentation.
* Set jsoncpp license
* Add MIT license for Decklink sources
* Explicitly license examples/
- Add headers to source files
- Change blanket licensing in .reuse/dep5 to only cover binary media
- Import CC-BY-3.0 license and assign to sintel_trailer
- Switch to Windows lld for linking (faster)
- Exclude generated protobuf sources from coverage
- When setting EXE, SHARED linker flags, also set MODULE
- Windows clang++ builds are disabled (libopenshot-audio breaks)
- Coverage collection is disabled on macOS and Windows (path issues)
* Remove no-longer-used cmake Modules
* Don't use OpenShot.h in ExampleHtml.cpp
When `#include`-ing the whole mess, building the file was leading
to what looked like out-of-memory errors. Replacing the monolithic
header with just the necessary ones cleared it up.
* .gitlab-ci.yml: Update for new Windows setup
* Make unit tests work under Windows
- Copying the built and depended (libopenshot-audio) DLLs into
the unit test dir before building the tests ensures that when
the test executables are run by the Catch.cmake module to
discover their contents, the executables will find the DLLs
they need in order to run.
* Gitlab-ci: Run unit tests on Windows
* Rename openshot-html-example
(The former name, openshot-html-test, was too close to the new
name format for all of our unit test executables, making things
unnecessarily confusing.)
* Rename JuceHeader.h to OpenShotAudio.h
* Github Actions: Install ALSA libs
With the switch to an EXPORTED CMake configuration for
libopenshot-audio, its dependencies become our dependencies.
Which means that CMake now correctly requires that the ALSA
libs be installed.