QXmpp Version:0.3.91
|
The QXmppCodec class is the base class for audio codecs capable of encoding and decoding audio samples. More...
#include <QXmppCodec.h>
Inherited by QXmppG711aCodec, and QXmppG711uCodec.
Public Member Functions | |
virtual qint64 | encode (QDataStream &input, QDataStream &output)=0 |
virtual qint64 | decode (QDataStream &input, QDataStream &output)=0 |
The QXmppCodec class is the base class for audio codecs capable of encoding and decoding audio samples.
Samples must be 16-bit little endian.
virtual qint64 QXmppCodec::decode | ( | QDataStream & | input, |
QDataStream & | output | ||
) | [pure virtual] |
Reads encoded data from the input stream, decodes it and writes the decoded samples to the output stream.
virtual qint64 QXmppCodec::encode | ( | QDataStream & | input, |
QDataStream & | output | ||
) | [pure virtual] |
Reads samples from the input stream, encodes them and writes the encoded data to the output stream.