Skip to content

doc: record UnsupportedConfig on the supported-configs queries - #1306

Merged
roderickvd merged 2 commits into
RustAudio:masterfrom
ErwanLegrand:docs/supported-configs-errors
Aug 14, 2026
Merged

doc: record UnsupportedConfig on the supported-configs queries#1306
roderickvd merged 2 commits into
RustAudio:masterfrom
ErwanLegrand:docs/supported-configs-errors

Conversation

@ErwanLegrand

Copy link
Copy Markdown

DeviceTrait::supported_input_configs and supported_output_configs list DeviceNotAvailable and UnsupportedOperation, but the WASAPI backend also answers UnsupportedConfig from supported_formats, which both of them call: once when IsFormatSupported cannot vouch for the mix format, and once when that format maps to no SampleFormat cpal has.

Documentation only; no behaviour change.

Erwan Legrand and others added 2 commits August 11, 2026 19:45
`DeviceTrait::supported_input_configs` and `supported_output_configs` list
`DeviceNotAvailable` and `UnsupportedOperation`, but the WASAPI backend also
answers `UnsupportedConfig` from `supported_formats`, which both of them call:
once when `IsFormatSupported` cannot vouch for the mix format, and once when
that format maps to no `SampleFormat` cpal has.

Documentation only; no behaviour change.
@roderickvd
roderickvd merged commit 9d05a73 into RustAudio:master Aug 14, 2026
31 checks passed
@roderickvd

Copy link
Copy Markdown
Member

Merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants