Doc/Api note that a returning None means the end of the sound

This commit is contained in:
github-actions[bot] 2024-09-24 23:35:06 +02:00
parent e116660568
commit 58b61f66ff
No known key found for this signature in database
GPG key ID: F687E89FC7894F98

View file

@ -114,7 +114,8 @@ mod zero;
/// - The number of channels can be retrieved with `channels`. /// - The number of channels can be retrieved with `channels`.
/// - The frequency can be retrieved with `sample_rate`. /// - The frequency can be retrieved with `sample_rate`.
/// - The list of values can be retrieved by iterating on the source. The `Source` trait requires /// - The list of values can be retrieved by iterating on the source. The `Source` trait requires
/// that the `Iterator` trait be implemented as well. /// that the `Iterator` trait be implemented as well. When a `Source` returns None the
/// sound has ended.
/// ///
/// # Frames /// # Frames
/// ///