feat: add gitea related files
CI / Rust CI (push) Successful in 3m38s

This commit is contained in:
2026-07-21 00:24:40 +02:00
parent 6ffe5589e6
commit a3c17186be
27 changed files with 3015 additions and 1746 deletions
+17 -17
View File
@@ -16,31 +16,31 @@ pub const CHANNELS_RANGE: RangeInclusive<u8> = 0x00..=0x0B;
pub const INPUT_CHANNELS: RangeInclusive<u8> = 0x00..=0x03;
pub const OUTPUT_CHANNELS: RangeInclusive<u8> = 0x04..=0x0B;
pub const RATIO_RAW_RANGE: RangeInclusive<u16> = 0x0000..=0x000F;
pub const ATTACK_RAW_RANGE: RangeInclusive<u16> = 0x0000..=0x03E6;
pub const RELEASE_RAW_RANGE: RangeInclusive<u16> = 0x0009..=0x0BB7;
pub const KNEE_RAW_RANGE: RangeInclusive<u16> = 0x0000..=0x000C;
pub const THRESHOLD_RAW_RANGE: RangeInclusive<u16> = 0x0000..=0x00DC;
pub const RATIO_RAW_RANGE: RangeInclusive<u16> = 0x0000..=0x000F;
pub const ATTACK_RAW_RANGE: RangeInclusive<u16> = 0x0000..=0x03E6;
pub const RELEASE_RAW_RANGE: RangeInclusive<u16> = 0x0009..=0x0BB7;
pub const KNEE_RAW_RANGE: RangeInclusive<u16> = 0x0000..=0x000C;
pub const THRESHOLD_RAW_RANGE: RangeInclusive<u16> = 0x0000..=0x00DC;
pub const FREQUENCY_RAW_RANGE: RangeInclusive<u16> = 0x0000..=0x012C;
pub const FREQUENCY_RAW_RANGE: RangeInclusive<u16> = 0x0000..=0x012C;
pub const CROSSOVER_FILTER_RAW_RANGE: RangeInclusive<u8> = 0x00..=0x14;
pub const EQ_GAIN_RAW_RANGE: RangeInclusive<u16> = 0x0000..=0x00F0;
pub const PEQ_Q_RAW_RANGE: RangeInclusive<u8> = 0x00..=0x64;
pub const PEQ_INPUT_BAND_RANGE: RangeInclusive<u8> = 0x00..=0x07;
pub const PEQ_OUTPUT_BAND_RANGE:RangeInclusive<u8> = 0x00..=0x08;
pub const PEQ_FILTER_RAW_RANGE :RangeInclusive<u8> = 0x00..=0x08;
pub const EQ_GAIN_RAW_RANGE: RangeInclusive<u16> = 0x0000..=0x00F0;
pub const PEQ_Q_RAW_RANGE: RangeInclusive<u8> = 0x00..=0x64;
pub const PEQ_INPUT_BAND_RANGE: RangeInclusive<u8> = 0x00..=0x07;
pub const PEQ_OUTPUT_BAND_RANGE: RangeInclusive<u8> = 0x00..=0x08;
pub const PEQ_FILTER_RAW_RANGE: RangeInclusive<u8> = 0x00..=0x08;
pub const CHANNEL_GAIN_RAW_RANGE: RangeInclusive<u16> = 0x0000..=0x0190;
pub const CHANNEL_GAIN_RAW_RANGE: RangeInclusive<u16> = 0x0000..=0x0190;
pub const DELAY_RAW_RANGE: RangeInclusive<u8> = 0x00..=0xFF;
pub const DELAY_RAW_RANGE: RangeInclusive<u8> = 0x00..=0xFF;
pub const INPUT_SOURCE_TYPE_RAW_RANGE: RangeInclusive<u8> = 0x00..=0x03;
pub const DISCRETE_FREQUENCY_RAW_RANGE: RangeInclusive<u8> = 0x00..=0x1E;
pub const MATRIX_INPUT_MASK_RANGE: RangeInclusive<u8> = 0x00..=0x0F;
pub const MATRIX_INPUT_MASK_RANGE: RangeInclusive<u8> = 0x00..=0x0F;
pub const MATRIX_INPUT_A_MASK: u8 = 0x01;
pub const MATRIX_INPUT_B_MASK: u8 = 0x02;
pub const MATRIX_INPUT_C_MASK: u8 = 0x04;
@@ -50,9 +50,9 @@ pub const CHANNEL_NAME_LENGTH: usize = 8;
pub const CHANNEL_NAME_PADDING: u8 = 0x00;
pub const GATE_THRESHOLD_RAW_RANGE: RangeInclusive<u16> = 0x0000..=0x00B4;
pub const HOLD_RAW_RANGE: RangeInclusive<u16> = 0x0000..=0x03E6;
pub const HOLD_RAW_RANGE: RangeInclusive<u16> = 0x0000..=0x03E6;
pub const MATRIX_GAIN_RAW_RANGE: RangeInclusive<u16> = 0x0000..=0x0118;
pub const MATRIX_GAIN_RAW_RANGE: RangeInclusive<u16> = 0x0000..=0x0118;
pub fn input_link_mask(channel: u8) -> Option<u8> {
match channel {
@@ -81,4 +81,4 @@ pub fn output_link_mask(channel: u8) -> Option<u8> {
pub const METERS_SPLIT: f32 = 1.0;
pub const METERS_SPLIT_LEVEL_DB: f32 = -18.0;
pub const METERS_LOW_STEP: f32 = 0.0104;
pub const METERS_HIGH_STEP: f32 = 0.0208;
pub const METERS_HIGH_STEP: f32 = 0.0208;