    # File lib/rubygame/music.rb, line 428
      def rewind
        if current? and not stopped?
          was_paused = paused?

          SDL::Mixer.HaltMusic()
          result = SDL::Mixer.PlayMusic(@struct, @repeats)

          if( result == -1 )
            raise Rubygame::SDLError, "Could not rewind music: #{SDL.GetError()}"
          end

          SDL::Mixer.PauseMusic() if was_paused
        end

        return self
      end