Searched refs:typedBuffer (Results 1 – 1 of 1) sorted by relevance
216 void applyGainToInt32Buffer(int32_t* typedBuffer, const size_t bufferSizeBytes, const float gain) { in applyGainToInt32Buffer() argument223 float multiplied = (*typedBuffer) * gain; in applyGainToInt32Buffer()225 *typedBuffer++ = INT32_MAX; in applyGainToInt32Buffer()227 *typedBuffer++ = INT32_MIN; in applyGainToInt32Buffer()229 *typedBuffer++ = multiplied; in applyGainToInt32Buffer()234 *typedBuffer++ = (*typedBuffer) * gain; in applyGainToInt32Buffer()461 int32_t* typedBuffer = (int32_t*)buffer; in applyGain() local462 applyGainToInt32Buffer(typedBuffer, bufferSizeBytes, gain); in applyGain()469 std::unique_ptr<int32_t[]> typedBuffer(new int32_t[numSamples]); in applyGain() local470 memcpy_to_i32_from_p24(typedBuffer.get(), (uint8_t*)buffer, numSamples); in applyGain()[all …]