Moved "noise" feature documentation

...into the previous "Optional Features" block
This commit is contained in:
Jamie Hardt 2024-09-29 16:02:07 -07:00
parent 09c5f31435
commit b373f5253a

View file

@ -110,6 +110,11 @@
//! The "tracing" feature replaces the print to stderr when a stream error happens with a
//! recording an error event with tracing.
//!
//! ### Feature "Noise"
//!
//! The "noise" feature adds support for white and pink noise sources. This feature requires the
//! "rand" crate.
//!
//! ## How it works under the hood
//!
//! Rodio spawns a background thread that is dedicated to reading from the sources and sending
@ -121,15 +126,8 @@
//! the number of sinks that can be created (except for the fact that creating too many will slow
//! down your program).
//!
//!
//! ## Features
//!
//! Rodio provides several optional features that are guarded with feature gates.
//!
//! ### Feature "Noise"
//!
//! The "noise" feature adds support for white and pink noise sources. This feature requires the
//! "rand" crate.
#![cfg_attr(test, deny(missing_docs))]
pub use cpal::{
self, traits::DeviceTrait, Device, Devices, DevicesError, InputDevices, OutputDevices,