6#ifndef SWIFT_SOUND_CODECS_OPUSDECODER_H
7#define SWIFT_SOUND_CODECS_OPUSDECODER_H
15namespace swift::sound::codecs
43 OpusDecoder *m_opusDecoder =
nullptr;
46 static constexpr int MaxDataBytes = 4000;
int frameCount(int bufferSize)
Frame count.
COpusDecoder(int sampleRate, int channels)
Ctor.
COpusDecoder(const COpusDecoder &decoder)=delete
Not copyable and assignable.
QVector< qint16 > decode(const QByteArray &opusData, int dataLength, int *decodedLength)
Decode.
COpusDecoder & operator=(COpusDecoder const &)=delete
Not copyable and assignable.
#define SWIFT_SOUND_EXPORT
Export a class or function from the library.