always send 48khz
Continuous integration / Check (push) Successful in 24s
Continuous integration / Test Suite (push) Successful in 24s
Continuous integration / Rustfmt (push) Successful in 22s
Continuous integration / Clippy (push) Failing after 22s
Continuous integration / build (push) Successful in 22s

This commit is contained in:
2026-10-20 00:08:17 +02:00
parent 687ef4ff2c
commit bc786a02b4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -257,7 +257,7 @@ pub async fn audio_stream_spawner(
client_id: client_id,
stream_id: current_stream_id,
channels: force_channels,
sample_rate: input_device_config.sample_rate(),
sample_rate: SAMPLE_RATE_48K,
}));
break;
}
+1 -1
View File
@@ -1,5 +1,5 @@
use cpal::{
Device, SAMPLE_RATE_48K, SupportedStreamConfig,
Device, SupportedStreamConfig,
traits::{DeviceTrait, HostTrait},
};
use crossterm::event::{self, Event, KeyCode, KeyEvent, KeyEventKind};