mirror of
https://github.com/RustAudio/rodio
synced 2024-12-12 13:12:30 +00:00
Clarify API documentation
This commit is contained in:
parent
6f6385b0d5
commit
77c50cd9ce
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ impl Default for OutputStreamConfig {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl OutputStreamBuilder {
|
impl OutputStreamBuilder {
|
||||||
/// Sets default output stream parameters for given output audio device.
|
/// Sets output device and its default parameters.
|
||||||
pub fn from_device(device: cpal::Device) -> Result<OutputStreamBuilder, StreamError> {
|
pub fn from_device(device: cpal::Device) -> Result<OutputStreamBuilder, StreamError> {
|
||||||
let default_config = device
|
let default_config = device
|
||||||
.default_output_config()
|
.default_output_config()
|
||||||
|
|
Loading…
Reference in a new issue