mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 11:55:35 +08:00
refs #372 Adapt CContextAudio and voice sample to IAudioMixer
This commit is contained in:
committed by
Klaus Basan
parent
7ba3a50e18
commit
ff56d64ff2
@@ -8,6 +8,7 @@
|
||||
|
||||
#include "blackcore/voice.h"
|
||||
#include "blackcore/voice_channel.h"
|
||||
#include "blackcore/audio_mixer.h"
|
||||
|
||||
#include <QObject>
|
||||
#include <QPointer>
|
||||
@@ -15,6 +16,7 @@
|
||||
#include <QMap>
|
||||
#include <QThread>
|
||||
#include <QTextStream>
|
||||
#include <QSharedPointer>
|
||||
|
||||
class Client : public QObject
|
||||
{
|
||||
@@ -62,7 +64,8 @@ private:
|
||||
BlackCore::IVoice *m_voice;
|
||||
std::unique_ptr<BlackCore::IAudioInputDevice> m_inputDevice;
|
||||
std::unique_ptr<BlackCore::IAudioOutputDevice> m_outputDevice;
|
||||
std::unique_ptr<BlackCore::IVoiceChannel> m_channelCom1;
|
||||
std::unique_ptr<BlackCore::IAudioMixer> m_audioMixer;
|
||||
QSharedPointer<BlackCore::IVoiceChannel> m_channelCom1;
|
||||
QTextStream m_stdout;
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user