Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into ubuntu_240401
Browse files Browse the repository at this point in the history
  • Loading branch information
JoergAtGithub committed Nov 4, 2024
2 parents 2f3f826 + 6a9c602 commit 57c09d9
Show file tree
Hide file tree
Showing 153 changed files with 26,572 additions and 33,992 deletions.
22 changes: 11 additions & 11 deletions .codespellignorelines
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,24 @@
pInOut, pInOut,
CSAMPLE* pInOut,
CSAMPLE* pInOut,
void EnginePregain::process(CSAMPLE* pInOut, const int iBufferSize) {
void EngineDelay::process(CSAMPLE* pInOut, const int iBufferSize) {
void EnginePregain::process(CSAMPLE* pInOut, const std::size_t bufferSize) {
void EngineDelay::process(CSAMPLE* pInOut, const std::size_t bufferSize) {
pInOut[i] = (CSAMPLE) processSample(fbuf1, (double) pInOut[i]);
pInOut[i + 1] = (CSAMPLE) processSample(fbuf2, (double) pInOut[i + 1]);
m_pDelayBuffer[m_iDelayPos] = pInOut[i];
pInOut[i] = m_pDelayBuffer[iDelaySourcePos];
SampleUtil::applyRampingGain(&pInOut[0], m_fPrevGain, 0, iBufferSize / 2);
SampleUtil::applyRampingGain(&pInOut[iBufferSize / 2], 0, totalGain, iBufferSize / 2);
SampleUtil::applyRampingGain(pInOut, m_fPrevGain, totalGain, iBufferSize);
SampleUtil::applyGain(pInOut, totalGain, iBufferSize);
void process(CSAMPLE* pInOut, const int iBufferSize) override;
void process(CSAMPLE* pInOut, const int iBufferSize);
virtual void process(CSAMPLE* pInOut, const int iBufferSize);
SampleUtil::applyRampingGain(&pInOut[0], m_fPrevGain, 0, bufferSize / 2);
SampleUtil::applyRampingGain(&pInOut[bufferSize / 2], 0, totalGain, bufferSize / 2);
SampleUtil::applyRampingGain(pInOut, m_fPrevGain, totalGain, bufferSize);
SampleUtil::applyGain(pInOut, totalGain, bufferSize);
void process(CSAMPLE* pInOut, const std::size_t bufferSize) override;
void process(CSAMPLE* pInOut, const std::size_t bufferSize);
virtual void process(CSAMPLE* pInOut, const std::size_t bufferSize);
"CSAMPLE_GAIN gain%(i)din, CSAMPLE_GAIN gain%(i)dout"
"gain%(i)dout == CSAMPLE_GAIN_ZERO) {"
"pSrc%(i)d, gain%(i)din, gain%(i)dout" % {"i": j}
"(gain%(i)dout - gain%(i)din) / (iNumSamples / 2);"
MOCK_METHOD(void, process, (CSAMPLE * pInOut, const int iBufferSize), (override));
MOCK_METHOD(void, process, (CSAMPLE * pInOut, const std::size_t bufferSize), (override));
const QString kName3 = QStringLiteral("I'm blue, da ba dee");
float m_k2vg; // IIF factor
float m_k2vgNew; // IIF factor
Expand Down Expand Up @@ -71,6 +71,6 @@ void EngineEffectsDelay::process(CSAMPLE* pInOut,
// Source: FIPS 180-4 Secure Hash Standard (SHS)
// ALAC/CAF has been added in version 1.0.26
QStringLiteral("caf"),
void EngineFilter::process(CSAMPLE* pInOut, const int iBufferSize)
void EngineFilter::process(CSAMPLE* pInOut, const size_t bufferSize)
// Note(RRyan/Max Linke):
// https://github.com/codders/libshout/blob/a17fb84671d3732317b0353d7281cc47e2df6cf6/src/timing/timing.c
2 changes: 1 addition & 1 deletion .github/workflows/build-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ jobs:
- name: "Upload Coverage Report to coveralls.io"
if: matrix.name == 'coverage'
continue-on-error: true
uses: coverallsapp/[email protected].1
uses: coverallsapp/[email protected].4
with:
flag-name: ubuntu-24.04
path-to-lcov: build/lcov.info
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ jobs:

env:
# macOS codesigning
APPLE_CODESIGN_IDENTITY: EF241CF990A9BE5477438AEE1F308F76F33FD100
MACOS_CODESIGN_CERTIFICATE_P12_BASE64: ${{ secrets.MACOS_CODESIGN_CERTIFICATE_P12_BASE64 }}
MACOS_CODESIGN_CERTIFICATE_PASSWORD: ${{ secrets.MACOS_CODESIGN_CERTIFICATE_PASSWORD }}

Expand Down Expand Up @@ -201,12 +200,15 @@ jobs:
security unlock-keychain -p mixxx Mixxx.keychain
security import ~/certificate.p12 -k Mixxx.keychain \
-P "${MACOS_CODESIGN_CERTIFICATE_PASSWORD}" -A
security find-certificate -a -Z Mixxx.keychain
APPLE_CODESIGN_IDENTITY="$(security find-certificate -a -Z Mixxx.keychain | grep ^SHA-1 | cut -d " " -f3 | uniq)"
security set-key-partition-list -S "apple-tool:,apple:" -k mixxx Mixxx.keychain
# Add keychain to search list
security list-keychains -s Mixxx.keychain
# Prevent keychain access from timing out
security set-keychain-settings Mixxx.keychain
echo "CMAKE_ARGS_EXTRA=${CMAKE_ARGS_EXTRA} -DAPPLE_CODESIGN_IDENTITY=${APPLE_CODESIGN_IDENTITY}" >> "${GITHUB_ENV}"
echo "APPLE_CODESIGN_IDENTITY=${APPLE_CODESIGN_IDENTITY}" >> $GITHUB_ENV
- name: "[macOS/Linux] Set up build environment"
if: matrix.buildenv_script != null && runner.os != 'Windows'
Expand Down Expand Up @@ -316,7 +318,7 @@ jobs:
env:
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
if: runner.os == 'Windows' && env.AZURE_TENANT_ID
uses: azure/trusted-signing-action@v0.4.0
uses: azure/trusted-signing-action@v0.5.0
with:
azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }}
azure-client-id: ${{ secrets.AZURE_CLIENT_ID }}
Expand Down Expand Up @@ -371,7 +373,7 @@ jobs:
env:
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
if: runner.os == 'Windows' && env.AZURE_TENANT_ID
uses: azure/trusted-signing-action@v0.4.0
uses: azure/trusted-signing-action@v0.5.0
with:
azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }}
azure-client-id: ${{ secrets.AZURE_CLIENT_ID }}
Expand Down
13 changes: 11 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2325,7 +2325,7 @@ option(ENGINEPRIME "Support for library export to Denon Engine Prime" ON)
if(ENGINEPRIME)
# libdjinterop does not currently have a stable ABI, so we fetch sources for a specific tag, build here, and link
# statically. This situation should be reviewed once libdjinterop hits version 1.x.
set(LIBDJINTEROP_VERSION 0.21.0)
set(LIBDJINTEROP_VERSION 0.22.1)
# Look whether an existing installation of libdjinterop matches the required version.
find_package(DjInterop ${LIBDJINTEROP_VERSION} EXACT CONFIG)
if(NOT DjInterop_FOUND)
Expand Down Expand Up @@ -2357,11 +2357,18 @@ if(ENGINEPRIME)
# For offline builds download the archive file from the URL and
# copy it into DOWNLOAD_DIR under DOWNLOAD_NAME prior to starting
# the configuration.
#
# If you want to test (locally) an experimental fork/branch of libdjinterop,
# you can comment out URL and URL_HASH and use GIT_REPOSITORY instead:
#
# GIT_REPOSITORY "https://github.com/abcd/your-fork-of-libdjinterop"
# GIT_TAG "origin/name-of-your-branch"
#
ExternalProject_Add(libdjinterop
URL
"https://github.com/xsco/libdjinterop/archive/refs/tags/${LIBDJINTEROP_VERSION}.tar.gz"
"https://launchpad.net/~xsco/+archive/ubuntu/djinterop/+sourcefiles/libdjinterop/${LIBDJINTEROP_VERSION}-0ubuntu1/libdjinterop_${LIBDJINTEROP_VERSION}.orig.tar.gz"
URL_HASH SHA256=160d4e09b25e859816a6b664058e7c6bc5cd889adeb188a9721c2b65d2133641
URL_HASH SHA256=e811158d42c3864f5b682bcf76e0af78278050439d82d14d592dd0a391da6b20
DOWNLOAD_DIR "${CMAKE_CURRENT_BINARY_DIR}/downloads"
DOWNLOAD_NAME "libdjinterop-${LIBDJINTEROP_VERSION}.tar.gz"
INSTALL_DIR ${DJINTEROP_INSTALL_DIR}
Expand Down Expand Up @@ -2789,6 +2796,7 @@ if(QML)
src/qml/qmlvisibleeffectsmodel.cpp
src/qml/qmlchainpresetmodel.cpp
src/qml/qmlwaveformoverview.cpp
src/qml/qmlmixxxcontrollerscreen.cpp
# The following sources need to be in this target to get QML_ELEMENT properly interpreted
src/control/controlmodel.cpp
src/control/controlsortfiltermodel.cpp
Expand All @@ -2800,6 +2808,7 @@ if(QML)
# and :/mixxx.org/imports/Mixxx/Controls are placed into beginning of the binary
qt_finalize_target(mixxx)


install(
DIRECTORY
"${CMAKE_CURRENT_SOURCE_DIR}/res/qml"
Expand Down
6 changes: 6 additions & 0 deletions packaging/debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
mixxx (2.4.1-1~focal) focal; urgency=medium

* Build of 2.4.1

-- RJ Skerry-Ryan <[email protected]> Wed, 08 May 2024 21:39:18 +0000

mixxx (2.4.0-1~focal) focal; urgency=medium

* Build of 2.4.0
Expand Down
8 changes: 4 additions & 4 deletions res/controllers/DummyDeviceDefaultScreen.qml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import Mixxx.Controls 1.0 as MixxxControls

import "." as Skin

Item {
Mixxx.ControllerScreen {
id: root

required property string screenId
Expand All @@ -23,7 +23,7 @@ Item {
property string group: "[Channel1]"
property var deckPlayer: Mixxx.PlayerManager.getPlayer(root.group)

function init(controlerName, isDebug) {
init: function(controlerName, isDebug) {
console.log(`Screen ${root.screenId} has started`)
switch (root.screenId) {
case "jog":
Expand All @@ -34,13 +34,13 @@ Item {
}
}

function shutdown() {
shutdown: function() {
console.log(`Screen ${root.screenId} is stopping`)
loader.sourceComponent = splash
}

// function transformFrame(input: ArrayBuffer, timestamp: date) {
function transformFrame(input, timestamp) {
transformFrame: function(input, timestamp) {
return new ArrayBuffer(0);
}

Expand Down
21 changes: 0 additions & 21 deletions res/controllers/Pioneer-DDJ-400.midi.xml
Original file line number Diff line number Diff line change
Expand Up @@ -889,27 +889,6 @@
</options>
</control>

<control>
<description>CUE Channel +SHIFT - press - Adjust BPM to match tapped BPM</description>
<group>[Channel1]</group>
<key>bpm_tap</key>
<status>0x90</status>
<midino>0x68</midino>
<options>
<normal/>
</options>
</control>
<control>
<description>CUE Channel +SHIFT - press - Adjust BPM to match tapped BPM</description>
<group>[Channel2]</group>
<key>bpm_tap</key>
<status>0x91</status>
<midino>0x68</midino>
<options>
<normal/>
</options>
</control>

<control>
<description>HEADPHONES MIXING - rotate - Monitor Balance</description>
<group>[Master]</group>
Expand Down
21 changes: 0 additions & 21 deletions res/controllers/Pioneer-DDJ-FLX4.midi.xml
Original file line number Diff line number Diff line change
Expand Up @@ -899,27 +899,6 @@
</options>
</control>

<control>
<description>CUE Channel +SHIFT - press - Adjust BPM to match tapped BPM</description>
<group>[Channel1]</group>
<key>bpm_tap</key>
<status>0x90</status>
<midino>0x68</midino>
<options>
<normal/>
</options>
</control>
<control>
<description>CUE Channel +SHIFT - press - Adjust BPM to match tapped BPM</description>
<group>[Channel2]</group>
<key>bpm_tap</key>
<status>0x91</status>
<midino>0x68</midino>
<options>
<normal/>
</options>
</control>

<control>
<description>HEADPHONES MIXING - rotate - Monitor Balance</description>
<group>[Master]</group>
Expand Down
Loading

0 comments on commit 57c09d9

Please sign in to comment.