Skip to content

Resolve HSDOAH no-go - #12

Merged
harrypm merged 2 commits into
harrypm:mainfrom
machcnz:main
Jul 4, 2026
Merged

harrypm merged 2 commits into
harrypm:mainfrom
machcnz:main

Conversation

@machcnz

@machcnz machcnz commented Jul 4, 2026

Copy link
Copy Markdown

Minor bug fix - meson.build - add ln 19: cflags += ['-DHSDAOH_UPSTREAM=1']

@harrypm
harrypm merged commit 45dc67e into harrypm:main Jul 4, 2026
12 checks passed
@harrypm harrypm added bug Something isn't working enhancement New feature or request labels Jul 4, 2026
harrypm added a commit that referenced this pull request Jul 4, 2026
…RC + ChB on Linux/macOS

PR #12 ("Resolve HSDOAH no-go", commit 2eaec01) added cflags += ['-DHSDAOH_UPSTREAM=1']
as a GLOBAL define across all platforms, but the HSDAOH_UPSTREAM code path in
gui_capture.c is an incomplete WIP reference implementation:
  - it hard-disables MISRC simple-capture mode (gui_capture.c ~1407: returns -1
    with "Simple-capture unavailable in HSDAOH_UPSTREAM build")
  - it has NO stream_id==1 (ChB) handler in gui_capture_upstream_callback, so
    channel B data is silently dropped
  - it skips gui_capture_configure_handler(app, true), so the MISRC frame parser
    is never initialized
This broke HSDAOH/MISRC connect and CXADC ChB on Linux/macOS in v1.1.0.

Make HSDAOH_UPSTREAM=1 Windows-only so Windows keeps PR #12's connect fix
verbatim, and Linux/macOS restore the complete v1.0.9 MISRC raw-callback +
frame-parser path (both channels). The Windows -lavrt/-lksuser GUI linker flags
from the same commit are already Windows-gated and unchanged.

Also add four HARD CI MIRROR RULES to AGENTS.MD after discovering a local-build
validity gap: scripts/build-appimage-local.sh --native on a host with
/usr/local/lib/libhsdaoh.so bundled a DIFFERENT libhsdaoh (sha 4b1204a0, has
hsdaoh_open2) than the v1.0.9 CI release AppImage (sha f1d3b785, vendored, no
hsdaoh_open2), because the 997cf05 vendored-hsdaoh rpath was shadowed by the
system libFLAC's /usr/local/lib rpath. Per the new rules, that local build was
non-representative of the CI/published artifact and its test was invalid; the
HSDAOH_UPSTREAM fix must be validated against a CI-built AppImage.

Co-Authored-By: Oz <oz-agent@warp.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants