diff --git a/src/host/coreaudio/mod.rs b/src/host/coreaudio/mod.rs index 491b4b8..1c4903b 100644 --- a/src/host/coreaudio/mod.rs +++ b/src/host/coreaudio/mod.rs @@ -360,7 +360,7 @@ impl Device { }; unsafe { - let asbd: AudioStreamBasicDescription = mem::uninitialized(); + let asbd: AudioStreamBasicDescription = mem::zeroed(); let data_size = mem::size_of::() as u32; let status = AudioObjectGetPropertyData( self.audio_device_id,