mixer and pango update
[sdlgit/SDL-Site.git] / pages / SDL-Mixer.html-inc
index df066d5..68bd8f0 100644 (file)
 </div>
 <h1 id="CONSTANTS">CONSTANTS</h1><p><a href="#TOP" class="toplink">Top</a></p>
 <div id="CONSTANTS_CONTENT">
-<p>The constants are not exported by default. You can export them into your namespace by doing:</p>
-<pre> use SDL::Mixer ':all';
+<p>The constants are exported by default. You can avoid this by doing:</p>
+<pre> use SDL::Mixer ();
 
 </pre>
-<p>or access them directly:</p>
+<p>and access them directly:</p>
 <pre> SDL::Mixer::MIX_DEFAULT_FREQUENCY;
 
 </pre>
@@ -49,7 +49,7 @@
  MIX_INIT_OGG
 
 </pre>
-<p>Export tag: ':default'</p>
+<p>Export tag: ':defaults'</p>
 <pre> MIX_CHANNELS
  MIX_DEFAULT_FORMAT
  MIX_DEFAULT_FREQUENCY
  MUS_MP3_FLAC
 
 </pre>
+<p>Export tag: ':format'</p>
+<pre> AUDIO_U8
+ AUDIO_S8
+ AUDIO_U16LSB
+ AUDIO_S16LSB
+ AUDIO_U16MSB
+ AUDIO_S16MSB
+ AUDIO_U16
+ AUDIO_S16 
+ AUDIO_U16SYS
+ AUDIO_S16SYS
+
+</pre>
+<p>Export tag: ':status'</p>
+<pre> SDL_AUDIO_STOPPED
+ SDL_AUDIO_PLAYING
+ SDL_AUDIO_PAUSED
+
+</pre>
 
 </div>
 <h1 id="DESCRIPTION">DESCRIPTION</h1><p><a href="#TOP" class="toplink">Top</a></p>