Lines Matching defs:buffer

116 //  |                           |           |   command must specify a buffer descriptor
124 // | | | command must specify a buffer descriptor
135 // | | | and returns them to the output buffer.
292 // (count and location) in input buffer descriptor and output processed
293 // samples as specified in output buffer descriptor. If the buffer descriptor
294 // is not specified the function must use either the buffer or the
295 // buffer provider function installed by the EFFECT_CMD_SET_CONFIG command.
309 // inBuffer: buffer descriptor indicating where to read samples to process.
312 // outBuffer: buffer descriptor indicating where to write processed samples.
320 // invalid input/output buffer description
394 // inBuffer: buffer descriptor indicating where to read samples to process.
397 // outBuffer: buffer descriptor indicating where to write processed samples.
399 // If the buffer and buffer provider in the configuration received by
408 // invalid input/output buffer description
475 // Reset the effect engine. Keep configuration but resets state and buffer content
592 // data: volume for each channel defined in effect_config_t for output buffer expressed in
598 // volume for each channel defined in effect_config_t for output buffer expressed in
770 // Audio buffer descriptor used by process(), bufferProvider() functions and buffer_config_t
775 // The buffer size is expressed in frame count, a frame being composed of samples for all
779 size_t frameCount; // number of frames in buffer
781 void* raw; // raw pointer to start of buffer
782 int32_t* s32; // pointer to signed 32 bit data at start of buffer
783 int16_t* s16; // pointer to signed 16 bit data at start of buffer
784 uint8_t* u8; // pointer to unsigned 8 bit data at start of buffer
790 // or output audio buffer.
791 // The getBuffer() function is called to retrieve a buffer where data
793 // The releaseBuffer() function MUST be called when the buffer retrieved
795 // The process function should use the buffer provider mechanism to retrieve
796 // input or output buffer if the inBuffer or outBuffer passed as argument is NULL
797 // and the buffer configuration (buffer_config_t) given by the EFFECT_CMD_SET_CONFIG
798 // command did not specify an audio buffer.
800 typedef int32_t (* buffer_function_t)(void *cookie, audio_buffer_t *buffer);
803 buffer_function_t getBuffer; // retrieve next buffer
804 buffer_function_t releaseBuffer; // release used buffer
805 void *cookie; // for use by client of buffer provider functions
811 // structure that defines both input and output buffer configurations and is
814 audio_buffer_t buffer; // buffer for use by process() function if not passed explicitly
817 buffer_provider_t bufferProvider; // buffer provider
819 uint8_t accessMode; // read/write or accumulate in buffer (effect_buffer_access_e)
848 #define EFFECT_CONFIG_BUFFER 0x0001 // buffer field must be taken into account