GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PODS::SDL::MIXER::MIXCHUNK (3)

.ds Aq ’

NAME

SDL::Mixer::MixChunk -- SDL Bindings for structure SDL_MixChunk

CONTENTS

CATEGORY

Mixer, Structure

SYNOPSIS



 use SDL;
 use SDL::Mixer::MixChunk;

 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);



DESCRIPTION

Stores audio data in memory.

<B>Note:B> It’s a bad idea to free a chunk that is still being played...

METHODS

    alen

length of audio data in bytes

    volume

Per-sample volume, 0-128 (normally MIX_MAX_VOLUME after loading)

AUTHORS

See AUTHORS in SDL.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 PODS::SDL::MIXER::MIXCHUNK (3) 2016-04-05

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.