25 #ifndef SFML_SOUNDBUFFERRECORDER_H
26 #define SFML_SOUNDBUFFERRECORDER_H
31 #include <SFML/Audio/Export.h>
32 #include <SFML/Audio/Types.h>
41 CSFML_AUDIO_API sfSoundBufferRecorder* sfSoundBufferRecorder_create(
void);
49 CSFML_AUDIO_API
void sfSoundBufferRecorder_destroy(sfSoundBufferRecorder* soundBufferRecorder);
67 CSFML_AUDIO_API sfBool sfSoundBufferRecorder_start(sfSoundBufferRecorder* soundBufferRecorder,
unsigned int sampleRate);
75 CSFML_AUDIO_API
void sfSoundBufferRecorder_stop(sfSoundBufferRecorder* soundBufferRecorder);
89 CSFML_AUDIO_API
unsigned int sfSoundBufferRecorder_getSampleRate(
const sfSoundBufferRecorder* soundBufferRecorder);
104 CSFML_AUDIO_API
const sfSoundBuffer* sfSoundBufferRecorder_getBuffer(
const sfSoundBufferRecorder* soundBufferRecorder);
120 CSFML_AUDIO_API sfBool sfSoundBufferRecorder_setDevice(sfSoundBufferRecorder* soundBufferRecorder,
const char* name);
130 CSFML_AUDIO_API
const char* sfSoundBufferRecorder_getDevice(sfSoundBufferRecorder* soundBufferRecorder);
133 #endif // SFML_SOUNDBUFFERRECORDER_H