Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

reserve_voices(3alleg4) [centos man page]

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

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, 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)

Check Out this Related Man Page

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

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, 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

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

View device drivers?

I might sound stupid for asking, but could someone please tell me how to view all the device drivers? I'm just starting to use UNIX after using Windows for years. Thanks. -sysop0130 (1 Reply)
Discussion started by: sysop0130
1 Replies

2. UNIX for Dummies Questions & Answers

tql database?

does someone know how to use tql? we have one installed in our digital unix but i don't know how to use it. if possible, can someone provide me a site were i can use as reference. thanks, :) (4 Replies)
Discussion started by: inquirer
4 Replies

3. UNIX for Dummies Questions & Answers

How to configure my Sound Card????

I use sndconfig to configure it ..in addation the sample sound worked but the MIDI not work and game me an error from /var/log/messages I get that : Feb 18 09:04:35 localhost kernel: cs4232: set synthio and synthirq to use the wavefront facilities. Feb 18 09:04:50 localhost kernel: YM3812 and... (7 Replies)
Discussion started by: atiato
7 Replies

4. HP-UX

digital unix vdump restore in hp ux11i

Could you pls give a solution how to resotore the backup taken from digital unix using vdump to hp ux11i. (1 Reply)
Discussion started by: jestinabel
1 Replies

5. Shell Programming and Scripting

how to format a list of files from ls?

Hi, I have am looking for advice on how to format a directory listing... Basically, I have a list of speech voices at /System/Library/speech/voices This directory looks like: Agnes.SpeechVoice Albert.SpeechVoice Alex.SpeechVoice .. etc I would like to print these out by splitting by... (6 Replies)
Discussion started by: patrick99e99
6 Replies

6. UNIX for Dummies Questions & Answers

Microkernel drivers

If microkernels do not load drivers into the kernel, does mean that the drivers are daemons that run in user space, or are there some other provision for drivers? I know it may sound a bit elementary but I'm not certain and I want to clear it up. Thanks in advance. (3 Replies)
Discussion started by: neur0n
3 Replies

Featured Tech Videos