[][src]Type Definition audrey::read::BufFileReader

type BufFileReader = Reader<BufReader<File>>;

An alias for the buffered, file Reader type returned from the open function.

Implementations

impl BufFileReader[src]

pub fn open<P>(file_path: P) -> Result<Self, ReadError> where
    P: AsRef<Path>, 
[src]

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

This function is a convenience wrapper around the Reader::new function.

This function pays no attention to the file_path's extension and instead attempts to read a supported Format via the file header.