:mod:`pygame2.sdlmixer.music` -- SDL_mixer music playback
=========================================================

This module takes care of general music management and operations,
which can apply to the currently set :class:`Music` object.


.. module:: pygame2.sdlmixer.music
   :synopsis: SDL_mixer music playback

Module Functions
----------------
.. function:: fade_out (ms) -> None

  Fades out the current music playback.

  This gradually reduces the volume for the current music to 0 over *ms*
  milliseconds. The music will be halted after the fadeout is complete.



.. function:: fading () -> int

  Gets the fading status of the music.


.. function:: get_volume () -> int

  Gets the volume of the music.


.. function:: halt () -> None

  Halts the music playback and resets its state.


.. function:: pause () -> None

  Pauses the music playback.


.. function:: paused () -> bool

  Gets, whether the music playback is currently paused.


.. function:: playing () -> bool

  Gets, whether the music is currently playing.


.. function:: resume () -> None

  Resumes the previously paused music playback


.. function:: rewind () -> None

  Rewinds the music to the start.


.. function:: set_position (pos) -> None

  Sets the current playback position.


.. function:: set_volume (volume) -> int

  Sets the volume for the music.

  Sets the volume for the music and returns the previous set volume.




