Skip to content

docs: show the config conversion in the output stream example - #1344

Merged
roderickvd merged 1 commit into
RustAudio:masterfrom
ChrisJr404:docs/example-config-into
Aug 30, 2026
Merged

docs: show the config conversion in the output stream example#1344
roderickvd merged 1 commit into
RustAudio:masterfrom
ChrisJr404:docs/example-config-into

Conversation

@ChrisJr404

Copy link
Copy Markdown
Contributor

Fixes #816. The output stream example built config from a hidden line, so readers could not see that a SupportedStreamConfig has to be converted with into() before it is passed to build_output_stream. This makes that line visible, matching the later example in the same module.

The example built config from a hidden line, so readers could not see
that a SupportedStreamConfig must be converted with into() before it can
be passed to build_output_stream.
@roderickvd

Copy link
Copy Markdown
Member

Thanks for patching that up.

@roderickvd
roderickvd merged commit a0757d6 into RustAudio:master Aug 30, 2026
34 checks passed
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.

Main crate example doesn't compile

2 participants