diff options
Diffstat (limited to 'gaudio')
-rw-r--r-- | gaudio/src/mp3.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gaudio/src/mp3.rs b/gaudio/src/mp3.rs index 1157a0b..3d643dc 100644 --- a/gaudio/src/mp3.rs +++ b/gaudio/src/mp3.rs @@ -76,6 +76,8 @@ pub struct Frame { } pub struct Header { + // I only want to parse what i need, but we need this for writing out, so + raw: [u8; 4], version: Version, layer: Layer, crc: bool, @@ -93,6 +95,10 @@ impl Header { let bitrate = Bitrate::resolve(raw[2], version, layer); + //TODO: gen- love, you were trying to get the size of the data field. We need + //to know the sampling rate and the pad bit for that, which happen to be the + //next three bits. + todo!() } |