al_set_default_mixer(3alleg5)

al_set_default_mixer3alleg5

Allegro 5 api

Usage

#include <allegro5/allegro_audio.h>
bool al_set_default_mixer(ALLEGRO_MIXER *mixer)

Overview

Sets the default mixer. All samples started with al_play_sample(3alleg5) will be stopped and all sample instances returned by al_lock_sample_id(3alleg5) will be invalidated. If you are using your own mixer, this should be called before al_reserve_samples(3alleg5).

Returns true on success, false on error.

Releases

6 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

From allegro5-doc 2:5.2.10.1+dfsg-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.