Struct deepspeech::Stream[][src]

pub struct Stream { /* fields omitted */ }

Methods

impl Stream
[src]

Feed audio samples to the stream

The input buffer must consist of mono 16-bit samples.

Decodes the intermediate state of what has been spoken up until now

Note that as of DeepSpeech version 0.2.0, this function is non-trivial as the decoder can't do streaming yet.

Deallocates the stream and returns the decoded text

Trait Implementations

impl Drop for Stream
[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl !Send for Stream

impl !Sync for Stream