Ref T376, voice (vatlib) getter/setter for CVoiceSetup

This commit is contained in:
Klaus Basan
2018-09-28 05:08:49 +02:00
parent 6390f5dc5e
commit a475d12339
3 changed files with 35 additions and 9 deletions

View File

@@ -12,6 +12,7 @@
#include "blackcore/audiomixer.h"
#include "blackcore/blackcoreexport.h"
#include "blackmisc/audio/voicesetup.h"
#include <QObject>
#include <QSharedPointer>
@@ -39,6 +40,12 @@ namespace BlackCore
//! Virtual destructor.
virtual ~IVoice() {}
//! Set voice setup
virtual void setVoiceSetup(const BlackMisc::Audio::CVoiceSetup &setup) = 0;
//! Get voice setup
virtual BlackMisc::Audio::CVoiceSetup getVoiceSetup() const = 0;
//! Create voice channel object
virtual QSharedPointer<IVoiceChannel> createVoiceChannel() = 0;