Pause all sounds/resume all sounds
| 555 | |
| 556 | // Pause all sounds/resume all sounds |
| 557 | void lnxsound::PauseSounds() { |
| 558 | for (auto ¤t_slot : sound_cache) { |
| 559 | sound_buffer_info *sb = ¤t_slot; |
| 560 | if (sb->m_status != SSF_UNUSED && !(sb->m_status & SSF_PAUSED)) { |
| 561 | sb->m_status |= SSF_PAUSED; |
| 562 | } |
| 563 | } |
| 564 | } |
| 565 | |
| 566 | void lnxsound::ResumeSounds() { |
| 567 | for (auto ¤t_slot : sound_cache) { |
no outgoing calls
no test coverage detected