21 #ifndef AUDIO_DECODER_H 22 #define AUDIO_DECODER_H 25 #include <opus/opus.h> 26 #include "../util/hash.h" 41 quint32 aNumChannels = 1 ) ;
56 const QByteArray& aEncodedData,
57 Hash aOriginatingNode ) ;
64 const QByteArray& aAudioData,
65 Hash aOriginatingNode ) ;
class for de-compressing audio received from network
Definition: audiodecoder.h:33
void frameDecoded(quint32 aCallId, quint32 aSeqNo, const QByteArray &aEncodedData, Hash aOriginatingNode)
AudioDecoder(quint32 aSampleRate=8000, quint32 aNumChannels=1)
void frameReceived(quint32 aCallId, quint32 aSeqNo, const QByteArray &aAudioData, Hash aOriginatingNode)
const quint32 iNumChannels
Definition: audiodecoder.h:69
Hash is class that carries 160-bit digest.
Definition: hash.h:38
OpusDecoder * iDecoder
Definition: audiodecoder.h:67
const quint32 iSampleRate
Definition: audiodecoder.h:70
QByteArray iDecodedData
Definition: audiodecoder.h:68