patterns/cda: Added CDA pattern (#133)

* Create cda.hexpat

pattern language created for .cda files

* added test file for cda pattern

* Delete cda.hexpat.cda.cda

* Add test file cda

test file for cda pattern

* Update README.md

Add cda file in read.me
This commit is contained in:
luisfilipe23lol
2023-06-19 13:22:17 +01:00
committed by GitHub
parent ea225edf12
commit 55e4283432
3 changed files with 30 additions and 0 deletions

29
patterns/cda.hexpat Normal file
View File

@@ -0,0 +1,29 @@
struct Header {
u32 RIFF;
s32 size;
u32 CDDA;
u32 fmt;
u32 lenghtofthechunck;
u16 versionofcdformat;
u16 numberofrange;
u32 identifier;
};
struct DataInfo {
u32 range;
u32 duration;
u8 rangepositionframes;
u8 rangepositionseconds;
u8 rangepositionminutes;
u8 nullbyte;
u8 durationtrackframes;
u8 durationtrackseconds;
u8 durationtrackminutes;
u8 nullbytee;
};
Header header @ 0;
DataInfo data @ 0x1C;