Expose hardware latency

Đang mở
#1,436 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
audio-video-rtc

Hướng nghiên cứu

Read the stream API and the StreamInstant/StreamTimestamp definitions mentioned in the issue, then inspect how backend hosts expose hardware information. Compare the JACK and WASAPI loopback/process-capture scenarios, since latency may be unavailable or inapplicable for those streams. The change is done when hardware latency is exposed at the stream level, with appropriate handling for sample-rate dependence and unsupported streams.

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

Mô tả

API design

Low level hosts can retrieve this information from the hardware driver, but I suspect that some higher level hosts may not have access to this information. Further more, this property may be inapplicable in certain scenarios. E.g. a JACK graph may not involve any audio hardware, and a WASAPI loopback or process capture stream definitely doesn't.

Since hardware latency depends on sample rate, this should be exposed at the stream level, not device level.

Note that this has nothing to do with the delta between the two StreamInstants in StreamTimestamp, as that delta represents everything that happens before/after the hardware.

Ngôn ngữ chính
Rust
Star
4k
Fork
554
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/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.