Home
last modified time | relevance | path

Searched refs:AudioBufferView (Results 1 – 11 of 11) sorted by relevance

/external/drrickorang/LoopbackApp/app/src/main/cpp/lb2/
Daudio_buffer.h97 template<class T> class AudioBufferView; variable
118 AudioBufferView<T> getView(
131 class AudioBufferView : public AudioBufferBase<T> {
133 AudioBufferView(T* const data, size_t frameCount, int channelCount) in AudioBufferView() function
136 AudioBufferView(const AudioBufferBase<T>& b) in AudioBufferView() function
138 AudioBufferView(const AudioBufferView<T>&) = default;
139 AudioBufferView(AudioBufferView<T>&&) = default;
140 AudioBufferView<T>& operator=(const AudioBufferView<T>&) = default;
141 AudioBufferView<T>& operator=(AudioBufferView<T>&&) = default;
143 AudioBufferView<T> getView(
[all …]
Dtest_context.h82 AudioBufferView<sample_t> getImpulse() const { return mImpulse; } in getImpulse()
86 const AudioBufferView<sample_t> mImpulse;
101 AudioBufferView<sample_t> byteBuffer) in GlitchTestContext()
110 const AudioBufferView<sample_t>& getByteBuffer() const { return mByteBuffer; } in getByteBuffer()
111 AudioBufferView<sample_t> getNextImpulse(size_t frameCount); // non-idempotent
116 const AudioBufferView<sample_t> mByteBuffer;
Dloopback_test.cpp48 int LoopbackTest::collectRecording(AudioBufferView<double> buffer) { in collectRecording()
66 AudioBufferView<double> dst = buffer.getView(framesRead, actualFrames); in collectRecording()
106 AudioBufferView<sample_t> LatencyTest::writeCallback(size_t expectedFrames) { in writeCallback()
115 AudioBufferView<sample_t> readBuffer = mReadBuffer.getView(0, expectedFrames); in writeCallback()
138 AudioBufferView<sample_t> impulseChunk = in writeCallback()
167 AudioBufferView<sample_t> GlitchTest::writeCallback(size_t expectedFrames) { in writeCallback()
Dloopback_test.h40 virtual int collectRecording(AudioBufferView<double> buffer);
75 AudioBufferView<sample_t> writeCallback(size_t expectedFrames);
82 AudioBufferView<sample_t> mImpulse;
98 AudioBufferView<sample_t> writeCallback(size_t expectedFrames);
Dsound_system.h34 using WriteCallback = std::function<AudioBufferView<sample_t>(size_t expectedFrames)>;
56 virtual ssize_t readAudio(AudioBufferView<sample_t> buffer) = 0;
Dsound_system_aaudio.cpp38 ssize_t read(AudioBufferView<sample_t> buffer);
70 ssize_t Stream::read(AudioBufferView<sample_t> buffer) { in read()
299 AudioBufferView<sample_t> outputWave = self->mWriteCallback(numFrames); in aaudioDataCallback()
306 AudioBufferView<sample_t>(static_cast<sample_t*>(audioData), in aaudioDataCallback()
331 ssize_t read(AudioBufferView<sample_t> buffer);
399 ssize_t Recorder::read(AudioBufferView<sample_t> buffer) { in read()
475 ssize_t SoundSystemAAudio::readAudio(AudioBufferView<sample_t> buffer) { in readAudio()
Dsound_system_echo.cpp60 AudioBufferView<sample_t> buffer = mWriteCallback(mTestCtx->getFrameCount()); in threadLoop()
82 ssize_t SoundSystemEcho::readAudio(AudioBufferView<sample_t> buffer) { in readAudio()
Dloopback2.cpp60 AudioBufferView<sample_t> byteBuffer( in lb2Init()
95 AudioBufferView<double>(pSamples, maxSamples / CHANNEL_COUNT, CHANNEL_COUNT)); in lb2ProcessNext()
Dtest_context.cpp22 AudioBufferView<sample_t> GlitchTestContext::getNextImpulse(size_t frameCount) { in getNextImpulse()
Dsound_system_aaudio.h40 ssize_t readAudio(AudioBufferView<sample_t> buffer) override;
Dsound_system_echo.h40 ssize_t readAudio(AudioBufferView<sample_t> buffer) override;