![]() |
SDRAngel
4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
|
#include <audioopus.h>
Public Member Functions | |
| AudioOpus () | |
| ~AudioOpus () | |
| void | setEncoder (int32_t fs, int nChannels) |
| int | encode (int frameSize, int16_t *in, uint8_t *out) |
Static Public Attributes | |
| static const int | m_bitrate = 64000 |
| Fixed 64kb/s bitrate (8kB/s) More... | |
| static const int | m_maxPacketSize = 3*1276 |
Private Attributes | |
| OpusEncoder * | m_encoderState |
| bool | m_encoderOK |
| QMutex | m_mutex |
Definition at line 28 of file audioopus.h.
| AudioOpus::AudioOpus | ( | ) |
Definition at line 28 of file audioopus.cpp.
| AudioOpus::~AudioOpus | ( | ) |
Definition at line 86 of file audioopus.cpp.
References m_encoderOK, m_encoderState, m_maxPacketSize, and m_mutex.
Referenced by AudioNetSink::write().
Here is the caller graph for this function:| void AudioOpus::setEncoder | ( | int32_t | fs, |
| int | nChannels | ||
| ) |
Definition at line 43 of file audioopus.cpp.
References m_bitrate, m_encoderOK, m_encoderState, and m_mutex.
Referenced by AudioNetSink::setNewCodecData().
Here is the caller graph for this function:
|
static |
Fixed 64kb/s bitrate (8kB/s)
Definition at line 37 of file audioopus.h.
Referenced by AudioNetSink::AudioNetSink(), setEncoder(), AudioNetSink::setNewCodecData(), and AudioNetSink::write().
|
private |
Definition at line 42 of file audioopus.h.
Referenced by encode(), and setEncoder().
|
private |
Definition at line 41 of file audioopus.h.
Referenced by encode(), setEncoder(), and ~AudioOpus().
|
static |
Definition at line 38 of file audioopus.h.
Referenced by encode().
|
private |
Definition at line 43 of file audioopus.h.
Referenced by encode(), and setEncoder().
1.8.13