MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / DeleteFromQueue

Method DeleteFromQueue

source/sound.cpp:134–146  ·  view source on GitHub ↗

--------------------------------------------------------------------

Source from the content-addressed store, hash-verified

132}
133//--------------------------------------------------------------------
134void TSound::DeleteFromQueue(void)
135{
136 if( QueueSize <= 0 )
137 return;
138
139 EnterCriticalSection( &busy );
140 for(int i=1; i<QueueSize; i++)
141 {
142 Queue[i-1] = Queue[i];
143 }
144 QueueSize--;
145 LeaveCriticalSection( &busy );
146}
147//---------------------------------------------------------------------------
148bool TSound::IsSilence(void)
149{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected