Skip to content

Commit 22f4577

Browse files
Fixed compile issue with TTS disabled
1 parent 8aec5bf commit 22f4577

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

daemon/src/tts.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,12 @@ impl Tts {
9898
pub fn speak(&self, _: String, _: bool) -> Result<()> {
9999
Ok(())
100100
}
101+
102+
pub fn set_rate(&mut self, _rate: f32) -> Result<()> {
103+
Ok(())
104+
}
105+
106+
pub fn max_rate(&self) -> f32 {
107+
0.
108+
}
101109
}

0 commit comments

Comments
 (0)