pub enum SourceResult<'a, T: 'a> {
Buffer(&'a mut [&'a mut [T]]),
SampleRate(u32),
EndOfStream,
StreamError(String),
}
Variants
Buffer | Channel-major buffer of samples.
All channels are guaranteed to have the same number of samples, and there is always at
least one channel.
|
SampleRate | Following samples have the specified rate (in Hz).
|
EndOfStream | |
StreamError | There was an error in the stream.
|
Trait Implementations
Derived Implementations
Keyboard shortcuts
- ?
- Show this help dialog
- S
- Focus the search field
- ⇤
- Move up in search results
- ⇥
- Move down in search results
- ⏎
- Go to active search result
Search tricks
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).