Skip to content

Commit 0784e62

Browse files
committed
Build - compile on Linux and Windows again, and vendor the crates from clockwork's workspace for the Debian source
1 parent 28f73ec commit 0784e62

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎app/gui/mainwindow.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@ public slots:
233233
void onMixerSettings(double drive, double outputVolume);
234234
void onAudioSwitchDone(const SonicPi::AudioSwitchOutcome& outcome);
235235
void onAudioDeviceReopenReply(bool accepted, QString reason);
236+
void onAudioStateChanged(const QString& state, const QString& reason); // the engine's own fallback: say where the sound went
236237
void changeBufferSize(int size);
237238
void resetAudioDevice();
238239

@@ -253,6 +254,7 @@ public slots:
253254
// startup never finished (see audioBootDecision); say so once we are up.
254255
bool m_audioPrefsSkippedAtBoot = false;
255256
bool m_audioDevicesSeen = false;
257+
bool m_announceDeviceAfterRollback = false; // the next device list names where the engine's fallback went
256258
bool m_audioInputDevicesSeen = false;
257259
bool m_audioDeviceConfigSeen = false;
258260
SonicPi::AudioDevicesInfo m_lastAudioDevices;
@@ -632,8 +634,6 @@ private slots:
632634
#if defined(Q_OS_MAC) || defined(Q_OS_WIN)
633635
// A+V session-recorder branch of toggleRecording. Write to a temp
634636
// file; rename or delete it once the user picks a save location.
635-
void onAudioStateChanged(const QString& state, const QString& reason); // the engine's own fallback: say where the sound went
636-
bool m_announceDeviceAfterRollback = false;
637637
void startSessionRecordingFlow();
638638
void stopSessionRecordingFlow();
639639
void recordingFailed(const QString& reason); // the recorder could not start or died: Record goes back

‎app/gui/platform/recorder_win.cpp‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#include "windows.h"
2020
#include "wgc_d3d_interop.h"
2121
#include "mp4_soft_remux.h"
22+
#include "recorder_audio_mix.h"
2223

2324
#include <d3d11_4.h>
2425
#include <windows.graphics.capture.interop.h>

‎app/linux-debian-source.sh‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# sonic-pi_<uv>.orig-link.tar.xz pristine Ableton Link 4.0 with its
1414
# asio-standalone submodule
1515
# sonic-pi_<uv>.orig-rust-vendor.tar.xz `cargo vendor` output for the
16-
# supersonic rust/Cargo.lock
16+
# clockwork rust/Cargo.lock
1717
# sonic-pi_<dv>.dsc + .debian.tar.xz via dpkg-buildpackage -S
1818
#
1919
# The Link and rust-vendor components mirror the ones the supersonic repo's
@@ -102,11 +102,10 @@ find "$WORK/link" -name .git -prune -exec rm -rf {} +
102102
tar -C "$WORK" -cJf "$WORK/sonic-pi_$UV.orig-link.tar.xz" link
103103

104104
# ── Rust vendor component ───────────────────────────────────────────────────
105-
# supersonic's workspace is the one the engine build runs cargo in
106-
# (CLOCKWORK_RUST_WORKSPACE); its crates path-depend on clockwork's, so one
107-
# vendor of this lockfile covers the whole graph.
105+
# clockwork's workspace is the one the engine build runs cargo in
106+
# (CLOCKWORK_RUST_WORKSPACE), so one vendor of its lockfile covers the graph.
108107
echo "=== orig-rust-vendor tarball ==="
109-
(cd "$SUPERSONIC/rust" && cargo vendor "$WORK/rust-vendor")
108+
(cd "$SUPERSONIC/clockwork/rust" && cargo vendor "$WORK/rust-vendor")
110109

111110
# Sanitise the vendor tree so it survives Debian's source-package machinery
112111
# and lintian — same rules as supersonic's make-debian-source.sh, see there

0 commit comments

Comments
 (0)