MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / OnCreate

Method OnCreate

src/render/plugins/opus_encoder/opus_encoder_plugin.cpp:47–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 }
46
47 bool OpusEncoderPlugin::OnCreate(const tc::GrPluginParam &param) {
48 GrAudioEncoderPlugin::OnCreate(param);
49 auto key_save_debug_file = "save_debug_file";
50 if (HasParam(key_save_debug_file)) {
51 debug_opus_decoder_ = GetConfigParam<bool>(key_save_debug_file);
52 }
53
54 return true;
55 }
56
57 bool OpusEncoderPlugin::OnDestroy() {
58 GrAudioEncoderPlugin::OnDestroy();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected