get_volume(3alleg4)

okay so bestie, welcome to get_volume(3alleg4) β€” this is from the Allegro manual πŸ’–

πŸ’– NAME πŸ’–

get_volume retrieves the global sound output volume. It’s part of the Allegro game programming library. No cap.

🌸 SYNOPSIS 🌸

#include <allegro.h>

void get_volume(int *digi_volume, int *midi_volume);

πŸ¦‹ DESCRIPTION πŸ¦‹

This one retrieves the global sound output volume, both for digital samples and MIDI playback, as integers from 0 to 255. So like, the volume vibes come back in that range, periodt.

The parameters digi_volume and midi_volume must be valid pointers to int, or NULL if you’re not interested in a specific value. So if you don’t care about one of them, you can pass NULL β€” iconic.

πŸ‘‘ SEE ALSO πŸ‘‘


mwah πŸ’‹ this page is from Allegro, version 4.4.3, for get_volume(3alleg4). bye bestie, go slay some sound levels πŸŽ€βœ¨