--------------------------------------------------------------------
| 132 | } |
| 133 | //-------------------------------------------------------------------- |
| 134 | void 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 | //--------------------------------------------------------------------------- |
| 148 | bool TSound::IsSilence(void) |
| 149 | { |
nothing calls this directly
no outgoing calls
no test coverage detected