mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 07:35:41 +08:00
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:
committed by
Klaus Basan
parent
5146b7357d
commit
8812f3ba28
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user