Repo created
This commit is contained in:
parent
81b91f4139
commit
f8c34fa5ee
22732 changed files with 4815320 additions and 2 deletions
|
|
@ -0,0 +1,39 @@
|
|||
#ifndef TGCALLS_AUDIO_DEVICE_MODULE_IOS
|
||||
#define TGCALLS_AUDIO_DEVICE_MODULE_IOS
|
||||
|
||||
#include "platform/PlatformInterface.h"
|
||||
|
||||
namespace tgcalls {
|
||||
|
||||
class AudioDeviceModuleIOS : public DefaultWrappedAudioDeviceModule {
|
||||
public:
|
||||
AudioDeviceModuleIOS(webrtc::scoped_refptr<webrtc::AudioDeviceModule> impl) :
|
||||
DefaultWrappedAudioDeviceModule(impl) {
|
||||
}
|
||||
|
||||
virtual ~AudioDeviceModuleIOS() {
|
||||
}
|
||||
|
||||
virtual int32_t StopPlayout() override {
|
||||
return 0;
|
||||
}
|
||||
|
||||
virtual int32_t StopRecording() override {
|
||||
return 0;
|
||||
}
|
||||
|
||||
virtual int32_t Terminate() override {
|
||||
return 0;
|
||||
}
|
||||
|
||||
virtual void Stop() override {
|
||||
WrappedInstance()->StopPlayout();
|
||||
WrappedInstance()->StopRecording();
|
||||
WrappedInstance()->Terminate();
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue