void ChannelInternalState::ResumeAll() {
  Mix_Resume(kAllChannels);
#ifdef PINDROP_MULTISTREAM
  Mix_ResumeMusicCh(kAllChannels);
#else
  Mix_ResumeMusic();
#endif  // PINDROP_MULTISTREAM
}
Exemplo n.º 2
0
void ChannelInternalState::RealChannelResume() {
  assert(is_real());
  if (IsStream()) {
#ifdef PINDROP_MULTISTREAM
    Mix_ResumeMusicCh(channel_id_);
#else
    Mix_ResumeMusic();
#endif  // PINDROP_MULTISTREAM
  } else {
    Mix_Resume(channel_id_);
  }
}