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

voice_set_priority - Sets the priority of a voice. Allegro game programming library.

#include <allegro.h>

void voice_set_priority(int voice, int priority);

Sets the priority of a voice (range 0-255). This is used to decide which voices should be chopped off, if you attempt to play more than the sound card driver can handle.

version 4.4.2 Allegro