al_create_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]

al_create_voice(3)					    al_create_voice(3)

NAME
       al_create_voice - Allegro 5 API

SYNOPSIS
	      #include <allegro5/allegro_audio.h>

	      ALLEGRO_VOICE *al_create_voice(unsigned int freq,
		 ALLEGRO_AUDIO_DEPTH depth, ALLEGRO_CHANNEL_CONF chan_conf)

DESCRIPTION
       Creates	a voice structure and allocates a voice from the digital sound
       driver.	The passed frequency, sample format and channel	 configuration
       are  used  as  a	 hint  to what kind of data will be sent to the voice.
       However, the underlying sound driver is free to use  non-matching  val‐
       ues.   For  example  it may be the native format of the sound hardware.
       If a mixer is attached to the voice, the mixer will  convert  from  the
       mixer's	format	to the voice format and care does not have to be taken
       for this.

       However if you access the voice directly, make sure to not rely on  the
       parameters  passed  to  this  function,	but instead query the returned
       voice for the actual settings.

SEE ALSO
       al_destroy_voice(3)

Allegro reference manual				    al_create_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