[−][src]Function bae_rs::utils::read_wav
pub fn read_wav(s: &mut dyn Read) -> Result<(Header, Vec<TrackT>)>
Takes the given path and reads the track data from the WAV file at the given location.
Parameters/Returns
s
- The source to read from.- Returned value is a
std::io::Result
with theOk
data being a tuple of awav::Header
and a vector ofTrackT
s.
Errors
This function fails if:
- Anything that
wav::read_wav
specifies.