Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

install_sound(3alleg4) [centos man page]

install_sound(3alleg4)						  Allegro manual					    install_sound(3alleg4)

NAME
install_sound - Initialises the sound module. Allegro game programming library. SYNOPSIS
#include <allegro.h> int install_sound(int digi, int midi, const char *cfg_path); DESCRIPTION
Initialises the sound module. You should normally pass DIGI_AUTODETECT and MIDI_AUTODETECT as the driver parameters to this function, in which case Allegro will read hardware settings from the current configuration file. This allows the user to select different values with the setup utility: see the config section for details. Alternatively, see the platform specific documentation for a list of the available drivers. The cfg_path parameter is only present for compatibility with previous versions of Allegro, and has no effect on anything. RETURN VALUE
Returns zero if the sound is successfully installed, and -1 on failure. If it fails it will store a description of the problem in alle- gro_error. SEE ALSO
remove_sound(3alleg4), reserve_voices(3alleg4), detect_digi_driver(3alleg4), detect_midi_driver(3alleg4), set_volume(3alleg4), play_sam- ple(3alleg4), play_midi(3alleg4), play_audio_stream(3alleg4), install_sound_input(3alleg4), allegro_error(3alleg4), set_mixer_qual- ity(3alleg4), exmidi(3alleg4), exsample(3alleg4), exsprite(3alleg4), exstream(3alleg4) Allegro version 4.4.2 install_sound(3alleg4)

Check Out this Related Man Page

exmouse(3alleg4)                                                  Allegro manual                                                  exmouse(3alleg4)

NAME
exmouse - Getting input from the mouse. Allegro game programming library. SYNOPSIS
#include <allegro.h> Example exmouse DESCRIPTION
This program demonstrates how to get mouse input. The first part of the test retrieves the raw mouse input data and displays it on the screen without using any mouse cursor. When you press a key the standard arrow-like mouse cursor appears. You are not restricted to this shape, and a second key press modifies the cursor to be several concentric colored circles. They are not joined together, so you can still see bits of what's behind when you move the cursor over the printed text message. SEE ALSO
BITMAP(3alleg4), END_OF_MAIN(3alleg4), SCREEN_H(3alleg4), SCREEN_W(3alleg4), acquire_screen(3alleg4), allegro_error(3alleg4), alle- gro_init(3alleg4), allegro_message(3alleg4), bitmap_mask_color(3alleg4), circle(3alleg4), clear_keybuf(3alleg4), clear_to_color(3alleg4), create_bitmap(3alleg4), desktop_palette(3alleg4), destroy_bitmap(3alleg4), font(3alleg4), get_mouse_mickeys(3alleg4), install_key- board(3alleg4), install_mouse(3alleg4), install_timer(3alleg4), key(3alleg4), keypressed(3alleg4), makecol(3alleg4), mouse_b(3alleg4), mouse_w(3alleg4), mouse_x(3alleg4), mouse_y(3alleg4), mouse_z(3alleg4), palette_color(3alleg4), poll_mouse(3alleg4), readkey(3alleg4), release_screen(3alleg4), screen(3alleg4), set_gfx_mode(3alleg4), set_mouse_sprite(3alleg4), set_mouse_sprite_focus(3alleg4), set_pal- ette(3alleg4), show_mouse(3alleg4), textout_centre_ex(3alleg4), textout_ex(3alleg4), textprintf_centre_ex(3alleg4), textprintf_ex(3alleg4), textprintf_right_ex(3alleg4), vsync(3alleg4) Allegro version 4.4.2 exmouse(3alleg4)
Man Page