mirror of
https://github.com/iluvcapra/bwavfile.git
synced 2025-12-31 17:00:44 +00:00
Update common_format.rs
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user