pub struct PullAudioOutputStream {
pub handle: SmartHandle<SPXAUDIOSTREAMHANDLE>,
}
Expand description
PullAudioOutputStream represents audio output stream with audio data pulled (read) by service calling Speech Synthetizer via read method. Speech Synthetizer’s caller is activelly pulling (reading) already synthetized audio data.
Fields
handle: SmartHandle<SPXAUDIOSTREAMHANDLE>
Implementations
sourceimpl PullAudioOutputStream
impl PullAudioOutputStream
pub fn from_handle(handle: SPXAUDIOSTREAMHANDLE) -> Result<Self>
pub fn create_pull_stream() -> Result<Self>
Trait Implementations
sourceimpl AudioOutputStream for PullAudioOutputStream
impl AudioOutputStream for PullAudioOutputStream
fn get_handle(&self) -> SPXAUDIOSTREAMHANDLE
Auto Trait Implementations
impl RefUnwindSafe for PullAudioOutputStream
impl Send for PullAudioOutputStream
impl !Sync for PullAudioOutputStream
impl Unpin for PullAudioOutputStream
impl UnwindSafe for PullAudioOutputStream
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more