Skip to content

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

Open
ChrisJr404 wants to merge 1 commit into
RustAudio:masterfrom
ChrisJr404:docs/example-config-into
Open

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

Conversation

@ChrisJr404

Copy link
Copy Markdown

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.
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

1 participant