Enum surge_wavetable::WaveTableBuildError [−][src]
pub enum WaveTableBuildError {
FileContainsNoValidRIFFHeaderChunk {
filename: String,
},
FileNotStandardRIFFWaveFile {
filename: String,
header_riff: [char; 4],
header_wave: [char; 4],
},
FileIsUnsupportedDataFormat {
filename: String,
provided_bits_per_sample: i32,
num_channels: i32,
format_name: String,
},
FileContainsBadMetadata {
filename: String,
},
FileContainsInsufficientNumberOfFrames {
filename: String,
provided_loops: i32,
provided_loop_length: i32,
},
UnknownWaveFileParseError {
filename: String,
},
UnableToOpenFile {
filename: String,
},
DoesNotUnderstandFile,
CouldNotSeekToStart,
TODO,
}
Variants
Fields of FileContainsNoValidRIFFHeaderChunk
filename: String
Fields of FileIsUnsupportedDataFormat
Fields of FileContainsBadMetadata
filename: String
Fields of FileContainsInsufficientNumberOfFrames
Fields of UnknownWaveFileParseError
filename: String
Fields of UnableToOpenFile
filename: String
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for WaveTableBuildError
impl Send for WaveTableBuildError
impl Sync for WaveTableBuildError
impl Unpin for WaveTableBuildError
impl UnwindSafe for WaveTableBuildError
Blanket Implementations
Mutably borrows from an owned value. Read more