Source

pygame / doc / src / sdlmixerbase.xml

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE module SYSTEM "api.dtd">

<module name="pygame2.sdlmixer.base">
  <alias>pygame2.sdlmixer</alias>
  <short>basic SDL_mixer wrapper module</short>
  <desc>
    .. note::
      
      Do not use :mod:`pygame2.sdlmixer` and :mod:`pygame2.sdl.audio` at the
      same time. As they both deal with audio hardware access, this can lead
      to problems and weird behaviour.
  </desc>

  <class name="Channel">
    <constructor>TODO</constructor>
    <desc></desc>
    <attr name="chunk">
      <desc></desc>
    </attr>
    <method name="expire">
      <call></call>
      <desc></desc>
    </method>
    <method name="fade_in">
      <call></call>
      <desc></desc>
    </method>
    <method name="fade_out">
      <call></call>
      <desc></desc>
    </method>
    <attr name="fading">
      <desc></desc>
    </attr>
    <method name="halt">
      <call></call>
      <desc></desc>
    </method>
    <method name="pause">
      <call></call>
      <desc></desc>
    </method>
    <attr name="paused">
      <desc></desc>
    </attr>
    <method name="play">
      <call></call>
      <desc></desc>
    </method>
    <attr name="playing">
      <desc></desc>
    </attr>
    <method name="resume">
      <call></call>
      <desc></desc>
    </method>
    <attr name="volume">
      <desc></desc>
    </attr>
  </class>

  <class name="Chunk">
    <constructor>TODO</constructor>
    <desc>

      .. note::

        The file object *must* support binary read and write
        access. This is especially important for Python 3.x users.
    </desc>
    <attr name="buf">
      <desc></desc>
    </attr>
    <attr name="len">
      <desc></desc>
    </attr>
    <attr name="volume">
      <desc></desc>
    </attr>
  </class>

  <class name="Music">
    <constructor>TODO</constructor>
    <desc>

      .. note::

        The file object *must* support binary read and write
        access. This is especially important for Python 3.x users.
    </desc>
    <method name="fade_in">
      <call></call>
      <desc></desc>
    </method>
    <method name="play">
      <call></call>
      <desc></desc>
    </method>
    <attr name="type">
      <desc></desc>
    </attr>
  </class>

  <func name="close_audio">
    <call></call>
    <desc></desc>
  </func>
  <func name="get_compiled_version">
    <call></call>
    <desc></desc>
  </func>
  <func name="get_error">
    <call></call>
    <desc></desc>
  </func>
  <func name="get_version">
    <call></call>
    <desc></desc>
  </func>
  <func name="init">
    <call></call>
    <desc></desc>
  </func>
  <func name="open_audio">
    <call></call>
    <desc></desc>
  </func>
  <func name="query_spec">
    <call></call>
    <desc></desc>
  </func>
  <func name="quit">
    <call></call>
    <desc></desc>
  </func>
  <func name="was_init">
    <call></call>
    <desc></desc>
  </func>
</module>