]> git.nihav.org Git - nihav.git/commitdiff
codec_support: derive usual traits for IMA ADPCM state
authorKostya Shishkov <kostya.shishkov@gmail.com>
Sat, 7 Aug 2021 16:30:52 +0000 (18:30 +0200)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Sat, 7 Aug 2021 16:37:00 +0000 (18:37 +0200)
nihav-codec-support/src/codecs/imaadpcm.rs

index a2da1d316bc90dd42abddce01d26941b4d3a00ff..ac2d082aadf0d73f8a3b95eb8645ea50b69612f4 100644 (file)
@@ -24,6 +24,7 @@ pub const IMA_STEP_TABLE: [i32; 89] = [
 ///! 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.