25 #ifndef SFML_SOUNDBUFFERRECORDER_HPP 26 #define SFML_SOUNDBUFFERRECORDER_HPP 31 #include <SFML/Audio/SoundBuffer.hpp> 32 #include <SFML/Audio/SoundRecorder.hpp> 60 virtual bool OnStart();
66 virtual bool OnProcessSamples(
const Int16* Samples, std::size_t SamplesCount);
72 virtual void OnStop();
77 std::vector<Int16> mySamples;
83 #endif // SFML_SOUNDBUFFERRECORDER_HPP
SoundRecorder is an interface for capturing sound data, it is meant to be used as a base class...
Specialized SoundRecorder which saves the captured audio data into a sound buffer.
SoundBuffer is the low-level for loading and manipulating sound buffers.