[−][src]Struct soloud::audio::Speech
Implementations
impl Speech
[src]
pub fn set_text(&mut self, txt: &str) -> Result<(), SoloudError>
[src]
set speech text
pub fn set_params(&mut self) -> Result<(), SoloudError>
[src]
Set speech params
pub fn set_params_ex(
&mut self,
base_freq: u32,
base_speed: f32,
base_declination: f32,
base_waveform: KlattWaveForm
) -> Result<(), SoloudError>
[src]
&mut self,
base_freq: u32,
base_speed: f32,
base_declination: f32,
base_waveform: KlattWaveForm
) -> Result<(), SoloudError>
Set speech params
Trait Implementations
impl AudioExt for Speech
[src]
pub fn default() -> Self
[src]
pub fn set_volume(&mut self, volume: f32)
[src]
pub fn set_looping(&mut self, flag: bool)
[src]
pub fn set_auto_stop(&mut self, flag: bool)
[src]
pub fn set_3d_min_max_distance(&mut self, min_distance: f32, max_distance: f32)
[src]
pub fn set_3d_attenuation(
&mut self,
model: AttenuationModel,
rolloff_factor: f32
)
[src]
&mut self,
model: AttenuationModel,
rolloff_factor: f32
)
pub fn set_3d_doppler_factor(&mut self, doppler_factor: f32)
[src]
pub fn set_3d_listener_relative(&mut self, flag: bool)
[src]
pub fn set_3d_distance_delay(&mut self, distance_delay: i32)
[src]
pub fn set_inaudible_behavior(&mut self, must_tick: bool, kill: bool)
[src]
pub fn set_loop_point(&mut self, loop_point: f64)
[src]
pub fn loop_point(&self) -> f64
[src]
pub fn set_filter<F: FilterExt>(&mut self, filter_id: u32, filter: Option<&F>)
[src]
pub fn stop(&mut self)
[src]
pub unsafe fn inner(&self) -> *mut *mut c_void
[src]
impl Drop for Speech
[src]
Auto Trait Implementations
impl RefUnwindSafe for Speech
impl !Send for Speech
impl !Sync for Speech
impl Unpin for Speech
impl UnwindSafe for Speech
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,