Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
620e450
USB Audio: the bus-only layouts skip the track stores and the routed …
repeat98 Nov 30, 2026
41d901c
USB Audio: the frame hook returns at once while no computer streams
repeat98 Nov 30, 2026
1de89cf
USB Audio: every packet that is one run of ring words is copied witho…
repeat98 Nov 30, 2026
9df6d09
USB Audio 0.4.3-experimental: version, release notes, inventory kind …
repeat98 Nov 30, 2026
cfdedec
USB Audio 0.4.3-experimental: the performance record and the source-b…
repeat98 Nov 30, 2026
924f9b5
Merge origin/main into module/usb-audio-043
repeat98 Nov 30, 2026
e9a3240
USB Audio 0.4.3-experimental: import the source-built packages of the…
repeat98 Nov 30, 2026
b95c6f8
USB Audio 0.4.3-experimental: TESTING.md, the Windows records and wha…
repeat98 Nov 30, 2026
6534ef9
USB Audio 0.4.3-experimental: release notes without test status; rege…
repeat98 Nov 30, 2026
df370ef
USB Audio 0.4.3-experimental: the silent lap in the packet copy, not …
repeat98 Nov 30, 2026
ed5f737
USB Audio 0.4.3-experimental: import the source-built packages; TESTI…
repeat98 Nov 30, 2026
5d594b2
USB Audio 0.4.3-experimental: ten minutes on a Mac, the release itsel…
repeat98 Nov 30, 2026
cb47119
Merge remote-tracking branch 'origin/main' into module/usb-audio-043
repeat98 Nov 30, 2026
ceaddfa
USB Audio 0.4.3-experimental: the release names base 0.8.5, its bytes…
repeat98 Nov 30, 2026
c1d7beb
USB Audio 0.4.3-experimental: the owner's approval (30 November 2026)
repeat98 Nov 30, 2026
f99f5cf
USB Audio 0.4.3-experimental: the benchmark against the built-in in o…
repeat98 Nov 30, 2026
3ba239a
USB Audio 0.4.3-experimental: the test procedure on 0.8.5, the at-res…
repeat98 Nov 30, 2026
84a7ceb
Merge remote-tracking branch 'origin/main' into module/usb-audio-043
repeat98 Nov 30, 2026
4832cc6
USB Audio 0.4.3-experimental: regenerate the module documents
repeat98 Nov 30, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
2 changes: 1 addition & 1 deletion scripts/machine-modules.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export function unlistedPackages(root){
if(!existsSync(rows))return // a repository without USB packages, such as a minimal test fixture
const manifest=JSON.parse(readFileSync(rows,'utf8'))
walk(manifest.packages)
for(const key of ['configurable', 'configurable-0.4.1', 'configurable-0.4', 'configurable-0.3', ...USB_AUDIO_LAYOUTS.map(layout=>layout.id)]){
for(const key of ['configurable', 'configurable-0.4.2', 'configurable-0.4.1', 'configurable-0.4', 'configurable-0.3', ...USB_AUDIO_LAYOUTS.map(layout=>layout.id)]){
const path=manifest.usbAudio?.[key]?.path
if(typeof path==='string' && path.endsWith('.mwrm'))named.add(path)
}
Expand Down
10 changes: 5 additions & 5 deletions sdk/approvals/usb-audio-out-tracks-main-cue-build-approval.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"kind": "owner-approved-update",
"id": "usb-audio-out-tracks-main-cue",
"version": "0.4.2-experimental",
"sourceSha256": "0999bbb9d4b86aadfece80c13c0f1480f5eec9c89ee097a70ddab2463ce18b19",
"version": "0.4.3-experimental",
"sourceSha256": "860ffa3425d3ae25122ddfbf8cd6b1d9659e3051f260d329cc667c17a47de11e",
"approvedBy": "repeat98",
"approvedOn": "2026-11-27",
"approvedOn": "2026-11-30",
"waived": [
"current-build-hardware",
"chip-worst-case-cycles",
"complete-memory-bounds",
"release-documentation"
],
"retainedUiVersion": "0.4.0-experimental",
"ownerStatement": "I approve USB Audio 0.4.2-experimental: it fixes the #2263 buzz on macOS and costs less CPU than 0.4.1; tested on my MKII on 26-27 November 2026.",
"reason": "#2263: on macOS, 0.4.1's adaptive input and asynchronous recording slid the Mac's I/O buffer 2.6 frames a second until it buzzed; 0.4.2 sends the recording on the host's clock while the host plays in and trims the drift on the unit. Main + Cue now does the built-in's work (once-a-frame flag, the built-in's copy) and the POST gain history runs only for POST. Owner's MKII, macOS: 10 minutes clean; a Main + Cue recording's own cost about half of 0.4.1's (16 to 7.6 points of the frame interrupt in one scene), then 1.2 points and 9 of the longest frame less with the built-in's copy (A/B in one scene); every USB AUDIO setting changed idle, recording and playing in on 0.8.2 with no USB incident; the release on the flashed 0.8.2 installed, recorded and rolled back. Windows after the release, on the owner's PC (owner, 27 November 2026). Not run: 20 channels, an MKI, a Keep and a power cycle. Package SHA-256 c2597a32fa3d863490d17e728a7c7a40b2c7dc147e661df77ff62e94b5bb12db."
"ownerStatement": "I approve USB Audio 0.4.3-experimental: it costs almost nothing at rest, records cheaper than 0.4.2 in lighter projects and no dearer in busy ones, and the release ran ten minutes on my MKII on macOS with no buzz (30 November 2026).",
"reason": "Recording costs less CPU and almost nothing at rest: a packet that is one run of ring words is copied with moveml, the producer skips the sixteen track words whenever no packet sends one, and the frame hook returns before its register save while no computer streams; a change that starts sending tracks without a reconnect sends them silent for one ring lap. Owner's MKII, 0.8.4 twin 16c87945: recording MAIN 46.7 to 37.4 % of the frame interrupt, with Windows playing in 50.7 to 40.0 %, 16 channels 56.7 to 50.3 %, installed at rest +0.1 over the base; the audio the same as 0.4.2's; Windows 11 duplex clean. Against the built-in MAIN + CUE on twins of the same 0.8.5 source in one busy scene (C02, DELAY on every track), recording with INPUTS OFF: 3.1 % of a frame longer and 3.6 idle points less; with INPUTS AB both 0.4.2 and 0.4.3 record at about 51 % against the built-in's 41 %, longest frames up to 104-105 %, no late entry wait. The release itself ten minutes on macOS playing into INPUTS AB while recording: no buzz (sidebands -62 to -75 dB). Not run: 20 channels, INPUTS ABCD, POST LEVEL, an MKI, a Keep and a power cycle. Package SHA-256 3c3c996d2789f4aa96526628c5e794c4b52c056b19615499307b42092a87fb79."
}
2 changes: 1 addition & 1 deletion sdk/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
},
{
"id": "usb-audio-out-tracks-main-cue",
"version": "0.4.2-experimental",
"version": "0.4.3-experimental",
"addedAt": "2026-10-01T09:19:37Z"
},
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"schema": 1,
"imageSha256": "758a077729ae281527efe2b37fe68b407a3837eaa737dd12bb801bae86c6ec9f",
"imageSha256": "098ae421cbffeb2e43aea9ba5d34ed2ae9a8b23a75e2c2f2967271708a67eddb",
"sources": {
"generatedAssembly": "cf7a8f950ddd6dda12030a279ff98e0b1add646e4e9d9b90f381f399bf8d7427",
"sdk/machines/octatrack/module-adapters/usb_audio_settings.c": "e893cec8f8054a39d53f96124667bd44639122e5c338d5f180d23ce9e0e97f89",
"generatedAssembly": "e8fc3b62ba5070b01d4170323d60424ab0389d6834b80c21835d1a9c24a548a9",
"sdk/machines/octatrack/module-adapters/usb_audio_settings.c": "9ad8bba4c2895411d7059757554125f9cd0d0e2d145a0e68ebefbd96cf0b7568",
"sdk/machines/octatrack/include/modwerk_events.h": "d669041baeaa2d9bf3b0fb5dbf365ebf28f14903ff24377261c17f7c5eb41981",
"sdk/octatrack/modules/usb-audio-out-tracks-main-cue/usb_audio_input_trim.c": "6b128ab96ae73b136afb9ccf3acfb4e9d21168b5452e5f835b7588f80364cba0",
"sdk/octatrack/modules/usb-audio-out-tracks-main-cue/usb_audio_output_trim.c": "91aff3f0353b0f10d4f17f68d8ca01df214408cd55a1d058f40012fe7de07ed0",
"generatedSettings": "745826397f23921738e246bb4c2bad60a174a91e59a70949d9e48c44852854b2"
"generatedSettings": "9abcf68212cc7aaa141684fb965b2d976d5206c5d2ff0d81eb4fba9bdf600a29"
},
"copies": [
{
Expand All @@ -18,21 +18,21 @@
"purpose": "Authored audio_pkt_build + 608 in the USB Audio image"
},
{
"offset": 3562,
"offset": 3514,
"length": 6,
"address": 1073863924,
"sha256": "868378f30d4ed1251a28851782180b919dbfbd18ea839b594142244f6e06fb8a",
"purpose": "Authored uac2_set_done + 52 in the USB Audio image"
},
{
"offset": 3568,
"offset": 3520,
"length": 10,
"address": 1073864298,
"sha256": "c1ed73406504f0066c561fa89bfd547fa1c6825d89a28c3442c7997413e0b84c",
"purpose": "Authored uac2_set_done + 58 in the USB Audio image"
},
{
"offset": 5014,
"offset": 5140,
"length": 12,
"address": 1073858896,
"sha256": "adf82a9ab72faf6ad2a911fa873acbf3195bd4a8a4a73771edb96a383405204c",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"schema": 1,
"imageSha256": "53a60634a7c3831961c7e99959f454882f07b94f185f45fe43364995462835ca",
"imageSha256": "965a21930d283d2be59561539062d3654dd470933a774e54a294ec6d3e9bbf17",
"sources": {
"generatedAssembly": "5b10045507818c7ecfa8addf0db483351854510e7ed61d3242e378b7a8c46095",
"sdk/machines/octatrack/module-adapters/usb_audio_settings.c": "e893cec8f8054a39d53f96124667bd44639122e5c338d5f180d23ce9e0e97f89",
"generatedAssembly": "486a928d2c158dc8dd1684b6ea723778d3b3f5e7b0a729db07f62e0cb9494b86",
"sdk/machines/octatrack/module-adapters/usb_audio_settings.c": "9ad8bba4c2895411d7059757554125f9cd0d0e2d145a0e68ebefbd96cf0b7568",
"sdk/machines/octatrack/include/modwerk_events.h": "d669041baeaa2d9bf3b0fb5dbf365ebf28f14903ff24377261c17f7c5eb41981"
},
"copies": [
Expand All @@ -15,14 +15,14 @@
"purpose": "Authored audio_pkt_build + 556 in the USB Audio image"
},
{
"offset": 3368,
"offset": 3320,
"length": 6,
"address": 1073863924,
"sha256": "868378f30d4ed1251a28851782180b919dbfbd18ea839b594142244f6e06fb8a",
"purpose": "Authored uac2_set_done + 52 in the USB Audio image"
},
{
"offset": 3374,
"offset": 3326,
"length": 10,
"address": 1073864298,
"sha256": "c1ed73406504f0066c561fa89bfd547fa1c6825d89a28c3442c7997413e0b84c",
Expand Down
117 changes: 79 additions & 38 deletions sdk/machines/octatrack/module-adapters/usb_audio_configurable.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,39 +61,21 @@ def configure_source(text):
moveal %sp@+,%a4
bra .Lstems_done
.Lpre_words:
| MAIN + CUE sends no track word: its sixteen stores a frame are skipped. Only there: it is the one layout with
| a profile of its own (two pairs), so leaving it re-enumerates and the stream restarts on fresh slots. In a
| layout that can start sending a track without that (ALL from MAIN + CUE ONLY, TRACK 8 from MAIN), the packets
| would first carry the ring's words from before.
tstb mwua_main_cue | set once a frame, below the speed check
| No packet needs a track word (MAIN, MAIN + CUE): the sixteen stores a frame are skipped.
| mwua_begin_frame decides it once a frame; after a change that starts sending a track without a
| reconnect (TRACK 8 from MAIN), mwua_tracks_stale sends that track silent for one ring lap, so the
| packets never carry the ring's track words from before.
tstb mwua_no_tracks
beqs .Lstems_store
lea %a3@(64),%a3 | past the slot's track words, left as they were
bra .Lstems_done
.Lstems_store:
''' + loop + '.Lstems_done:\n' + text[end:]
# MAIN + CUE at high speed does the built-in's work (owner's MKII, 27 November 2026: recording cost 4 points of
# the frame interrupt more than the built-in's code, mostly the routed C copy). mwua_main_cue holds only when the
# copy's routes are Main then Cue: two pairs, words 16-19 sent and the first pair Main (mwua_fs_pair is route[0]).
text = checked(text, ''' seq %d1 | d1 = 0xff at high speed
moveal %d1,%a1 | a1 != 0: skip the sum this block
''', ''' seq %d1 | d1 = 0xff at high speed
moveal %d1,%a1 | a1 != 0: skip the sum this block
moveq #0,%d0 | mwua_main_cue, for the producer and the packet copy
tstl %d1
beqs .Lmc_flag
mvzb mwua_pairs,%d1
subql #2,%d1
bnes .Lmc_flag
movel mwua_sent_words,%d1
cmpil #0xf0000,%d1
bnes .Lmc_flag
mvzb mwua_fs_pair,%d1
subql #8,%d1
bnes .Lmc_flag
moveq #1,%d0
.Lmc_flag:
moveb %d0,mwua_main_cue
''')
# A packet that is one run of consecutive ring words (MAIN, MAIN + CUE, TRACK 8, the sixteen tracks) is
# copied at high speed as the built-in copies it: mwua_begin_frame sets mwua_run_words (2, 4 or 16) and
# mwua_run_off, and the packet copy moves those words alone (owner's MKII, 27 November 2026: MAIN + CUE's
# recording cost 4 points more through the routed C copy; 30 November 2026, Windows: MAIN's 17.9 points
# of the frame interrupt fell to 6.6 with this and the skipped track stores).
text = checked(text, ' movel %d4,aud_produced\n.endif\n', ''' movel %d4,aud_produced
tstb mwua_post
beqs .Lpost_gate_done
Expand Down Expand Up @@ -154,12 +136,14 @@ def configure_source(text):
mulu.l %d1,%d6
1: rts
mwua_route: | a0 dTD, a3 buffer, a5 wrap, a6 slot
tstb mwua_tracks_stale | tracks stored again less than a lap ago: the copy that sends them silent
bnes 3f
tstb aud_hs
beqs 1f
tstb mwua_direct
bne audio_copy80
tstb mwua_main_cue
bne mwua_copy_main_cue
tstb mwua_run_words
bne mwua_copy_run
moveq #0,%d1
bras 2f
1: moveq #1,%d1
Expand All @@ -169,28 +153,63 @@ def configure_source(text):
movel %a2,%sp@-
movel %a1,%sp@-
bsr mwua_copy
moveal %sp@,%a1
5: moveal %sp@,%a1
movel %sp@(8),%d4
lea %sp@(16),%sp
moveal %sp@+,%a0
bsr mwua_packet_bytes
addal %d6,%a1
rts
mwua_copy_main_cue: | d0 frames from a2 to a1: each slot's words 16-19, as the built-in copies them
lea %a2@(64),%a2 | (clobbers d1-d4, as audio_copy16 does at the same call)
3: moveq #0,%d1
tstb aud_hs
bnes 4f
moveq #1,%d1
4: movel %a0,%sp@-
movel %d1,%sp@-
movel %d0,%sp@-
movel %a2,%sp@-
movel %a1,%sp@-
bsr mwua_copy_fresh
bras 5b
mwua_copy_run: | d0 frames from a2 to a1: mwua_run_words words of each slot from byte
mvzb mwua_run_off,%d1 | mwua_run_off (clobbers d1-d4, as audio_copy16 does at the same call)
addal %d1,%a2
tstl %d0
beqs 2f
1: moveml %a2@,%d1-%d4
beqs 9f
mvzb mwua_run_words,%d1
subql #4,%d1
beqs 4f
bmis 2f
1: moveml %a2@,%d1-%d4 | the sixteen track words: 64 bytes a frame
moveml %d1-%d4,%a1@
moveml %a2@(16),%d1-%d4
moveml %d1-%d4,%a1@(16)
moveml %a2@(32),%d1-%d4
moveml %d1-%d4,%a1@(32)
moveml %a2@(48),%d1-%d4
moveml %d1-%d4,%a1@(48)
lea %a2@(80),%a2
lea %a1@(16),%a1
lea %a1@(64),%a1
subql #1,%d0
bnes 1b
2: rts
rts
2: moveml %a2@,%d1-%d2 | one pair: 8 bytes a frame
moveml %d1-%d2,%a1@
lea %a2@(80),%a2
addql #8,%a1
subql #1,%d0
bnes 2b
rts
4: moveml %a2@,%d1-%d4 | two pairs: 16 bytes a frame
moveml %d1-%d4,%a1@
lea %a2@(80),%a2
lea %a1@(16),%a1
subql #1,%d0
bnes 4b
9: rts
.bss
.balign 4
mwua_gain: .space 4
mwua_main_cue: .space 1
'''
return text

Expand All @@ -207,6 +226,28 @@ def source(root, module, layout, functions, load, sine_curve, package_hooks, *,
text = configure_source(text)
text = package_hooks(text)
text = checked(text, ' jsr audio_frame_shim', ' jsr mwua_begin_frame\n jsr audio_frame_shim')
# At rest the hook returns before it saves a register: no stream asked for, none to tear down, the idle
# bookkeeping done (aud_closed) and no POST gain history to follow. It cost 0.6 points of the frame interrupt
# every block with no computer streaming (owner's MKII, 30 November 2026). The first block a host asks for
# takes the whole path, mwua_begin_frame's snapshot first.
text = checked(text, '''mwua_frame: | ev_usb_frame: the producer, which uses every register
lea %sp@(-44),%sp
''', '''mwua_frame: | ev_usb_frame: the producer, which uses every register
tstb usbaudio_alt
bnes .Lmwua_frame_work
tstb aud_running
bnes .Lmwua_frame_work
tstb mwua_post
bnes .Lmwua_frame_work
tstb aud_force
bnes .Lmwua_frame_work
tstb aud_closed
beqs .Lmwua_frame_work
moveq #0,%d0 | at rest
rts
.Lmwua_frame_work:
lea %sp@(-44),%sp
''')
# Reuse the licensed fixed-clock SET_CUR handler as an ev_usb_control
# callback. d2 is callee-saved and carries the verified request length.
start = text.index('.Lctrl_set:\n')
Expand Down
5 changes: 3 additions & 2 deletions sdk/machines/octatrack/module-adapters/usb_audio_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,8 @@ def build(layout, cross='m68k-elf-', *, release=False, capture=None, stock=None,
dict(event='ev_usb_bus_end', fn='mwua_bus_end', order=50), dict(event='ev_usb_control', fn='mwua_control', order=50),
dict(event='ev_usb_frame', fn='mwua_frame', order=50), dict(event='ot_settings', fn='mwua_setting', order=50)]
hooks = loader.subscribe([loader.NONE] * len(loader.HANDLERS), entries, symbols)
# Inventory kind 10 is the configurable package whose recording follows the host's
# Inventory kind 11 is the configurable package that copies runs of ring words and rests with no stream
# (0.4.3), 10 the one whose recording follows the host's
# clock while the host plays in (0.4.2), 9 the one with USB input on an adaptive
# endpoint (0.4.1), 8 the one with an asynchronous input endpoint (0.4.0), 7 the
# output-only one (0.3.0). Kinds 1-6 identify the older fixed layouts. The site
Expand Down Expand Up @@ -554,7 +555,7 @@ def build(layout, cross='m68k-elf-', *, release=False, capture=None, stock=None,
raise ValueError('The installed image differs from the compiled module.')
data = loader.package(image, bss, hooks, offsets, sites, name=MODULE, hashed=True, title=TITLE, abi=8,
copies=copies, fills=fills,
layout=(10 if input_port else 7) if layout is None else functions.AUDIO_LAYOUTS[layout] + 1)
layout=(11 if input_port else 7) if layout is None else functions.AUDIO_LAYOUTS[layout] + 1)
if release and stock:
packages = load('usb_audio_package_scan', HERE.parent / 'elekloader/module_packages.py')
scanner = load('usb_audio_image_scan', HERE.parent / 'elekloader/check_stock_free.py')
Expand Down
34 changes: 32 additions & 2 deletions sdk/machines/octatrack/module-adapters/usb_audio_settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,23 @@ uint8_t mwua_post, mwua_off, mwua_fs_sum = 1, mwua_fs_pair = SUM, mwua_pairs = 1
/* The ring words a high-speed packet sends (bits 2p and 2p+1 for pair p): the recording's drift trim
* (usb_audio_output_trim.c) interpolates only those. */
uint32_t mwua_sent_words = 0xfffffu;
static uint8_t route[10];
/* mwua_no_tracks: no packet at either speed needs a track word, so the producer skips its sixteen track stores a
* frame. mwua_run_words: a high-speed packet is one run of consecutive ring words (2: Main, track 8 or one pair;
* 4: Main then Cue or two pairs; 16: the eight tracks), copied without the routes from byte mwua_run_off of
* each slot. 0: the routed copy. mwua_tracks_stale: the producer stores track words again after skipping them,
* and the ring still holds older ones for one lap: the packet copy then sends those tracks silent
* (mwua_copy_fresh), never words from before. */
uint8_t mwua_no_tracks, mwua_run_words, mwua_run_off, mwua_tracks_stale;
#define RING_BLOCKS 64u /* layouts/usbaudio.s AUD_FRAMES / 16: one lap of the ring */
static uint8_t route[10], fresh = RING_BLOCKS;
static uint32_t last;
void mwua_begin_frame(void)
{
unsigned profile = mwua_active;
uint32_t w = configuration[profile];
/* Blocks the producer has stored track words since it last skipped them (it follows mwua_no_tracks). */
if (mwua_no_tracks) fresh = 0; else if (fresh < RING_BLOCKS) ++fresh;
mwua_tracks_stale = !mwua_no_tracks && fresh < RING_BLOCKS;
if (w == last) return;
last = w;
unsigned l = layout(w), mode = w & 3u;
Expand All @@ -174,17 +185,36 @@ void mwua_begin_frame(void)
mwua_fs_sum = mwua_fs_pair == SUM;
mwua_direct = profile == USB20 && mode == 0;
mwua_sent_words = mwua_direct ? 0xfffffu : sent;
mwua_no_tracks = !mwua_direct && !mwua_post && !(sent & 0xffffu) && mwua_fs_pair >= 8u && !mwua_fs_sum;
mwua_tracks_stale = !mwua_no_tracks && fresh < RING_BLOCKS;
unsigned run = 0, i = 1;
if (!mwua_direct && route[0] < SILENCE) {
while (i < mwua_pairs && route[i] == route[0] + i) ++i;
if (i == mwua_pairs && (i == 1u || i == 2u || i == 8u)) run = 2u * i;
}
mwua_run_words = (uint8_t)run;
mwua_run_off = (uint8_t)(run ? 8u * route[0] : 0u);
}
/* Source words already have the UAC2 byte order. The assembly reader splits
* a wrapped ring into two straight runs and calls this for each. */
void mwua_copy(uint32_t *dst, const uint32_t *src, unsigned frames, unsigned full_speed)
__attribute__((always_inline)) static inline void copy(uint32_t *dst, const uint32_t *src, unsigned frames, unsigned full_speed, unsigned fresh_only)
{
unsigned pairs = full_speed ? 1u : mwua_pairs;
for (unsigned frame=0; frame<frames; ++frame, src+=20) {
for (unsigned i=0; i<pairs; ++i) {
unsigned p = full_speed ? mwua_fs_pair : route[i];
if (fresh_only && p < 8u) p = SILENCE;
*dst++ = p < SILENCE ? src[2*p] : 0;
*dst++ = p < SILENCE ? src[2*p+1] : 0;
}
}
}
void mwua_copy(uint32_t *dst, const uint32_t *src, unsigned frames, unsigned full_speed)
{
copy(dst, src, frames, full_speed, 0);
}
/* While mwua_tracks_stale: the same packet with every track source silent. */
void mwua_copy_fresh(uint32_t *dst, const uint32_t *src, unsigned frames, unsigned full_speed)
{
copy(dst, src, frames, full_speed, 1);
}
1 change: 0 additions & 1 deletion sdk/module-cpu-prices-pending.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"poly8": "price not yet measured",
"stem-rec": "price not yet measured",
"syntiz": "price not yet measured",
"usb-audio-out-tracks-main-cue": "price not yet measured",
"vector": "price not yet measured"
}
}
Loading
Loading