X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pages%2FSDL-Mixer-MixChunk.html-inc;h=4e349154ded14a3affc1fafd0251b17b14a6007d;hb=d5943b684b1240307fbf0a103abbf18dd93998f4;hp=5dd20c7efe0409dcc73d236af040331300b14f3b;hpb=cad16e3a5a093b5db3a8524ba142321e5b8f42bf;p=sdlgit%2FSDL-Site.git diff --git a/pages/SDL-Mixer-MixChunk.html-inc b/pages/SDL-Mixer-MixChunk.html-inc index 5dd20c7..4e34915 100644 --- a/pages/SDL-Mixer-MixChunk.html-inc +++ b/pages/SDL-Mixer-MixChunk.html-inc @@ -8,10 +8,11 @@
Core, Mixer, Structure
+Mixer, Structure
use SDL; use SDL::Mixer::MixChunk; - my $mix_chunk = SDL::MixLoadWAV('sample.wav'); + my $mix_chunk = SDL::Mixer::Music::load_WAV('sample.wav'); printf("length of audio data is %d bytes\n", $mix_chunk->alen); printf("volume is %d\n", $mix_chunk->volume); @@ -58,4 +59,9 @@Per-sample volume, 0-128 (normally
+MIX_MAX_VOLUME
after loading)AUTHORS
++\ No newline at end of fileSee AUTHORS in SDL.
+ +