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
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:
@@ -257,7 +257,7 @@ pub async fn audio_stream_spawner(
|
|||||||
client_id: client_id,
|
client_id: client_id,
|
||||||
stream_id: current_stream_id,
|
stream_id: current_stream_id,
|
||||||
channels: force_channels,
|
channels: force_channels,
|
||||||
sample_rate: input_device_config.sample_rate(),
|
sample_rate: SAMPLE_RATE_48K,
|
||||||
}));
|
}));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
use cpal::{
|
use cpal::{
|
||||||
Device, SAMPLE_RATE_48K, SupportedStreamConfig,
|
Device, SupportedStreamConfig,
|
||||||
traits::{DeviceTrait, HostTrait},
|
traits::{DeviceTrait, HostTrait},
|
||||||
};
|
};
|
||||||
use crossterm::event::{self, Event, KeyCode, KeyEvent, KeyEventKind};
|
use crossterm::event::{self, Event, KeyCode, KeyEvent, KeyEventKind};
|
||||||
|
|||||||
Reference in New Issue
Block a user