From cf99912ffe4c6b744629a7cb512798fc0a46f390 Mon Sep 17 00:00:00 2001 From: TerraMaster85 Date: Sat, 14 Dec 2024 12:50:49 -0500 Subject: [PATCH] more wire format specs --- src/wire-fmt/mod.rs | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/wire-fmt/mod.rs b/src/wire-fmt/mod.rs index a161a19..1c45c55 100644 --- a/src/wire-fmt/mod.rs +++ b/src/wire-fmt/mod.rs @@ -1,7 +1,11 @@ pub enum SpecialCapability { - pub StereoOut = 1, - pub StereoIn = 2, - pub Telephone = 3, - pub Typewriter = 4, - pub IpDce = 5, + pub Telephone = 1, + pub Typewriter = 2, + pub IpDce = 3, + pub EthernetDce = 4, +} + +pub struct ChannelCapabilities { + pub channels: usize + pub sample_rate: (u64, Option), }