Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

detect_digi_driver(3alleg4) [opendarwin man page]

detect_digi_driver(3alleg4)					  Allegro manual				       detect_digi_driver(3alleg4)

detect_digi_driver - Detects whether the specified digital sound device is available. Allegro game programming library. SYNOPSIS
#include <allegro.h> int detect_digi_driver(int driver_id); DESCRIPTION
Detects whether the specified digital sound device is available. This function must be called _before_ install_sound(). RETURN VALUE
Returns the maximum number of voices that the driver can provide, or zero if the hardware is not present. SEE ALSO
install_sound(3alleg4), reserve_voices(3alleg4) Allegro version 4.4.2 detect_digi_driver(3alleg4)

Check Out this Related Man Page

reserve_voices(3alleg4) 					  Allegro manual					   reserve_voices(3alleg4)

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, subsequent calls to install_sound() will fail. How many voices are available depends on the driver, and in some cases you will actually get more than you reserve (eg. the FM synth drivers will always pro- vide 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 negative 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(3alleg4), install_sound(3alleg4), detect_digi_driver(3alleg4), detect_midi_driver(3alleg4), get_mixer_voices(3alleg4) Allegro version 4.4.2 reserve_voices(3alleg4)
Man Page

2 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Shopt -s histappend

What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file. # When the shell exits, append to the history file instead of overwriting it shopt -s histappend (3 Replies)
Discussion started by: cokedude
3 Replies

2. OS X (Apple)

Undeletable file

Greetings, I'm trying to delete a file with a weird name from within Terminal on a Mac. It's a very old file (1992) with null characters in the name: ␀␀Word Finder® Plus™. Here are some examples of what I've tried: 12FX009:5 dpontius$ ls ␀␀Word Finder® Plus™ 12FX009:5 dpontius$ rm... (29 Replies)
Discussion started by: dpontius
29 Replies