Interface IConsumerModule

All Known Implementing Classes:
AudioPlayer, Authenticator, BufferModule, BufferModuleIn, File, Identificator, Recognizer, Recognizer, UserWordEnroller

public interface IConsumerModule
Represents a module that consumes audio buffers.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    process(Buffer buffer, boolean last)
    Processes the given audio buffer.
  • Method Details

    • process

      void process(Buffer buffer, boolean last) throws Exception
      Processes the given audio buffer.
      Parameters:
      buffer - The audio buffer to process.
      last - Indicates if this is the last buffer in the stream.
      Throws:
      Exception - If an error occurs during processing.