I/O buffers in Ext. renderer
Looking at the external renderer application (function main()
in renderer.c), there is the following block:
inpInt16Buffer = count_malloc( inBufferSize * sizeof( int16_t ) );
inFloatBuffer = count_malloc( inBufferSize * sizeof( float ) );
outInt16Buffer = count_malloc( outBufferSize * sizeof( int16_t ) );
outFloatBuffer = count_malloc( outBufferSize * sizeof( float ) );
First, I think that the memory does not need to be counted for the renderer application, similarly as in encoder/decoder application.
Then, if the logic from encoder/decoder is followed in the renderer application, I think that the float buffers should be allocated in the library (lib_rend). Consequently, I would expect that convertInputBuffer()
/ convertOutputBuffer()
are part of the library.
Or, do we want to follow the renderer application logic in the encoder/decoder application?