# AudioBufferProcessor

@UnstableApi
class AudioBufferProcessor(callback: (ByteArray) -> Unit) : AudioProcessor

## Constructors

AudioBufferProcessor
Link copied to clipboard
constructor(callback: (ByteArray) -> Unit)

## Properties

isActive
Link copied to clipboard
open override val isActive: Boolean
isEnded
Link copied to clipboard
open override val isEnded: Boolean
output
Link copied to clipboard
open override val output: ByteBuffer

## Functions

configure
Link copied to clipboard
open override fun configure(inputAudioFormat: AudioProcessor.AudioFormat): AudioProcessor.AudioFormat
flush
Link copied to clipboard
open fun flush(streamMetadata: AudioProcessor.StreamMetadata)
open override fun flush()
getDurationAfterProcessorApplied
Link copied to clipboard
open fun getDurationAfterProcessorApplied(durationUs: Long): Long
getOutput
Link copied to clipboard
open override fun getOutput(): ByteBuffer
isActive
Link copied to clipboard
open override fun isActive(): Boolean
isEnded
Link copied to clipboard
open override fun isEnded(): Boolean
queueEndOfStream
Link copied to clipboard
open override fun queueEndOfStream()
queueInput
Link copied to clipboard
open override fun queueInput(inputBuffer: ByteBuffer)
reset
Link copied to clipboard
open override fun reset()