Enum hound::Error
[−]
[src]
pub enum Error { IoError(Error), FormatError(&'static str), TooWide, UnfinishedSample, Unsupported, }
The error type for operations on WavReader
and WavWriter
.
Variants
IoError | An IO error occured in the underlying reader or writer. | |
FormatError | Ill-formed WAVE data was encountered. | |
TooWide | The sample has more bits than the destination type. When iterating using the | |
UnfinishedSample | The number of samples written is not a multiple of the number of channels. | |
Unsupported | The format is not supported. |