#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
#include "ppport.h"
#ifndef aTHX_
#define aTHX_
#endif
#include <SDL.h>
#ifdef HAVE_SDL_MIXER
#include <SDL_mixer.h>
#endif
#ifdef HAVE_SMPEG
#include <smpeg/smpeg.h>
#ifdef HAVE_SDL_MIXER
static int sdl_perl_use_smpeg_audio = 0;
#endif
#endif
MODULE = SDL::Mixer::Groups PACKAGE = SDL::Mixer::Groups PREFIX = mixgrp_
=for documentation
SDL_mixer bindings
See: http:/*www.libsdl.org/projects/SDL_mixer/docs/SDL_mixer.html */
=cut
#ifdef HAVE_SDL_MIXER
int
mixgrp_reserve_channels ( number )
int number
CODE:
RETVAL = Mix_ReserveChannels ( number );
OUTPUT:
RETVAL
int
mixgrp_group_channel ( which, tag )
int which
int tag
CODE:
RETVAL = Mix_GroupChannel(which,tag);
OUTPUT:
RETVAL
int
mixgrp_group_channels ( from, to, tag )
int from
int to
int tag
CODE:
RETVAL = Mix_GroupChannels(from,to,tag);
OUTPUT:
RETVAL
int
mixgrp_group_available ( tag )
int tag
CODE:
RETVAL = Mix_GroupAvailable(tag);
OUTPUT:
RETVAL
int
mixgrp_group_count ( tag )
int tag
CODE:
RETVAL = Mix_GroupCount(tag);
OUTPUT:
RETVAL
int
mixgrp_group_oldest ( tag )
int tag
CODE:
RETVAL = Mix_GroupOldest(tag);
OUTPUT:
RETVAL
int
mixgrp_group_newer ( tag )
int tag
CODE:
RETVAL = Mix_GroupNewer(tag);
OUTPUT:
RETVAL
int
mixgrp_fade_out_group ( which, ms )
int which
int ms
CODE:
RETVAL = Mix_FadeOutGroup(which,ms);
OUTPUT:
RETVAL
int
mixgrp_halt_group ( tag )
int tag
CODE:
RETVAL = Mix_HaltGroup(tag);
OUTPUT:
RETVAL
#endif