Package: android.hardware.audio.effect@2.0

IEffectBufferProviderCallback

interface IEffectBufferProviderCallback

This callback interface contains functions that can be used by the effect engine 'process' function to exchange input and output audio buffers.

Methods

getBuffer

getBuffer ()
generates (AudioBuffer buffer)

Called to retrieve a buffer where data should read from by 'process' function.

Details
Generates
buffer
audio buffer for processing

putBuffer

putBuffer (AudioBuffer buffer)

Called to provide a buffer with the data written by 'process' function.

Details
Parameters
buffer
audio buffer for processing