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

Method AudioDecoder

src/audio/AudioDecoder.cpp:10–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8namespace globed {
9
10AudioDecoder::AudioDecoder(int sampleRate, int frameSize, int channels)
11 : m_sampleRate(sampleRate), m_frameSize(frameSize), m_channels(channels) {
12 (void) this->remakeDecoder().unwrap();
13}
14
15AudioDecoder::~AudioDecoder() {
16 if (m_decoder) {

Callers

nothing calls this directly

Calls 1

remakeDecoderMethod · 0.95

Tested by

no test coverage detected