aboutsummaryrefslogtreecommitdiffstats
path: root/nihav-core/src/formats.rs
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2020-09-01 10:09:43 +0200
committerKostya Shishkov <kostya.shishkov@gmail.com>2020-09-05 14:09:56 +0200
commit002d2a48c6a60e47519259b0d0f79d3133c93986 (patch)
treeb0cd0de0e4f6faeeb08727e5a5d703ea60608176 /nihav-core/src/formats.rs
parent4c05fc3e4513ba3789dcc237493abcbe74d548e3 (diff)
downloadnihav-002d2a48c6a60e47519259b0d0f79d3133c93986.tar.gz
core/formats: add SND_S32P_FORMAT soniton
Diffstat (limited to 'nihav-core/src/formats.rs')
-rw-r--r--nihav-core/src/formats.rs2
1 files changed, 2 insertions, 0 deletions
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 };