Support Lead-out track
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "cdtypes"
|
||||
version = "0.7.0"
|
||||
version = "0.7.1"
|
||||
edition = "2021"
|
||||
|
||||
[profile.release]
|
||||
|
@@ -332,10 +332,12 @@ impl Audio {
|
||||
pub struct Mode0 {
|
||||
pub sync: Sync,
|
||||
pub header: Header,
|
||||
pub zero: [u8;2336]
|
||||
pub zero: [u8;Mode0::DATA_SIZE]
|
||||
}
|
||||
|
||||
impl Mode0 {
|
||||
pub const DATA_SIZE:usize = 2336;
|
||||
|
||||
pub fn new() -> Mode0 {
|
||||
Mode0{sync: Sync::new(), header: Header::new(0), zero: [0; 2336]}
|
||||
}
|
||||
|
Reference in New Issue
Block a user