DOKK / manpages / debian 10 / allegro4-doc / voice_sweep_pan.3alleg4.en
voice_sweep_pan(3alleg4) Allegro manual voice_sweep_pan(3alleg4)

voice_sweep_pan - Starts a pan sweep for a voice. Allegro game programming library.

#include <allegro.h>

void voice_sweep_pan(int voice, int time, int endpan);

Starts a pan sweep (left <-> right movement) from the current position to the specified ending position, lasting for time milliseconds.

voice_set_pan(3alleg4)

version 4.4.2 Allegro