Source

pygame / doc / src / sdlmixer_constants.rst

:mod:`pygame2.sdlmixer.constants` -- Constants for SDL_mixer

This module contains the constants used throughout the :mod:`pygame2.sdlmixer` modules.

Initialisation Constants

Those constants are used by the :func:`pygame2.sdlmixer.init` function.

Format Constants

Those constants are used by the :func:`pygame2.sdlmixer.open_audio` and :func:`pygame2.sdlmixer.query_spec` functions.

Fading Status Constants

Those constants indicate the fading status for :class:`pygame2.sdlmixer.Channel` and :class:`pygame2.sdlmixer.Music` objects.

Music Type Constants

Those constants are used by the :attr:`pygame2.sdlmixer.Music.type` attribute.

Miscellaneous Constants