mirror of
https://github.com/iluvcapra/bwavfile.git
synced 2026-01-02 09:50: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)]
|
#[derive(Debug, Copy, Clone, PartialEq)]
|
||||||
pub enum CommonFormat {
|
pub enum CommonFormat {
|
||||||
|
/// Integer linear PCM
|
||||||
IntegerPCM,
|
IntegerPCM,
|
||||||
|
|
||||||
|
/// IEEE Floating-point Linear PCM
|
||||||
IeeeFloatPCM,
|
IeeeFloatPCM,
|
||||||
|
|
||||||
|
/// MPEG
|
||||||
Mpeg,
|
Mpeg,
|
||||||
|
|
||||||
|
/// Ambisonic B-Format Linear PCM
|
||||||
AmbisonicBFormatIntegerPCM,
|
AmbisonicBFormatIntegerPCM,
|
||||||
|
|
||||||
|
/// Ambisonic B-Format Float PCM
|
||||||
AmbisonicBFormatIeeeFloatPCM,
|
AmbisonicBFormatIeeeFloatPCM,
|
||||||
|
|
||||||
|
/// An unknown format identified by a basic format tag.
|
||||||
UnknownBasic(u16),
|
UnknownBasic(u16),
|
||||||
|
|
||||||
|
/// An unknown format identified by an extension UUID.
|
||||||
UnknownExtended(Uuid),
|
UnknownExtended(Uuid),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user