Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fix regression for windows-gnu build in audio (#49844)

Maksim Bondarenkov852d6a7a6c1c
diff --git a/crates/audio/src/audio.rs b/crates/audio/src/audio.rs
index bc2933647f5..f9a635a16a2 100644
--- a/crates/audio/src/audio.rs
+++ b/crates/audio/src/audio.rs
@@ -169,7 +169,7 @@ impl Audio {
target_os = "freebsd"
))]
{
- let source = rodio::source::Zero::<f32>::new(CHANNEL_COUNT, SAMPLE_RATE);
+ let source = rodio::source::Zero::new(CHANNEL_COUNT, SAMPLE_RATE);
output_handle.mixer().add(source);
}