Skip to content

Commit

Permalink
Merge branch 'main' into add_HID_readback
Browse files Browse the repository at this point in the history
  • Loading branch information
JoergAtGithub authored Feb 17, 2021
2 parents 19be7ff + f37de0e commit ba53b75
Show file tree
Hide file tree
Showing 119 changed files with 13,777 additions and 18,055 deletions.
6 changes: 5 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@
"globals": {
"console": "writable",
"svg": "writable",
"print": "readonly"
"print": "readonly",
"HIDController": "writable",
"HIDDebug": "writable",
"HIDPacket": "writable",
"controller": "writable"
}
}
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ on:
jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- name: Ubuntu 18.04 (gcc)
os: ubuntu-18.04
cmake_args: >-
-DWARNINGS_FATAL=ON
-DFAAD=ON
-DKEYFINDER=ON
-DLOCALECOMPARE=ON
Expand All @@ -32,6 +34,7 @@ jobs:
- name: Ubuntu 20.04 (gcc)
os: ubuntu-20.04
cmake_args: >-
-DWARNINGS_FATAL=ON
-DFFMPEG=ON
-DKEYFINDER=ON
-DLOCALECOMPARE=ON
Expand Down Expand Up @@ -248,7 +251,8 @@ jobs:
# Render analyzer waveform tests to an offscreen buffer
QT_QPA_PLATFORM: ${{ matrix.qt_qpa_platform }}
GTEST_COLOR: 1
CTEST_PARALLEL_LEVEL: 2
# Windows tests fail randomly if run in parallel
CTEST_PARALLEL_LEVEL: 1
CTEST_OUTPUT_ON_FAILURE: 1

- name: Benchmark
Expand Down
18 changes: 12 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,8 @@ add_library(mixxx-lib STATIC EXCLUDE_FROM_ALL
src/dialog/dlgaboutdlg.ui
src/dialog/dlgdevelopertools.cpp
src/dialog/dlgdevelopertoolsdlg.ui
src/dialog/dlgkeywheel.cpp
src/dialog/dlgkeywheel.ui
src/dialog/dlgreplacecuecolor.cpp
src/dialog/dlgreplacecuecolordlg.ui
src/effects/builtin/autopaneffect.cpp
Expand Down Expand Up @@ -1631,10 +1633,11 @@ if(ENGINEPRIME)

set(DJINTEROP_INSTALL_DIR "${CMAKE_CURRENT_BINARY_DIR}/lib/libdjinterop-install")
set(DJINTEROP_LIBRARY "lib/${CMAKE_STATIC_LIBRARY_PREFIX}djinterop${CMAKE_STATIC_LIBRARY_SUFFIX}")
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/download")
ExternalProject_Add(libdjinterop
GIT_REPOSITORY https://github.com/xsco/libdjinterop.git
GIT_TAG tags/0.14.6
GIT_SHALLOW TRUE
URL "https://github.com/xsco/libdjinterop/archive/0.14.6.tar.gz"
URL_HASH SHA256=db2f57f6c06c801d1785280ede0f032d7280bedd72f2a30bc263a272e3269587
DOWNLOAD_DIR "${CMAKE_CURRENT_BINARY_DIR}/download/libdjinterop"
INSTALL_DIR ${DJINTEROP_INSTALL_DIR}
CMAKE_ARGS
-DBUILD_SHARED_LIBS=OFF
Expand Down Expand Up @@ -2373,12 +2376,15 @@ option(BROADCAST "Live Broadcasting (Shoutcast) support" ON)
if(BROADCAST)
find_package(Shout)
if(UNIX AND NOT APPLE)
# Check if system lib is at least 2.4.4 and not suffering bug
# Check if system lib is at least 2.4.6 and not suffering bugs
# https://bugs.launchpad.net/mixxx/+bug/1833225
# https://bugs.launchpad.net/mixxx/+bug/1913579
if(Shout_FOUND AND Shout_VERSION VERSION_LESS 2.4.4)
message(STATUS "Installed libshout version: ${Shout_VERSION} is suffering from bug lp1833225")
message(STATUS "Installed libshout version: ${Shout_VERSION} is suffering from bugs lp1833225 and lp1913579")
elseif(Shout_FOUND AND Shout_VERSION VERSION_LESS 2.4.6)
message(STATUS "Installed libshout version: ${Shout_VERSION} is suffering from bug lp1913579")
endif()
if(NOT Shout_FOUND OR Shout_VERSION VERSION_LESS 2.4.4)
if(NOT Shout_FOUND OR Shout_VERSION VERSION_LESS 2.4.6)
# Fall back to internal libraray in the lib tree
message(STATUS "Using internal libshout")
add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/lib/libshout")
Expand Down
2 changes: 1 addition & 1 deletion res/controllers/Hercules-P32-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ P32.browseEncoder = function(_channel, _control, value, _status, _group) {

P32.headMixEncoder = function(_channel, _control, value, _status, _group) {
var direction = (value > 64) ? -1 : 1;
engine.setValue("[Master]", "headMix", engine.getValue("[Master]", "headMix") + (0.25 * direction));
engine.setValue("[Master]", "headMix", engine.getValue("[Master]", "headMix") + (0.1 * direction));
};

P32.recordButton = new components.Button({
Expand Down
Loading

0 comments on commit ba53b75

Please sign in to comment.