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> 75 virtual bool onStart();
86 virtual bool onProcessSamples(
const Int16* samples, std::size_t sampleCount);
92 virtual void onStop();
99 std::vector<Int16> m_samples;
105 #endif // SFML_SOUNDBUFFERRECORDER_HPP Specialized SoundRecorder which stores the captured audio data into a sound buffer.
Abstract base class for capturing sound data.
Storage for audio samples defining a sound.