MCPcopy Create free account
hub / github.com/defold/defold / Delete

Function Delete

engine/sound/src/sound_codec.cpp:58–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 }
57
58 void Delete(HCodecContext context)
59 {
60 uint32_t n = context->m_DecodersPool.Remaining() - context->m_DecodersPool.Capacity();
61 if (n > 0) {
62 dmLogError("Dangling decoders in codec context (%d)", n);
63 }
64 delete context;
65 }
66
67 Result NewDecoder(HCodecContext context, Format format, dmSound::HSoundData sound_data, HDecoder* decoder)
68 {

Callers 5

FinalizeFunction · 0.70
FinalizeFunction · 0.70
DeviceOpenSLOpenFunction · 0.50
DeviceOpenSLCloseFunction · 0.50
~LoopbackDeviceMethod · 0.50

Calls 2

RemainingMethod · 0.45
CapacityMethod · 0.45

Tested by 1

~LoopbackDeviceMethod · 0.40