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

add port name to StreamConfig

Đang mở
#557 4 bình luận 3 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
42/100
Loại issue
Tính năng
Độ 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 reading the StreamConfig definition and the stream creation paths for the JACK and PipeWire backends. Check how those backends name ports and how other backends handle configuration; the issue proposes accepting a caller supplied name and ignoring it elsewhere. Done when applications can choose port names on JACK and PipeWire and existing backends continue to work.

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

Mô tả

host - jack host-specific feature

For usability with JACK and PipeWire routing applications like Catia or QJackCtl as well as session managers, it is important that applications can choose their port names. I think this could easily fit into the API of StreamConfig. For backends besides JACK and PipeWire the name would simply be ignored.

As far as I can tell CPAL is the only crossplatform audio library in any language that could do this well because Stream creation is decoupled from stream usage, so the application can create all its ports for other applications to connect to without the CPAL application needing to use every port at the time of creating them. As a comparison refer to this Mixxx bug report about the problems using JACK through the limitations of PortAudio's API. RtAudio has an API to set the JACK port name but it couples port creation with port usage.

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.