Interface AudioFrameBufferFactory
-
public interface AudioFrameBufferFactoryFactory for audio frame buffers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AudioFrameBuffercreate(int bufferDuration, AudioDataFormat format, java.util.concurrent.atomic.AtomicBoolean stopping)
-
-
-
Method Detail
-
create
AudioFrameBuffer create(int bufferDuration, AudioDataFormat format, java.util.concurrent.atomic.AtomicBoolean stopping)
- Parameters:
bufferDuration- Maximum duration of the buffer. The buffer may actually hold less in case the average size of frames exceedsAudioDataFormat.expectedChunkSize().format- The format of the frames held in this buffer.stopping- Atomic boolean which has true value when the track is in a state of pending stop.- Returns:
- A new frame buffer instance.
-
-