Man Linux: Main Page and Category List

NAME

       exsample - Playing digital samples. Allegro game programming library.

SYNOPSIS

       #include <allegro.h>

       Example exsample

DESCRIPTION

       This  program  demonstrates  how  to play samples. You have to use this
       example from the command line to specify as first parameter  a  WAV  or
       VOC  sound  file to play. If the file is loaded successfully, the sound
       will be played in an infinite loop. While it is being played,  you  can
       use  the  left and right arrow keys to modify the panning of the sound.
       You can also use the up and down arrow keys to modify the pitch.

SEE ALSO

       END_OF_MAIN(3alleg),         SAMPLE(3alleg),          SCREEN_H(3alleg),
       SCREEN_W(3alleg),     adjust_sample(3alleg),     allegro_error(3alleg),
       allegro_init(3alleg), allegro_message(3alleg),  clear_to_color(3alleg),
       desktop_palette(3alleg),      destroy_sample(3alleg),     font(3alleg),
       install_keyboard(3alleg), install_sound(3alleg), install_timer(3alleg),
       key(3alleg), load_sample(3alleg), makecol(3alleg), play_sample(3alleg),
       poll_keyboard(3alleg),          rest(3alleg),           screen(3alleg),
       set_gfx_mode(3alleg), set_palette(3alleg), textprintf_centre_ex(3alleg)