Host Capabilities API

Open
#1,443 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
rust

Research direction

Start by reading the host capability APIs and platform-specific host implementations in the repository; the issue does not name files or tests. Determine how loopback and duplex capability should be defined and exposed consistently across supported hosts, then add tests for the expected results. Done means both host.loopback_capable() -> bool and host.duplex_capable() -> bool have clear, consistent behavior across the relevant hosts.

Written by the indexing model from the issue text.

Description

API design

host.loopback_capable() -> bool
host.duplex_capable() -> bool

I chose the naming X_capable(), rather than supports_X(), as it makes it look different from calling it on a device rather than the host itself

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.