diff --git a/src/host/wasapi/device.rs b/src/host/wasapi/device.rs index 983c8c5f2..d0c03548b 100644 --- a/src/host/wasapi/device.rs +++ b/src/host/wasapi/device.rs @@ -452,7 +452,7 @@ impl Device { channels: format.channels, min_sample_rate: sample_rate, max_sample_rate: sample_rate, - buffer_size: format.buffer_size.clone(), + buffer_size: format.buffer_size, sample_format, }) }