iOS 0.1.1: effects read the input where the host puts it (were silent out of process)

Out of process the pulled input arrives by pointer, not in the buffers the
plugin offered. au_test now drives the render block with such an upstream;
it fails on 0.1.0 and passes now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Reactorcoremeltdown
2026-11-14 21:07:05 +01:00
co-authored by Claude Opus 5.5
parent dcf85ba915
commit 7d8311a77f
6 changed files with 95 additions and 10 deletions
+14 -2
View File
@@ -54,7 +54,16 @@ below 0.5), so it only tests the dry path; add a scenario with heads on.
macOS): every effect is registered in-process and driven through AVAudioEngine.
The output must equal the core's at defaults and after moving every parameter
through the AU, a Mix Tightener factory preset must equal the core with that
preset, and `fullState` must restore into a fresh instance. All pass bit-exact.
preset, and `fullState` must restore into a fresh instance. It also calls the
render block directly with an upstream that points the input buffers at its own
memory instead of filling the plugin's, with and without host output buffers.
All pass bit-exact.
That last check exists because AVAudioEngine in-process copies the input into the
plugin's buffers, but out of process (every real host on iOS) the input arrives
by pointer. 0.1.0 read its own buffers and was silent on the iPad while every Mac
test passed. Render code must read the input from the pulled AudioBufferList,
never from the buffers it offered.
## The plugins (0.1.0: the eight audio effects)
@@ -114,7 +123,10 @@ have been every plugin failing to start.
### Test on the iPad
1. Install the newest `cc.tiredsysadmin.ios.sizzle_<n>.ipa` with TrollStore.
2. Open **Sizzle**, tap **Check all plugins**: 8/8 should pass.
2. Open **Sizzle**, tap **Check all plugins**: 8/8 should pass. With the iPad on
USB, `idevicesyslog` (`brew install libimobiledevice`) shows the plugin
process as `SizzleFX` and the host side as `Sizzle(AudioToolboxCore)`;
`idevicecrashreport -k -e <dir>` copies crash reports without deleting them.
3. In AUM, add an audio track or a synth, then an effect slot: the plugins are
listed as "Tired Sysadmin: Sizzle …". Try the editor, a Mix Tightener preset,
and saving and reopening an AUM session (restores `fullState`).