diff --git a/src/common_format.rs b/src/common_format.rs index d8e5b68..211774d 100644 --- a/src/common_format.rs +++ b/src/common_format.rs @@ -48,12 +48,25 @@ fn uuid_from_basic_tag(tag: u16) -> Uuid { /// #[derive(Debug, Copy, Clone, PartialEq)] pub enum CommonFormat { + /// Integer linear PCM IntegerPCM, + + /// IEEE Floating-point Linear PCM IeeeFloatPCM, + + /// MPEG Mpeg, + + /// Ambisonic B-Format Linear PCM AmbisonicBFormatIntegerPCM, + + /// Ambisonic B-Format Float PCM AmbisonicBFormatIeeeFloatPCM, + + /// An unknown format identified by a basic format tag. UnknownBasic(u16), + + /// An unknown format identified by an extension UUID. UnknownExtended(Uuid), } @@ -83,4 +96,4 @@ impl CommonFormat { Self::UnknownExtended(x) => ( BASIC_EXTENDED, x) } } -} \ No newline at end of file +}