Browse Source

And another...

master
Nolan Darilek 5 months ago
parent
commit
be9e4592ec
  1. 2
      speech-dispatcher/src/lib.rs

2
speech-dispatcher/src/lib.rs

@ -413,7 +413,7 @@ impl Connection { @@ -413,7 +413,7 @@ impl Connection {
}
pub fn set_voice_type(&self, voice_type: VoiceType) -> Result<(), Error> {
#[cfg(feature = "0.10.0")]
#[cfg(feature = "0.10")]
let v = unsafe { spd_set_voice_type(*self.0, voice_type as i32) };
#[cfg(not(feature = "0.10"))]
let v = unsafe { spd_set_voice_type(*self.0, voice_type as u32) };

Loading…
Cancel
Save