Home
last modified time | relevance | path

Searched refs:mConversionBuffer (Results 1 – 5 of 5) sorted by relevance

/external/oboe/src/common/
DSourceI16Caller.h35 mConversionBuffer = std::make_unique<int16_t[]>(channelCount * output.getFramesPerBuffer()); in SourceI16Caller()
44 std::unique_ptr<int16_t[]> mConversionBuffer;
DSourceI16Caller.cpp31 int32_t bytesRead = mBlockReader.read((uint8_t *) mConversionBuffer.get(), numBytes); in onProcess()
35 const int16_t *shortData = mConversionBuffer.get(); in onProcess()
/external/drrickorang/LoopbackApp/app/src/main/cpp/lb2/
Dsound_system_aaudio.cpp345 std::unique_ptr<AudioBuffer<sample_t>> mConversionBuffer; member in __anon8db8069d0111::Recorder
381 mConversionBuffer.reset(new AudioBuffer<sample_t>( in init()
400 if (!mConversionBuffer) { in read()
403 ssize_t result = mStream->read(mConversionBuffer->getView(0, buffer.getFrameCount())); in read()
407 copyAudioBufferViewData(mConversionBuffer->getView(0, framesRead), buffer); in read()
/external/oboe/samples/RhythmGame/src/main/cpp/
DGame.cpp121 float *outputBuffer = (is16Bit) ? mConversionBuffer.get() : static_cast<float *>(audioData); in onAudioReady()
190 mConversionBuffer = std::make_unique<float[]>( in openStream()
DGame.h67 std::unique_ptr<float[]> mConversionBuffer { nullptr }; // For float->int16 conversion