///! Maximum step value for IMA ADPCM.
pub const IMA_MAX_STEP: u8 = 88;
+#[derive(Clone,Copy,Debug)]
///! Decoder for IMA ADPCM.
pub struct IMAState {
///! Current sample value.
}
}
-
+impl Default for IMAState {
+ fn default() -> Self {
+ Self::new()
+ }
+}