Support creating references to devices from cpal's stable device IDs

Open
#835 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
rust

Research direction

Read rodio’s DeviceTrait and Device APIs, then check how they wrap cpal devices and their stable IDs. Add support for exposing a stable ID and initializing a device from it; done when both operations are available through rodio’s public API. The issue does not name files or tests, so locate the relevant API and tests in the repository first.

Written by the indexing model from the issue text.

Description

cpal 0.17 introduced stable device IDs to reference an output devices across application starts. rodio should expose this field on its DeviceTrait as well as add a method to initialize a Device from said stable ID.

Dominant language
Rust
Stars
2.5k
Forks
338
PR merge metrics
No merged PRs in 30d

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

All issues in RustAudio/rodio

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.