From 6cceb3cbfacb6f4416e49321a9b63b4ce7a9f036 Mon Sep 17 00:00:00 2001 From: salmonik Date: Mon, 18 May 2026 21:46:26 +0200 Subject: fix for new symphony API and less debug info in release --- src/lib.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 825872f..4cdbb9b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,10 @@ +#[inline(always)] +pub fn debug_eprintln(args: core::fmt::Arguments<'_>) { + if cfg!(debug_assertions) { + eprintln!("{}", args); + } +} + pub mod audio; pub mod cli; pub mod config; -- cgit v1.2.3