public bool IsPaused(int channel = -1) { if (channel == MusicChannel) { return(SDL_mixer.Mix_PausedMusic() == 1); } else { return(SDL_mixer.Mix_Paused(channel) == 1); } }
private bool IsPlaying() => Channel >= 0 && SDL_mixer.Mix_Playing(Channel) == 1 && SDL_mixer.Mix_Paused(Channel) == 0;