• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sobomax / digger / 38661830602
82%

Build:
DEFAULT BRANCH: master
Ran 15 Oct 2026 12:47AM UTC
Jobs 12
Files 87
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Oct 2026 06:32AM UTC coverage: 78.827% (-0.03%) from 78.852%
38661830602

push

github

sobomax
Don't overdrive the SDL sound output with a leftover 8-bit conversion

`fill_audio()` in `sdl_snd.c` passes `(sample - 127.0) * 128.0` to the high-pass filter. That converted unsigned 8-bit samples to signed 16-bit ones when `getsample()` returned `uint8_t` (239f783). Since 3b1077e, `getsample()` comes from `soundgen.c` and already returns signed 16-bit samples at full scale. Later that day, b341dba turned the filters on by default without changing this line. So every sample reaches the filters 128 times too large.

Before 218ece0 the result overflowed the conversion to `int16_t`; since then it's clamped. Either way, most of the output is clipped. In 25 seconds of music at 44100 Hz (the main tune, then the bonus tune), 36% of the samples are at full scale. Every note comes out as a hard-edged wave at maximum level, with strong harmonics up to 12 kHz and no attack, decay or release. That makes the music sound buzzy.

1 of 1 new or added line in 1 file covered. (100.0%)

2 existing lines in 1 file now uncovered.

11709 of 14854 relevant lines covered (78.83%)

20460768.24 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
92.88
-0.32% sound_backend.c
Jobs
ID Job ID Ran Files Coverage
1 run-ubuntu-24.04-clang-xlong - 38661830602.1 15 Oct 2026 01:04AM UTC 82
69.07
GitHub Action Run
2 run-ubuntu-24.04-clang-long - 38661830602.2 15 Oct 2026 12:47AM UTC 82
69.36
GitHub Action Run
3 run-ubuntu-24.04-gcc-xlong - 38661830602.3 15 Oct 2026 01:02AM UTC 87
71.84
GitHub Action Run
4 run-ubuntu-22.04-gcc-xlong - 38661830602.4 15 Oct 2026 01:02AM UTC 169
71.74
GitHub Action Run
5 run-ubuntu-22.04-clang-xlong - 38661830602.5 15 Oct 2026 01:03AM UTC 101
69.41
GitHub Action Run
6 run-ubuntu-24.04-gcc-short - 38661830602.6 15 Oct 2026 12:48AM UTC 87
65.63
GitHub Action Run
7 run-ubuntu-24.04-clang-short - 38661830602.7 15 Oct 2026 12:49AM UTC 82
64.38
GitHub Action Run
8 run-ubuntu-22.04-gcc-short - 38661830602.8 15 Oct 2026 12:48AM UTC 169
66.02
GitHub Action Run
9 run-ubuntu-24.04-gcc-long - 38661830602.9 15 Oct 2026 12:47AM UTC 87
71.66
GitHub Action Run
10 run-ubuntu-22.04-clang-short - 38661830602.10 15 Oct 2026 12:48AM UTC 101
64.3
GitHub Action Run
11 run-ubuntu-22.04-gcc-long - 38661830602.11 15 Oct 2026 12:47AM UTC 169
71.21
GitHub Action Run
12 run-ubuntu-22.04-clang-long - 38661830602.12 15 Oct 2026 12:47AM UTC 101
69.15
GitHub Action Run
Source Files on build 38661830602
  • Tree
  • List 87
  • Changed 21
  • Source Changed 0
  • Coverage Changed 21
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 0d6cf039 on github
  • Prev Build on master (#38516547176)
  • Next Build on master (#38831309666)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc