Class for online Opus audio stream processing (voice activity detection and speech statistics computation)
More...
|
virtual void | reset ()=0 |
| Resets stream state: clears buffer, resets speech summary.
|
|
virtual void | finalize ()=0 |
| Finalizes input audio stream to process remaining audio samples and produce result if it's possible.
|
|
virtual bool | hasSpeechEvents () const =0 |
| Checks if there are available speech events in output queue. More...
|
|
virtual SpeechEvent | getSpeechEvent ()=0 |
| Retrieves a single speech event from output FIFO queue. Use hasSpeechEvents() to check if there is available speech event. More...
|
|
virtual SpeechSummary | getTotalSpeechSummary () const =0 |
| Retrieves total accumulated speech summary. More...
|
|
virtual SpeechInfo | getTotalSpeechInfo () const =0 |
| Retrieves total accumulated speech info. More...
|
|
virtual float | getCurrentBackgroundLength () const =0 |
| Method for retrieving current background length (length of a continuous non-speech segment starting on the last detected speech frame) More...
|
|
virtual void | addPacket (const uint8_t *bytes, size_t bytesNum)=0 |
| Adds Opus packet to process. More...
|
|
virtual bool | compare (const SpeechSummaryStreamOpus::Ptr &other) const =0 |
| Check if resulting states of this and another stream are equal.
|
|
Class for online Opus audio stream processing (voice activity detection and speech statistics computation)