From 0e81b1f70c2141d396cf80c131f2429181dee26f Mon Sep 17 00:00:00 2001 From: Stuart Woodbury Date: Wed, 5 Jul 2023 15:18:48 -0400 Subject: [PATCH] chore(mp4box): remove soun module --- src/mp4box/mod.rs | 4 +--- src/mp4box/soun.rs | 28 ---------------------------- 2 files changed, 1 insertion(+), 31 deletions(-) delete mode 100644 src/mp4box/soun.rs diff --git a/src/mp4box/mod.rs b/src/mp4box/mod.rs index 00b7d2f..3f85c3e 100644 --- a/src/mp4box/mod.rs +++ b/src/mp4box/mod.rs @@ -87,7 +87,6 @@ pub(crate) mod mp4a; pub(crate) mod mvex; pub(crate) mod mvhd; pub(crate) mod smhd; -//pub(crate) mod soun; pub(crate) mod stbl; pub(crate) mod stco; pub(crate) mod stsc; @@ -200,8 +199,7 @@ boxtype! { DayBox => 0xa9646179, CovrBox => 0x636f7672, DescBox => 0x64657363, - WideBox => 0x77696465, - SounBox => 0x736F756E + WideBox => 0x77696465 } pub trait Mp4Box: Sized { diff --git a/src/mp4box/soun.rs b/src/mp4box/soun.rs deleted file mode 100644 index 4d2ad48..0000000 --- a/src/mp4box/soun.rs +++ /dev/null @@ -1,28 +0,0 @@ -/*use serde::Serialize; - -use crate::mp4box::*; - -// for opus -// https://opus-codec.org/docs/opus_in_isobmff.html -#[derive(Debug, Clone, PartialEq, Eq, Serialize)] -pub struct SounBox {} - -impl Default for SounBox { - fn default() -> Self { - Self {} - } -} - -impl Mp4Box for SounBox { - fn box_type(&self) -> BoxType { - BoxType::SounBox - } - - fn box_size(&self) -> u64 { - todo!() - } - - fn summary(&self) -> Result { - todo!() - } -}*/