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

FreeBSD Manual Pages

  
 
  

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

NAME
       ALLEGRO_MIXER - Allegro 5 API

SYNOPSIS
	      #include <allegro5/allegro_audio.h>

	      typedef struct ALLEGRO_MIXER ALLEGRO_MIXER;

DESCRIPTION
       A  mixer	 mixes together	attached streams into a	single buffer.	In the
       process,	it converts channel configurations, sample frequencies and au-
       dio depths of the attached sample instances and audio  streams  accord-
       ingly.	You  can  control  the	quality	of this	conversion using ALLE-
       GRO_MIXER_QUALITY.

       When going from mono to stereo (and above), the mixer reduces the  vol-
       ume of both channels by sqrt(2).	 When going from stereo	(and above) to
       mono,  the  mixer  reduces the volume of	the left and right channels by
       sqrt(2) before adding them to the center	channel	(if present).

Allegro	reference manual				      ALLEGRO_MIXER(3)

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

home | help