audrey::read

Function open

Source
pub fn open<P>(file_path: P) -> Result<BufFileReader, ReadError>
where P: AsRef<Path>,
Expand description

Attempts to open an audio Reader from the file at the specified Path.

The format is determined from the path’s file extension.