We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently the constants are defined here: https://github.com/liballeg/allegro5/blob/f818aee0ba95ecbf2c3caba8d6e56e594d66470b/addons/audio/allegro5/allegro_audio.h
Having an *_UNDEFINED for this enumeration (as well as several others), will allow objects to have default properties that are "not set" or "empty".
*_UNDEFINED
The text was updated successfully, but these errors were encountered:
Also consider renaming ALLEGRO_AUDIO_VOICE, ALLEGRO_AUDIO_MIXER, constants from audio to ALLEGRO_AUDIO_VOICE, and ALLEGRO_AUDIO_MIXER.
ALLEGRO_AUDIO_VOICE
ALLEGRO_AUDIO_MIXER
Sorry, something went wrong.
use al_get_channel_count to replace logic code in this example: https://github.com/liballeg/allegro5/blob/d25c4cff7621db614e5236a1646f5d76309ca73f/examples/ex_synth.cpp#L156-L166
al_get_channel_count
switch (al_get_mixer_channels(mixer)) { case ALLEGRO_CHANNEL_CONF_1: nch = 1; break; case ALLEGRO_CHANNEL_CONF_2: nch = 2; break; default: /* Not supported. */ return; }
No branches or pull requests
Currently the constants are defined here:
https://github.com/liballeg/allegro5/blob/f818aee0ba95ecbf2c3caba8d6e56e594d66470b/addons/audio/allegro5/allegro_audio.h
Having an
*_UNDEFINED
for this enumeration (as well as several others), will allow objects to have default properties that are "not set" or "empty".The text was updated successfully, but these errors were encountered: