mirror of
https://github.com/RustAudio/rodio
synced 2024-12-13 13:42:34 +00:00
Doc/Api note that a returning None means the end of the sound
This commit is contained in:
parent
e116660568
commit
58b61f66ff
1 changed files with 2 additions and 1 deletions
|
@ -114,7 +114,8 @@ mod zero;
|
|||
/// - The number of channels can be retrieved with `channels`.
|
||||
/// - The frequency can be retrieved with `sample_rate`.
|
||||
/// - 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
|
||||
///
|
||||
|
|
Loading…
Reference in a new issue