al_reserve_samples - Online Linux Manual PageSection : 3
Updated :
Source : Allegro reference manual
Note :

NAMEal_reserve_samples − Allegro 5 API

SYNOPSIS #include <allegro5/allegro_audio.h> bool al_reserve_samples(int reserve_samples)

DESCRIPTIONReserves a number of sample instances, attaching them to the default mixer. If no default mixer is set when this function is called, then it will create one and attach it to the default voice. If no default voice has been set, it, too, will be created. If you call this function a second time with a smaller number of samples, then the excess internal sample instances will be destroyed causing some sounds to stop and some instances returned by al_lock_sample_id(3) to be invalidated. This diagram illustrates the structures that are set up:                                       sample instance 1                                     / sample instance 2 default voice <−− default mixer <−−−         .                                             .                                       sample instance N Returns true on success, false on error. al_install_audio(3) must have been called first.

SEE ALSOal_set_default_mixer(3), al_play_sample(3)
0
Johanes Gumabo
Data Size   :   5,003 byte
man-al_reserve_samples.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 203,437
Visitor ID   :     :  
Visitor IP   :   18.117.91.170   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.