exsample (3) - Linux Manuals

exsample: Playing digital samples. Allegro game programming library.

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.