constint16_tsrcBufferTotalNumSamples,/* TODO(sgi): Change to num samples per channel */
float*dstBuffer,
constint16_tdstBufferNumSamplesPerChannel,
constint16_tdstBufferNumChannels);
constfloat*srcBuffer,/* i : Source buffer */
constint16_tsrcBufferNumSamplesPerChannel,/* i : Length (per channel) of source buffer */
float*dstBuffer,/* o : Destination buffer */
constint16_tdstBufferNumSamplesPerChannel,/* o : Length of destination buffer. If longer than source buffer, the remaining samples will be set to zero. */
constint16_tnumChannels/* i : Number of channels - must be equal for both buffers */
);
voidcopyBufferInterleavedFloatToPackedInt(
constfloat*srcBuffer,
constint16_tsrcBufferTotalNumSamples,/* TODO(sgi): Change to num samples per channel */
int16_t*dstBuffer,
constint16_tdstBufferNumSamplesPerChannel,
constint16_tdstBufferNumChannels,
constfloat*srcBuffer,/* i : Source buffer */
constint16_tsrcBufferNumSamplesPerChannel,/* i : Length (per channel) of source buffer */
int16_t*dstBuffer,/* o : Destination buffer */
constint16_tdstBufferNumSamplesPerChannel,/* o : Length of destination buffer. If longer than source buffer, the remaining samples will be set to zero. */
constint16_tnumChannels,/* i : Number of channels - must be equal for both buffers */
int16_t(*float2int)(float)/* i : Custom float-to-int conversion function. If NULL, conversion will be done via a simple cast. */
);
voidcopyBufferInterleavedIntToPackedFloat(
constint16_t*srcBuffer,
constint16_tsrcBufferTotalNumSamples,/* TODO(sgi): Change to num samples per channel */
float*dstBuffer,
constint16_tdstBufferNumSamplesPerChannel,
constint16_tdstBufferNumChannels);
constint16_t*srcBuffer,/* i : Source buffer */
constint16_tsrcBufferNumSamplesPerChannel,/* i : Length (per channel) of source buffer */
float*dstBuffer,/* o : Destination buffer */
constint16_tdstBufferNumSamplesPerChannel,/* o : Length of destination buffer. If longer than source buffer, the remaining samples will be set to zero. */
constint16_tnumChannels/* i : Number of channels - must be equal for both buffers */
);
voidcopyBufferInterleavedIntToPackedInt(
constint16_t*srcBuffer,
constint16_tsrcBufferTotalNumSamples,/* TODO(sgi): Change to num samples per channel */
int16_t*dstBuffer,
constint16_tdstBufferNumSamplesPerChannel,
constint16_tdstBufferNumChannels);
constint16_t*srcBuffer,/* i : Source buffer */
constint16_tsrcBufferNumSamplesPerChannel,/* i : Length (per channel) of source buffer */
int16_t*dstBuffer,/* o : Destination buffer */
constint16_tdstBufferNumSamplesPerChannel,/* o : Length of destination buffer. If longer than source buffer, the remaining samples will be set to zero. */
constint16_tnumChannels/* i : Number of channels - must be equal for both buffers */
);
voidcopyBufferPackedFloatToInterleavedFloat(
constfloat*srcBuffer,
constint16_tsrcBufferNumSamplesPerChannel,
float*dstBuffer,
constint16_tdstBufferNumSamplesPerChannel,
constint16_tdstBufferNumChannels);
constfloat*srcBuffer,/* i : Source buffer */
constint16_tsrcBufferNumSamplesPerChannel,/* i : Length (per channel) of source buffer */
float*dstBuffer,/* o : Destination buffer */
constint16_tdstBufferNumSamplesPerChannel,/* o : Length of destination buffer. If longer than source buffer, the remaining samples will be set to zero. */
constint16_tnumChannels/* i : Number of channels - must be equal for both buffers */
);
voidcopyBufferPackedFloatToInterleavedInt(
constfloat*srcBuffer,
constint16_tsrcBufferNumSamplesPerChannel,
int16_t*dstBuffer,
constint16_tdstBufferNumSamplesPerChannel,
constint16_tdstBufferNumChannels,
constfloat*srcBuffer,/* i : Source buffer */
constint16_tsrcBufferNumSamplesPerChannel,/* i : Length (per channel) of source buffer */
int16_t*dstBuffer,/* o : Destination buffer */
constint16_tdstBufferNumSamplesPerChannel,/* o : Length of destination buffer. If longer than source buffer, the remaining samples will be set to zero. */
constint16_tnumChannels,/* i : Number of channels - must be equal for both buffers */
int16_t(*float2int)(float)/* i : Custom float-to-int conversion function. If NULL, conversion will be done via a simple cast. */
);
voidcopyBufferPackedIntToInterleavedFloat(
constint16_t*srcBuffer,
constint16_tsrcBufferNumSamplesPerChannel,
float*dstBuffer,
constint16_tdstBufferNumSamplesPerChannel,
constint16_tdstBufferNumChannels);
constint16_t*srcBuffer,/* i : Source buffer */
constint16_tsrcBufferNumSamplesPerChannel,/* i : Length (per channel) of source buffer */
float*dstBuffer,/* o : Destination buffer */
constint16_tdstBufferNumSamplesPerChannel,/* o : Length of destination buffer. If longer than source buffer, the remaining samples will be set to zero. */
constint16_tnumChannels/* i : Number of channels - must be equal for both buffers */
);
voidcopyBufferPackedIntToInterleavedInt(
constint16_t*srcBuffer,
constint16_tsrcBufferNumSamplesPerChannel,
int16_t*dstBuffer,
constint16_tdstBufferNumSamplesPerChannel,
constint16_tdstBufferNumChannels);
constint16_t*srcBuffer,/* i : Source buffer */
constint16_tsrcBufferNumSamplesPerChannel,/* i : Length (per channel) of source buffer */
int16_t*dstBuffer,/* o : Destination buffer */
constint16_tdstBufferNumSamplesPerChannel,/* o : Length of destination buffer. If longer than source buffer, the remaining samples will be set to zero. */
constint16_tnumChannels/* i : Number of channels - must be equal for both buffers */