Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

set_volume - Alters the global sound output volume. Allegro game programming library.

Description

       Alters  the  global  sound  output volume. Specify volumes for both digital samples and MIDI playback, as
       integers from 0 to 255, or pass a negative value to leave one of the settings  unchanged.  Values  bigger
       than  255  will  be  reduced  to  255. This routine will not alter the volume of the hardware mixer if it
       exists (i.e. only your application will be affected).

Name

       set_volume - Alters the global sound output volume. Allegro game programming library.

See Also

install_sound(3alleg4), set_hardware_volume(3alleg4)

Allegro                                           version 4.4.3                              set_volume(3alleg4)

Synopsis

#include<allegro.h>voidset_volume(intdigi_volume,intmidi_volume);

See Also