pub fn check_format(
    channels: usize,
    samplerate: usize,
    major_format: MajorFormat,
    subtype_format: SubtypeFormat,
    endian: Endian
) -> bool
Expand description

This function allows the caller to check if a set of parameters before opening a file in write mode.