Babel
Epitech's C++ VoIP project
|
virtual void stopStream()=0
Stop a stream.
virtual void setInputChannelsNumber(int32_t)=0
set the number of channels of Output for future streams
virtual int32_t getSampleRate() const =0
get the current samplerate
virtual int32_t getOutputChannelsNumber() const =0
get the number of channels of Output Device for future streams
virtual void setFramesPerBuffer(int32_t)=0
get the frame per buffer for readStreams
virtual void setSampleRate(int32_t)=0
set the samplerate for future streams
Definition: IAudioManager.hpp:13
virtual std::vector< int16_t > readStream()=0
Read an array of int16_t from current stream.
virtual void openStream()=0
Open stream to input and output sounds.
virtual int32_t getInputChannelsNumber() const =0
get the number of channels of Input Device for future streams
virtual ~IAudioManager()=default
virtual destructor
Audio Module Interface.
Definition: IAudioManager.hpp:15
virtual int32_t getFramesPerBuffer() const =0
get the frame per buffer value for readStreams
virtual void setOutputChannelsNumber(int32_t)=0
set the number of channels of Output for future streams
virtual int32_t getRecordTime() const =0
get the record time for readStreams
virtual void writeStream(std::vector< int16_t > &)=0
Write an array of int16_t to current stream.
virtual void startStream()=0
Start a stream.
virtual void setRecordTime(int32_t)=0
get the record time for readStreams
virtual void closeStream()=0
Close current stream.