From e4b9594c5ee688f63a607f1742816def0b634e46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vojt=C4=9Bch=20Lapun=C3=ADk?= <91941141+lapunik@users.noreply.github.com> Date: Mon, 14 Sep 2026 04:40:18 +0200 Subject: [PATCH] fix(android): exclude android from fixed 64 audio buffer size (#16198) --- src/client.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client.rs b/src/client.rs index 024b2e84a..cc10aa858 100644 --- a/src/client.rs +++ b/src/client.rs @@ -2347,9 +2347,9 @@ impl AudioHandler { log::info!("Remote input format: {:?}", format0); #[allow(unused_mut)] let mut config: StreamConfig = config.into(); - #[cfg(not(target_os = "ios"))] + #[cfg(not(any(target_os = "android", target_os = "ios")))] { - // this makes ios audio output not work + // this makes ios and android audio output not work config.buffer_size = cpal::BufferSize::Fixed(64); }