logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

exsample - Playing digital samples. Allegro game programming library.

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.

Name

       exsample - Playing digital samples. Allegro game programming library.

See Also

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

Allegro                                           version 4.4.3                                exsample(3alleg4)

Synopsis

#include<allegro.h>Exampleexsample

See Also