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

Method GetDecoderBufferBase

engine/sound/src/sound.cpp:246–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244 bool m_DeviceResetPending;
245
246 float* GetDecoderBufferBase(uint8_t channel) const { assert(channel < SOUND_MAX_DECODE_CHANNELS); return (float*)((uintptr_t)m_DecoderOutput[channel] + SOUND_MAX_HISTORY * sizeof(float)); }
247 };
248
249 SoundSystem* g_SoundSystem = 0;

Callers 5

PrepTempBufferStateFunction · 0.80
SaveTempBufferStateFunction · 0.80
MixResampleIdentityFunction · 0.80
MixResamplePolyphaseFunction · 0.80
MixInstanceFunction · 0.80

Calls 1

assertFunction · 0.50

Tested by

no test coverage detected