Package com.vivoka.vsdk.audio.producers
Class BufferModuleOut
java.lang.Object
com.vivoka.vsdk.audio.ProducerModule
com.vivoka.vsdk.audio.producers.BufferModuleOut
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.vivoka.vsdk.audio.ProducerModule
ProducerModule.State -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.vivoka.vsdk.audio.ProducerModule
closeImpl, dispatchAudio, dispatchBuffer, getLastError, getState, isBusy, isClosed, isIdle, isOpened, isPaused, isRunning, isStarted, openImpl, pauseImpl, resumeImpl, setLastError, setState, setStateChanedCallback, subscribeFirst, subscribeLast, unsubscribe
-
Constructor Details
-
BufferModuleOut
Deprecated.
-
-
Method Details
-
runImpl
Deprecated.Description copied from class:ProducerModuleRuns the producer module in a blocking manner. The producer state must beOPENED. When calling run pipeline, this method will be called after theopenmethod. The state remains RUNNING until the end and then becomes OPENED.- Overrides:
runImplin classProducerModule- Throws:
Exception- If the producer is not opened or an error occurs during running.
-
startImpl
Deprecated.Description copied from class:ProducerModuleStarts the producer module in a non-blocking manner. The producer state must beOPENED. When calling start pipeline, this method will be called after theopenmethod. 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:
startImplin classProducerModule- Throws:
Exception- If an error occurs during starting.
-
stopImpl
Deprecated.Description copied from class:ProducerModuleStops the producer module. The producer state must beSTARTED. 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:
stopImplin classProducerModule- Throws:
Exception- If an error occurs during stopping.
-