| 1250 | } |
| 1251 | |
| 1252 | Result Pause(HSoundInstance sound_instance, bool pause) |
| 1253 | { |
| 1254 | if (!g_SoundSystem) |
| 1255 | return RESULT_OK; |
| 1256 | DM_MUTEX_OPTIONAL_SCOPED_LOCK(g_SoundSystem->m_Mutex); |
| 1257 | sound_instance->m_Playing = (uint8_t)!pause; |
| 1258 | return RESULT_OK; |
| 1259 | } |
| 1260 | |
| 1261 | uint32_t GetAndIncreasePlayCounter() |
| 1262 | { |
no test coverage detected