From: Kostya Shishkov Date: Sat, 13 Oct 2018 12:22:00 +0000 (+0200) Subject: add planar S16 formaton X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=49fde92172ebb1109034d067e08dfac4db140c65;p=nihav.git add planar S16 formaton --- diff --git a/src/formats.rs b/src/formats.rs index b72cd1a..74c9dcd 100644 --- a/src/formats.rs +++ b/src/formats.rs @@ -20,6 +20,7 @@ pub const SONITON_FLAG_SIGNED :u32 = 0x10; pub const SND_U8_FORMAT: NASoniton = NASoniton { bits: 8, be: false, packed: false, planar: false, float: false, signed: false }; pub const SND_S16_FORMAT: NASoniton = NASoniton { bits: 16, be: false, packed: false, planar: false, float: false, signed: true }; +pub const SND_S16P_FORMAT: NASoniton = NASoniton { bits: 16, be: false, packed: false, planar: true, float: false, signed: true }; pub const SND_F32P_FORMAT: NASoniton = NASoniton { bits: 32, be: false, packed: false, planar: true, float: true, signed: true }; impl NASoniton {