Loading...
Searching...
No Matches
SoundBufferRecorder.hpp
Go to the documentation of this file.
7// In no event will the authors be held liable for any damages arising from the use of this software.
88 [[nodiscard]] bool onProcessSamples(const std::int16_t* samples, std::size_t sampleCount) override;
Specialized SoundRecorder which stores the captured audio data into a sound buffer.
Definition SoundBufferRecorder.hpp:49
const SoundBuffer & getBuffer() const
Get the sound buffer containing the captured audio data.
bool onProcessSamples(const std::int16_t *samples, std::size_t sampleCount) override
Process a new chunk of recorded samples.
Definition AudioResource.hpp:36