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

try_seek is impossible to use with non-constant speed

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

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

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
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

Start by tracing the try_seek implementation and how playback speed changes are stored; the issue does not name files or tests. The reported problem is that seeking uses the current speed for the whole elapsed interval. Done means seeking accounts for prior speed changes, or the behavior is simplified as the issue suggests; the API impact needs a design decision.

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

Mô tả

bug

It takes the current speed into account but not what it has been the past t seconds. So if my speed was 0.5 and now its 2 try_seek will assume it has always been 2.

Correcting for this requires speed to keep track of all the speed changes.

possible fix:
Make speed's try_seek behavior configurable. Or for now disable all the fancy stuff.

This breaks the current API but I would say the current API is so broken its okay.

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

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/rodio

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

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.