| 2091 | } |
| 2092 | |
| 2093 | static void SoundThread(void* ctx) |
| 2094 | { |
| 2095 | SoundSystem* sound = (SoundSystem*)ctx; |
| 2096 | while (dmAtomicGet32(&sound->m_IsRunning)) |
| 2097 | { |
| 2098 | Result result = RESULT_OK; |
| 2099 | if (!dmAtomicGet32(&sound->m_IsPaused)) |
| 2100 | result = UpdateInternal(sound); |
| 2101 | |
| 2102 | dmAtomicStore32(&sound->m_Status, (int)result); |
| 2103 | dmTime::Sleep(8000); |
| 2104 | } |
| 2105 | } |
| 2106 | |
| 2107 | Result Update() |
| 2108 | { |
nothing calls this directly
no test coverage detected