X-Git-Url: https://git.nihav.org/?a=blobdiff_plain;f=nihav-core%2Fsrc%2Fframe.rs;h=67f17272c941e029cdf907c10231ccc08e8b44fe;hb=1b6a1780de9e8f350bfea12394bbf1d59bef4d46;hp=145bd2a23dc909c04f4187ba7a0fd37914e9ffc6;hpb=98c6f2f05967e79b7d946c908d1198c108704293;p=nihav.git diff --git a/nihav-core/src/frame.rs b/nihav-core/src/frame.rs index 145bd2a..67f1727 100644 --- a/nihav-core/src/frame.rs +++ b/nihav-core/src/frame.rs @@ -277,6 +277,7 @@ impl NABufferType { NABufferType::VideoPacked(ref vb) => vb.get_offset(idx), NABufferType::AudioU8(ref ab) => ab.get_offset(idx), NABufferType::AudioI16(ref ab) => ab.get_offset(idx), + NABufferType::AudioI32(ref ab) => ab.get_offset(idx), NABufferType::AudioF32(ref ab) => ab.get_offset(idx), NABufferType::AudioPacked(ref ab) => ab.get_offset(idx), _ => 0,