MCPcopy Create free account
hub / github.com/GlobedGD/globed2 / AudioEncoder

Method AudioEncoder

src/audio/AudioEncoder.cpp:9–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7namespace globed {
8
9AudioEncoder::AudioEncoder(int sampleRate, int frameSize, int channels)
10 : m_encoder(nullptr), m_sampleRate(sampleRate), m_frameSize(frameSize), m_channels(channels) {
11 (void) this->remakeEncoder().unwrap();
12}
13
14AudioEncoder::~AudioEncoder() {
15 if (m_encoder) {

Callers

nothing calls this directly

Calls 1

remakeEncoderMethod · 0.95

Tested by

no test coverage detected