Class BufferModuleOut

java.lang.Object
com.vivoka.vsdk.audio.ProducerModule
com.vivoka.vsdk.audio.producers.BufferModuleOut

@Deprecated public class BufferModuleOut extends ProducerModule
Deprecated.
BufferModuleOut is a producer module that outputs audio buffers from a BufferModuleIn. It is designed to run asynchronously, allowing the buffer to be dispatched without blocking. Deprecated: This class is deprecated and will be removed in future versions. Use BufferModule instead.
  • Constructor Details

    • BufferModuleOut

      public BufferModuleOut(BufferModuleIn bufferModuleIn)
      Deprecated.
  • Method Details

    • runImpl

      public void runImpl() throws Exception
      Deprecated.
      Description copied from class: ProducerModule
      Runs the producer module in a blocking manner. The producer state must be OPENED. When calling run pipeline, this method will be called after the open method. The state remains RUNNING until the end and then becomes OPENED.
      Overrides:
      runImpl in class ProducerModule
      Throws:
      Exception - If the producer is not opened or an error occurs during running.
    • startImpl

      public void startImpl() throws Exception
      Deprecated.
      Description copied from class: ProducerModule
      Starts the producer module in a non-blocking manner. The producer state must be OPENED. When calling start pipeline, this method will be called after the open method. startImpl() should initiate the producer and return immediately without waiting for processing to complete and update the state to STARTED when it is done.
      Overrides:
      startImpl in class ProducerModule
      Throws:
      Exception - If an error occurs during starting.
    • stopImpl

      public void stopImpl() throws Exception
      Deprecated.
      Description copied from class: ProducerModule
      Stops the producer module. The producer state must be STARTED. When calling stop pipeline, this method will be called. It should initiate the stopping process and return immediately without waiting for it to complete. It should make sure that the state is updated to OPENED when it is done.
      Overrides:
      stopImpl in class ProducerModule
      Throws:
      Exception - If an error occurs during stopping.