Make AudioFile a supertrait

This commit is contained in:
Serial 2022-02-16 16:33:07 -05:00
parent bca87bcece
commit 59e034dee9
No known key found for this signature in database
GPG key ID: DA95198DC17C4568

View file

@ -9,7 +9,7 @@ use std::io::{Read, Seek};
use std::path::Path;
/// Provides various methods for interaction with a file
pub trait AudioFile {
pub trait AudioFile: Into<TaggedFile> {
/// The struct the file uses for audio properties
///
/// Not all formats can use [`FileProperties`] since they may contain additional information