Loading...
Searching...
No Matches
SoundRecorder.hpp
Go to the documentation of this file.
7// In no event will the authors be held liable for any damages arising from the use of this software.
const std::string & getDevice() const
Get the name of the current audio capture device.
virtual bool onProcessSamples(const Int16 *samples, std::size_t sampleCount)=0
Process a new chunk of recorded samples.
static std::vector< std::string > getAvailableDevices()
Get a list of the names of all available audio capture devices.
unsigned int getChannelCount() const
Get the number of channels used by this recorder.
void setProcessingInterval(Time interval)
Set the processing interval.
static std::string getDefaultDevice()
Get the name of the default audio capture device.
void setChannelCount(unsigned int channelCount)
Set the channel count of the audio capture device.
Definition AlResource.hpp:35