88 [[nodiscard]]
bool onProcessSamples(
const std::int16_t* samples, std::size_t sampleCount)
override;
100 std::vector<std::int16_t> m_samples;
#define SFML_AUDIO_API
Definition Export.hpp:42
Storage for audio samples defining a sound.
Definition SoundBuffer.hpp:55
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 onStart() override
Start capturing audio data.
bool onProcessSamples(const std::int16_t *samples, std::size_t sampleCount) override
Process a new chunk of recorded samples.
void onStop() override
Stop capturing audio data.
~SoundBufferRecorder() override
destructor
SoundRecorder()
Default constructor.
Definition BlendMode.hpp:34