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

Method Pop

engine/sound/src/devices/device_opensl.cpp:99–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97 }
98
99 Buffer Pop()
100 {
101 assert(m_Size > 0);
102 int i = m_Start;
103 m_Start = (m_Start + 1) % m_Queue.Size();
104 m_Size--;
105 return m_Queue[i];
106 }
107
108 uint32_t Size()
109 {

Callers 12

StackPopFunction · 0.45
NewSoundDataInternalFunction · 0.45
NewSoundInstanceFunction · 0.45
DeleteSoundInstanceFunction · 0.45
PlayFunction · 0.45
SwapAndPopActiveInstanceFunction · 0.45
NewSoundDataInternalFunction · 0.45
NewSoundInstanceFunction · 0.45
NewDecoderFunction · 0.45
BufferQueueCallbackFunction · 0.45
DeviceOpenSLCloseFunction · 0.45
DeviceOpenSLQueueFunction · 0.45

Calls 2

assertFunction · 0.50
SizeMethod · 0.45

Tested by

no test coverage detected