Show bsnd.c syntax highlighted
/* ______ ___ ___
* /\ _ \ /\_ \ /\_ \
* \ \ \L\ \\//\ \ \//\ \ __ __ _ __ ___
* \ \ __ \ \ \ \ \ \ \ /'__`\ /'_ `\/\`'__\/ __`\
* \ \ \/\ \ \_\ \_ \_\ \_/\ __//\ \L\ \ \ \//\ \L\ \
* \ \_\ \_\/\____\/\____\ \____\ \____ \ \_\\ \____/
* \/_/\/_/\/____/\/____/\/____/\/___L\ \/_/ \/___/
* /\____/
* \_/__/
*
* Stuff for BeOS.
*
* By Jason Wilkins.
*
* See readme.txt for copyright information.
*/
#include "allegro.h"
#include "allegro/internal/aintern.h"
#include "allegro/platform/aintbeos.h"
#ifndef ALLEGRO_BEOS
#error something is wrong with the makefile
#endif
DIGI_DRIVER digi_beos =
{
DIGI_BEOS,
al_empty_string,
al_empty_string,
"BeOS Sound",
0,
0,
MIXER_MAX_SFX,
MIXER_DEF_SFX,
be_sound_detect,
be_sound_init,
be_sound_exit,
be_sound_mixer_volume,
be_sound_lock_voice,
be_sound_unlock_voice,
be_sound_buffer_size,
_mixer_init_voice,
_mixer_release_voice,
_mixer_start_voice,
_mixer_stop_voice,
_mixer_loop_voice,
_mixer_get_position,
_mixer_set_position,
_mixer_get_volume,
_mixer_set_volume,
_mixer_ramp_volume,
_mixer_stop_volume_ramp,
_mixer_get_frequency,
_mixer_set_frequency,
_mixer_sweep_frequency,
_mixer_stop_frequency_sweep,
_mixer_get_pan,
_mixer_set_pan,
_mixer_sweep_pan,
_mixer_stop_pan_sweep,
_mixer_set_echo,
_mixer_set_tremolo,
_mixer_set_vibrato,
0, 0,
0,
0,
0,
0,
0,
0
};
See more files for this project here