| 170 | } |
| 171 | |
| 172 | void CSounds::Enqueue(int Channel, int SetId) |
| 173 | { |
| 174 | if(GameClient()->m_SuppressEvents) |
| 175 | return; |
| 176 | if(m_QueuePos >= QUEUE_SIZE) |
| 177 | return; |
| 178 | if(Channel != CHN_MUSIC && g_Config.m_ClEditor) |
| 179 | return; |
| 180 | |
| 181 | m_aQueue[m_QueuePos].m_Channel = Channel; |
| 182 | m_aQueue[m_QueuePos++].m_SetId = SetId; |
| 183 | } |
| 184 | |
| 185 | void CSounds::PlayAndRecord(int Channel, int SetId, float Volume, vec2 Position) |
| 186 | { |
no outgoing calls
no test coverage detected