Skip to content

SoundBar 1.4

Latest

Choose a tag to compare

@ryoji-info ryoji-info released this 16 Aug 06:10

A full review pass — correctness, efficiency, quality

Every finding below came out of a multi-lens code review, was independently confirmed, fixed, and where reproducible, verified live on hardware.

Fixed

  • The visualiser could get stuck on the Touch Bar indefinitely when "Start on Playback" was off but music kept playing behind a microphone session — the stop-check consulted unmasked audio state and cancelled a stop nothing would ever reschedule.
  • Disabling SoundBar during the brief start delay no longer lets a pending timer present the visualiser while disabled.
  • Dismissing during the stop fade (long press or menu) no longer silently swallows the auto-start for the whole next track.
  • A missing audio permission no longer produces a dead black strip: if captures can't start, SoundBar leaves the Touch Bar alone and logs why. A manual start at idle still works and springs to life when audio arrives.
  • Unplugging the captured microphone mid-call now moves the meter to the surviving mic instead of freezing it for the rest of the call.
  • Double-tap mute no longer dies when it is the only gesture enabled; a keyboard wake no longer eats the next tap for up to 6 seconds.
  • VU tick marks follow the configurable floor (vuFloor) instead of a fixed scale that drifted the moment you tuned it.

Faster

  • Zero heap allocations on the realtime audio thread (was ~94 malloc/free pairs per second).
  • Each rendered frame is assembled once instead of twice; dimmed and waveform colours come from a cache instead of per-frame rebuilds.

Honest docs

  • Tuning from the terminal requires restarting the agent (launchctl kickstart -k "gui/$(id -u)/com.ryoji.SoundBar") — measured: an external defaults write never reaches the running process. Menu changes apply immediately. The docs now say so instead of claiming live re-read.

SoundBar.dmg contains the app, installer, uninstaller and read-me. Ad-hoc signed — if macOS calls the download "damaged":

xattr -dr com.apple.quarantine ~/Downloads/SoundBar.dmg

Updating re-triggers the Screen & System Audio Recording and Microphone prompts (the code signature changes with every build).