Repository navigation
Desktop: the Linux installers ask for GStreamer, which the audio needs - #2
Merged
Merged
Conversation
WebKitGTK has no audio stack of its own. Web Audio and decodeAudioData both run through GStreamer, and the element it reaches for is `autoaudiosink` from the "good" plugin set. A Linux box without it runs the machine perfectly and plays nothing: no error, no warning, just silence, which is a miserable thing to hand someone who has just installed a drum machine. The .deb declared no dependencies at all and the .rpm none either, so both could install onto exactly that. Declare webkit2gtk, gtk3 and the base/good GStreamer plugins on each. The AppImage already carries its own copies via linuxdeploy-plugin-gstreamer, so only the bare `cargo build` binary is left needing the system packages, and DESKTOP.md now says so with the command. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019U7kCMZc9a7sezDwKKseJy
Deploying chopdeck with
|
| Latest commit: |
ca4a3b7
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://ffa19524.chopdeck.pages.dev |
| Branch Preview URL: | https://desktop-audio-deps.chopdeck.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Found while running the locally built desktop app: the machine worked perfectly and played nothing. No error, no warning, just silence.
Cause
WebKitGTK has no audio stack of its own — Web Audio and
decodeAudioDataboth run through GStreamer. The element it reaches for isautoaudiosink, which lives in the "good" plugin set. On a box without it:The browser has its own audio stack, so chopdeck.com is unaffected and this only shows up on the desktop.
What was shipped
bundle.linux.deb.dependswas[]and the rpm had none either, so both installers could land on exactly such a machine and hand someone a silent drum machine..debnow depends ongstreamer1.0-plugins-base,gstreamer1.0-plugins-good,gstreamer1.0-pulseaudio..rpmnow depends ongstreamer1-plugins-base,gstreamer1-plugins-good.Depends:line with each entry twice.linuxdeploy-plugin-gstreamer, so it was never affected.docs/DESKTOP.mdnow warns that the failure is silent, gives the Arch and Debian install commands, and namesgst-inspect-1.0 autoaudiosinkas the check.Testing
Rebuilt the
.deband read the control file back:Config-only change; no source touched.
🤖 Generated with Claude Code
https://claude.ai/code/session_019U7kCMZc9a7sezDwKKseJy