void ChannelInternalState::PauseAll() {
  Mix_Pause(kAllChannels);
#ifdef PINDROP_MULTISTREAM
  Mix_PauseMusicCh(kAllChannels);
#else
  Mix_PauseMusic();
#endif  // PINDROP_MULTISTREAM
}
Exemplo n.º 2
0
void ChannelInternalState::RealChannelPause() {
  assert(is_real());
  if (IsStream()) {
#ifdef PINDROP_MULTISTREAM
    Mix_PauseMusicCh(channel_id_);
#else
    Mix_PauseMusic();
#endif  // PINDROP_MULTISTREAM
  } else {
    Mix_Pause(channel_id_);
  }
}