25 #ifndef SFML_SOUNDBUFFERRECORDER_HPP
26 #define SFML_SOUNDBUFFERRECORDER_HPP
31 #include <SFML/Audio/Export.hpp>
32 #include <SFML/Audio/SoundBuffer.hpp>
33 #include <SFML/Audio/SoundRecorder.hpp>
69 virtual bool onStart();
80 virtual bool onProcessSamples(
const Int16* samples, std::size_t sampleCount);
86 virtual void onStop();
93 std::vector<Int16> m_samples;
99 #endif // SFML_SOUNDBUFFERRECORDER_HPP
Specialized SoundRecorder which stores the captured audio data into a sound buffer.
Storage for audio samples defining a sound.
Abstract base class for capturing sound data.