Skip to content

Sync 5 commits from waywardgeek/sonic - #2

Open
austek wants to merge 6 commits into
espeak-ng:masterfrom
ZirekHQ:sync-wayward-commits
Open

Sync 5 commits from waywardgeek/sonic#2
austek wants to merge 6 commits into
espeak-ng:masterfrom
ZirekHQ:sync-wayward-commits

Conversation

@austek

@austek austek commented Aug 23, 2026

Copy link
Copy Markdown

This branch was behind upstream waywardgeek/sonic by 5 commits. Fast-forward merge, no conflicts:

  • Fix downSampleBuffer overflow when numChannels != 1
  • Merge pull request #57 from parallelcc/patch-1
  • Basic unit tests and fuzzing.
  • Change CC variable assignment to conditional
  • Merge pull request #60 from heitbaum/patch-1

espeak-ng's docs/building.md points to this repo as the recommended sonic dev library (libsonic-dev), so keeping it current with upstream matters independent of the Android build, which fetches waywardgeek/sonic directly.

austek added a commit to ZirekHQ/espeak-ng-sonic that referenced this pull request Aug 23, 2026
Fork-only notes for working in this repo with Claude Code: build/test
commands (including where develop's build diverges from master's,
pending PR espeak-ng#2), the sinc-FIR/overlap-add architecture, bug patterns
already found here via ASan/UBSan, and the branch layout that keeps
this kind of file out of upstream PR diffs (topic branches for
upstream PRs are cut from espeak-main, never from develop).
tests.h/runtests.c already declare and call sonicTestStreamCreation,
sonicTestParameters, sonicTestFlush, and sonicTestSimpleProcessing --
all defined in tests/sonic_api_test.c, which this same commit series
adds to the tests/ directory -- but tests/Makefile's TEST_SRC was
never updated to include it, so `cd tests && make runtests` fails to
link with undefined references to all four.
austek added a commit to ZirekHQ/espeak-ng-sonic that referenced this pull request Aug 23, 2026
tests.h/runtests.c declare and call sonicTestStreamCreation,
sonicTestParameters, sonicTestFlush, and sonicTestSimpleProcessing --
all defined in tests/sonic_api_test.c -- but tests/Makefile's
TEST_SRC was never updated to include it, so `cd tests && make
runtests` fails to link with undefined references to all four.

Same gap ported (and independently confirmed) in
waywardgeek/sonic#72; also fixed directly in the still-open PR espeak-ng#2
("Sync 5 commits from waywardgeek/sonic"), which is what actually
introduces this mismatch on that branch -- this commit applies the
same fix to develop directly, since develop already has that content
merged in independently of whether/when espeak-ng#2 lands.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants