reserve_voices man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

reserve_voices(3)		Allegro manual		     reserve_voices(3)

NAME
       reserve_voices  -  Reserve  a number of voices for the digital and MIDI
       drivers. Allegro game programming library.

SYNOPSIS
       #include <allegro.h>

       void reserve_voices(int digi_voices, int midi_voices);

DESCRIPTION
       Call this function to specify the number of voices that are to be  used
       by  the	digital and MIDI sound drivers respectively. This must be done
       _before_ calling install_sound(). If you reserve too many voices,  sub‐
       sequent	calls to install_sound() will fail. How many voices are avail‐
       able depends on the driver, and in some cases  you  will	 actually  get
       more  than  you reserve (eg. the FM synth drivers will always provide 9
       voices on an OPL2 and 18 on an OPL3, and the  SB	 digital  driver  will
       round  the number of voices up to the nearest power of two). Pass nega‐
       tive values to restore the default settings. You should be  aware  that
       the  sound  quality is usually inversely related to how many voices you
       use, so don't reserve any more than you really need.

SEE ALSO
       set_volume_per_voice(3),	   install_sound(3),	detect_digi_driver(3),
       detect_midi_driver(3), get_mixer_voices(3)

Allegro				 version 4.4.2		     reserve_voices(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net