mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 10:45:37 +08:00
Ref T376, voice (vatlib) getter/setter for CVoiceSetup
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user