1
0
mirror of https://github.com/danog/libtgvoip.git synced 2024-11-27 04:34:42 +01:00
libtgvoip/audio/AudioInput.h
2017-03-30 17:06:59 +03:00

28 lines
622 B
C++

//
// libtgvoip is free and unencumbered public domain software.
// For more information, see http://unlicense.org or the UNLICENSE file
// you should have received with this source code distribution.
//
#ifndef LIBTGVOIP_AUDIOINPUT_H
#define LIBTGVOIP_AUDIOINPUT_H
#include <stdint.h>
#include "../MediaStreamItf.h"
class CAudioInput : public CMediaStreamItf{
public:
CAudioInput();
virtual ~CAudioInput();
virtual void Configure(uint32_t sampleRate, uint32_t bitsPerSample, uint32_t channels)=0;
bool IsInitialized();
static CAudioInput* Create();
protected:
bool failed;
};
#endif //LIBTGVOIP_AUDIOINPUT_H