1
////////////////////////////////////////////////////////////////////////////////
3
// pySFML - Python bindings for SFML
4
// Copyright 2012-2013, Jonathan De Wachter <dewachter.jonathan@gmail.com>
6
// This software is released under the LGPLv3 license.
7
// You should have received a copy of the GNU Lesser General Public License
8
// along with this program. If not, see <http://www.gnu.org/licenses/>.
10
////////////////////////////////////////////////////////////////////////////////
13
#ifndef DERIVABLE_SOUND_RECORDER_HPP
14
#define DERIVABLE_SOUND_RECORDER_HPP
17
#include <SFML/Audio.hpp>
18
#include "pysfml/audio_api.h"
21
class DerivableSoundRecorder : public sf::SoundRecorder
24
DerivableSoundRecorder(void* pyThis);
27
virtual bool onStart();
28
virtual bool onProcessSamples(const sf::Int16* samples, std::size_t sampleCount);
29
virtual void onStop();
35
#endif // DERIVABLE_SOUND_RECORDER_HPP