From e91637a67cbd908d922e16e0b462dfa0cc3c834c Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Fri, 12 Mar 2021 06:28:02 -0600 Subject: [PATCH] Add even more trace logging. --- src/backends/av_foundation.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/backends/av_foundation.rs b/src/backends/av_foundation.rs index 3dcc7dc..b071370 100644 --- a/src/backends/av_foundation.rs +++ b/src/backends/av_foundation.rs @@ -226,6 +226,7 @@ impl Backend for AvFoundation { } fn set_pitch(&mut self, pitch: f32) -> Result<(), Error> { + trace!("set_pitch({})", pitch); self.pitch = pitch; Ok(()) } @@ -247,11 +248,13 @@ impl Backend for AvFoundation { } fn set_volume(&mut self, volume: f32) -> Result<(), Error> { + trace!("set_volume({})", volume); self.volume = volume; Ok(()) } fn is_speaking(&self) -> Result { + trace!("is_speaking()"); let is_speaking: i8 = unsafe { msg_send![self.synth, isSpeaking] }; Ok(is_speaking == 1) }