remove unneeded pub from OutputStreamConfig

This commit is contained in:
dvdsk 2024-11-24 12:32:00 +01:00
parent c1d22302c7
commit bc8d1c7e05
No known key found for this signature in database
GPG key ID: F687E89FC7894F98

View file

@ -31,10 +31,10 @@ impl OutputStream {
#[derive(Copy, Clone, Debug)] #[derive(Copy, Clone, Debug)]
struct OutputStreamConfig { struct OutputStreamConfig {
pub channel_count: ChannelCount, channel_count: ChannelCount,
pub sample_rate: SampleRate, sample_rate: SampleRate,
pub buffer_size: BufferSize, buffer_size: BufferSize,
pub sample_format: SampleFormat, sample_format: SampleFormat,
} }
/// Convenience builder for audio output stream. /// Convenience builder for audio output stream.