27 #include "../util/hash.h" 66 bool aIsLocallyCaptured,
67 const Hash& aOriginatingNode ) ;
79 const QByteArray& aFrame,
124 const QByteArray& aFrame,
125 Hash aOriginatingNode );
147 bool aIsLocallyCaptured,
151 Hash &aOriginatingNode );
void insertReceivedAudioFrame(quint32 aCallId, quint32 aSeqNo, const QByteArray &aFrame, Hash aOriginatingNode)
float iVolumeLevel
Definition: audiomixer.h:164
struct AudioMixer::AudioFrameStruct AudioFrame
Class for mixing together 0-n audio streams.
Definition: audiomixer.h:45
Definition: audiomixer.h:159
QList< int > iIndexesToMixForRemoteOutput
Definition: audiomixer.h:190
AudioMixer(Model &aModel)
void insertCapturedAudioFrame(const QByteArray &aFrame, quint32 aSeqNo, float aVolumeLevel)
Hash is class that carries 160-bit digest.
Definition: hash.h:38
void doInsertAudioFrame(const QByteArray &aFrame, bool aIsLocallyCaptured, quint32 aSeqNo, quint32 aCallId, float aVolumeLevel, Hash &aOriginatingNode)
QList< QQueue< AudioFrame > > iAudioDataBuffer
Definition: audiomixer.h:184
void configureMixedStreams()
struct AudioMixer::AudioStreamMetadata AudioFrameMetadata
quint32 iSeqNo
Definition: audiomixer.h:161
QList< int > iIndexesToMixForLocalSpeaker
Definition: audiomixer.h:188
Model & iModel
Definition: audiomixer.h:191
M of the MVC pattern. Handles permanent storage.
Definition: model.h:50
void frameReadyForLocalSpeaker(const QByteArray &aFrame)
void frameReadyForRemoteSend(quint32 aCallId, quint32 aSeqNo, const QByteArray &aFrame, Hash aForNode)
QList< AudioFrameMetadata > iStreams
Definition: audiomixer.h:186
quint32 iCallId
Definition: audiomixer.h:160
void tryMixFrames(quint32 aCallId, quint32 aSeqNo)
void removeStream(quint32 aCallId)
QByteArray iFrame
Definition: audiomixer.h:163
void insertStream(quint32 aCallId, quint32 aStartingSeq, bool aIsLocallyCaptured, const Hash &aOriginatingNode)
bool iIsLocallyCaptured
Definition: audiomixer.h:162