refs #372 Add audio mixer interface and vatlib implementation

This class is an audio router. In order to route audio connect a
producer to an input port and a consumer to an output port. The
connection is later established by making the mixer connection
between an input and an output port.
This commit is contained in:
Roland Winklmeier
2015-02-01 14:23:47 +01:00
committed by Klaus Basan
parent 5146b7357d
commit 8812f3ba28
7 changed files with 186 additions and 0 deletions

View File

@@ -8,6 +8,7 @@
#include "audio_device.h"
#include "voice_channel.h"
#include "audio_mixer.h"
#include "../blackmisc/avcallsignlist.h"
#include "../blackmisc/avselcal.h"
@@ -47,6 +48,8 @@ namespace BlackCore
//! Create output device object
virtual std::unique_ptr<IAudioOutputDevice> createOutputDevice() = 0;
//! Create audio mixer object
virtual std::unique_ptr<IAudioMixer> createAudioMixer() = 0;
//! Connect voice channel to an audio output device
virtual void connectChannelOutputDevice(IVoiceChannel *channel, IAudioOutputDevice *device) = 0;