Clarify API documentation

This commit is contained in:
Petr Gladkikh 2024-11-17 18:54:13 +04:00
parent 6f6385b0d5
commit 77c50cd9ce

View file

@ -58,7 +58,7 @@ impl Default for OutputStreamConfig {
}
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> {
let default_config = device
.default_output_config()