chore: remove unused SampleRate imports

SampleRate is now a u32 type alias in cpal 0.17, so the import is no
longer needed anywhere.
This commit is contained in:
vicrodh committed 2026-02-28 07:48:03 -06:00
1 parent 6e8b8410c9
commit 3d8733181a
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ use super::backend::{AlsaPlugin, AudioBackend, AudioBackendType, AudioDevice, Ba
use rodio::{
cpal::{
traits::{DeviceTrait, HostTrait},
BufferSize, SampleFormat, SampleRate, StreamConfig, SupportedBufferSize, SupportedStreamConfig,
BufferSize, SampleFormat, StreamConfig, SupportedBufferSize, SupportedStreamConfig,
},
DeviceSinkBuilder, MixerDeviceSink,
};
+1 -1
View File
@@ -10,7 +10,7 @@ use super::backend::{AudioBackend, AudioBackendType, AudioDevice, BackendConfig,
use rodio::{
cpal::{
traits::{DeviceTrait, HostTrait},
BufferSize, SampleFormat, SampleRate, StreamConfig, SupportedBufferSize, SupportedStreamConfig,
BufferSize, SampleFormat, StreamConfig, SupportedBufferSize, SupportedStreamConfig,
},
DeviceSinkBuilder, MixerDeviceSink,
};