[GH-ISSUE #4683] Linux: sound effects are delayed by about 100 ms with CPAL #1419

Open
opened 2026-11-02 15:46:47 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @nytrrcx on GitHub (Oct 30, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4683

Originally assigned to: @nytrrcx on GitHub.

On Void Linux with PipeWire, Horizon's sound effects have a noticeable delay of about 100 ms. This is an estimate from listening, not a measured latency.

Steps to reproduce:

  1. Launch the current Horizon nightly with audio enabled.
  2. Enter a world and break or place blocks, or click menu buttons.
  3. Compare the sound timing with the corresponding action.

Expected: sounds play immediately.
Actual: sounds are noticeably delayed.

The client logs audio output default (44100 Hz, 2 channels, f32). In a local test build using OpenAL Soft native sources, the delay was no longer noticeable.

Originally created by @nytrrcx on GitHub (Oct 30, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4683 Originally assigned to: @nytrrcx on GitHub. On Void Linux with PipeWire, Horizon's sound effects have a noticeable delay of about 100 ms. This is an estimate from listening, not a measured latency. Steps to reproduce: 1. Launch the current Horizon nightly with audio enabled. 2. Enter a world and break or place blocks, or click menu buttons. 3. Compare the sound timing with the corresponding action. Expected: sounds play immediately. Actual: sounds are noticeably delayed. The client logs `audio output default (44100 Hz, 2 channels, f32)`. In a local test build using OpenAL Soft native sources, the delay was no longer noticeable.
Author
Owner

@nytrrcx commented on GitHub (Oct 30, 2026):

/claim

<!-- gh-comment-id:6533588753 --> @nytrrcx commented on GitHub (Oct 30, 2026): /claim
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#1419
No description provided.