From bc8d1c7e050f98d88f39fb50152404467e51bfe4 Mon Sep 17 00:00:00 2001 From: dvdsk Date: Sun, 24 Nov 2024 12:32:00 +0100 Subject: [PATCH] remove unneeded pub from OutputStreamConfig --- src/stream.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/stream.rs b/src/stream.rs index 8b31882c..246f0c98 100644 --- a/src/stream.rs +++ b/src/stream.rs @@ -31,10 +31,10 @@ impl OutputStream { #[derive(Copy, Clone, Debug)] struct OutputStreamConfig { - pub channel_count: ChannelCount, - pub sample_rate: SampleRate, - pub buffer_size: BufferSize, - pub sample_format: SampleFormat, + channel_count: ChannelCount, + sample_rate: SampleRate, + buffer_size: BufferSize, + sample_format: SampleFormat, } /// Convenience builder for audio output stream.