allocate_voice man page on DragonFly

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

allocate_voice(3)		Allegro manual		     allocate_voice(3)

NAME
       allocate_voice  -  Allocates  a	sound card voice for a sample. Allegro
       game programming library.

SYNOPSIS
       #include <allegro.h>

       int allocate_voice(const SAMPLE *spl);

DESCRIPTION
       Allocates a sound card voice and prepares it for playing the  specified
       sample,	setting up sensible default parameters (maximum volume, centre
       pan, no change of pitch, no looping). When you are  finished  with  the
       voice   you   must   free   it	by   calling   deallocate_voice()   or
       release_voice().	 Allegro can manage up to 256 simultaneous voices, but
       that limit may be lower due to hardware reasons.

RETURN VALUE
       Returns the voice number, or -1 if no voices are available.

SEE ALSO
       deallocate_voice(3),  reallocate_voice(3),  release_voice(3), load_sam‐
       ple(3)

Allegro				 version 4.4.2		     allocate_voice(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