[Feature proposal] Get channel names of a device for certain platforms

Open
#879 5 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
rust

Research direction

The issue does not name files, tests, or entry points. First check how CPAL represents devices and channels on the CoreAudio and ASIO platforms, then assess whether channel names can be exposed consistently across supported platforms. Done means a concrete, agreed API proposal that covers platform differences and lets users select channels by name.

Written by the indexing model from the issue text.

Description

extension host - asio host - coreaudio

Some hosts such as CoreAudio or ASIO support having string names for each input/output channel of a device (besides their index). So far, I have not seen this functionality implemented in CPAL, but it would be very useful for a project where users can select input or output channels based on their names rather than the index. Is this a feature that would be worth implementing? Is there maybe a reason why this hasn't been done yet?

Dominant language
Rust
Stars
4k
Forks
554
Avg merge
1d 3h
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from RustAudio/cpal

All issues in RustAudio/cpal

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.