From: Kostya Shishkov Date: Tue, 1 Sep 2020 08:09:43 +0000 (+0200) Subject: core/formats: add SND_S32P_FORMAT soniton X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=002d2a48c6a60e47519259b0d0f79d3133c93986;p=nihav.git core/formats: add SND_S32P_FORMAT soniton --- diff --git a/nihav-core/src/formats.rs b/nihav-core/src/formats.rs index ffacb12..674938e 100644 --- a/nihav-core/src/formats.rs +++ b/nihav-core/src/formats.rs @@ -62,6 +62,8 @@ pub const SND_U8_FORMAT: NASoniton = NASoniton { bits: 8, be: false, packed: fal pub const SND_S16_FORMAT: NASoniton = NASoniton { bits: 16, be: false, packed: false, planar: false, float: false, signed: true }; /// Predefined format for planar 16-bit signed audio. pub const SND_S16P_FORMAT: NASoniton = NASoniton { bits: 16, be: false, packed: false, planar: true, float: false, signed: true }; +/// Predefined format for planar 32-bit signed audio. +pub const SND_S32P_FORMAT: NASoniton = NASoniton { bits: 32, be: false, packed: false, planar: true, float: false, signed: true }; /// Predefined format for planar 32-bit floating point audio. pub const SND_F32P_FORMAT: NASoniton = NASoniton { bits: 32, be: false, packed: false, planar: true, float: true, signed: true };