Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Address arbitrary stream delays introduced in webaudio host

Đang mở
#409 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
rust
Lĩnh vực
audio-video-rtc

Hướng nghiên cứu

The issue identifies Device::build_output_stream_raw and Stream::play in the webaudio host as the two places that add delays. Read those paths and trace how they prevent early buffer underruns; the issue does not name specific files or tests. Done means finding an alternative that avoids early underruns without arbitrary delays and confirming the behavior.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

host - webaudio platform - web

Currently there are two places where an arbitrary delay is used to avoid buffer underruns in the webaudio host.

  1. On Device::build_output_stream_raw the first emitted buffer is delayed by 25ms.
  2. On Stream::play a 10ms delay is introduced. @dpeckett just to clarify, this was to avoid a buffer underrun you were running into yes? Or was there another reason for this one?

It would be worth investigating to see if there's an alternative solution to avoiding early underruns.

Ngôn ngữ chính
Rust
Star
4k
Fork
554
Merge trung bình
3 ngày 3 giờ
Pull request đã merge (30 ngày)
4

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của RustAudio/cpal

Tất cả issue của RustAudio/cpal

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.