Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
adjust_sample(3)		 Allegro manual 		adjust_sample(3)

NAME
     adjust_sample  - Alters the parameters of a sample while it is playing. Al-
     legro game programming library.

SYNOPSIS
     #include <allegro.h>

     void adjust_sample(const SAMPLE *spl, int	vol,  int  pan,  int  freq,  int
     loop);

DESCRIPTION
     Alters  the  parameters of a sample while it is playing (useful for manipu-
     lating looped sounds). You can alter the volume, pan,  and  frequency,  and
     can  also	clear  the  loop  flag,  which will stop the sample when it next
     reaches the end of its loop. The values of the  parameters  are  just  like
     those  of	play_sample().	If  there  are several copies of the same sample
     playing, this will adjust the first one it comes across. If the  sample  is
     not playing it has no effect.

SEE ALSO
     play_sample(3), exsample(3)

Allegro 			  version 4.4.3 		adjust_sample(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=adjust_sample&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help