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

FreeBSD Manual Pages

  
 
  

home | help
ALLEGRO_PLAYMODE(3)	    Library Functions Manual	     ALLEGRO_PLAYMODE(3)

NAME
     ALLEGRO_PLAYMODE - Allegro 5 API

SYNOPSIS
	    #include <allegro5/allegro_audio.h>

	    enum ALLEGRO_PLAYMODE

DESCRIPTION
     Sample and stream playback mode.

     * ALLEGRO_PLAYMODE_ONCE  - the sample/stream is played from start to finish
       an then it stops.

     * ALLEGRO_PLAYMODE_LOOP - the sample/stream is played from start to  finish
       (or  between  the two loop points).  When it reaches the end, it restarts
       from the beginning.

     * ALLEGRO_PLAYMODE_LOOP_ONCE - just  like	ALLEGRO_PLAYMODE_ONCE,	but  re-
       spects the loop end point.

     * ALLEGRO_PLAYMODE_BIDIR  -  the  sample is played from start to finish (or
       between the two loop points).  When it reaches the end, it  reverses  the
       playback  direction  and plays until it reaches the beginning when it re-
       verses the direction back to normal.  This is mode  is  rarely  supported
       for streams.

Allegro reference manual				     ALLEGRO_PLAYMODE(3)

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

home | help