FormatParser.Audio
(format_parser v2.2.0)
An Audio struct and functions.
The Audio struct contains the fields format, sample_rate_hz, num_audio_channels, intrinsics and nature.
Summary
Parses a file and extracts some information from it.
Functions
Parses a file and extracts some information from it.
Takes a binary file
as argument.
Returns a struct which contains all information that has been extracted from the file if the file is recognized.
Returns the following tuple if file not recognized: {:error, file}
.