The Complete SPRLIB & ANNLIB

SOUND-variables

- some variables used in the sound sample routines

SYNOPSIS

int fdaudio An ioctl file descriptor.
unsigned char snd0[12463] A 'bong' sound.
unsigned char snd1[8408] A 'click' sound.
unsigned char snd2[12483] A 'cowbell' sound.
unsigned char snd3[17561] A 'doorbell' sound.
unsigned char snd4[12591] A 'whistle' sound.
unsigned char snd5[8930] A 'splat' sound.
unsigned char snd6[14722] A 'rooster' sound.
unsigned char *sound[] An array of the sounds snd0 ... snd6.
int size[] An array of the sizes of snd0 ... snd6.
int nsounds The number of sounds.

DESCRIPTION

These variables are used in the sound generation functions. The snd. arrays contain audio samples in U-LAW format (like Sun .au-files).

NOTE

The sound generation functions only work on Sun workstations running SunOS and containing an AMD-AM79C30A sound controller chip.

SEE ALSO

sound_sample

This document was generated using api2html on Thu Mar 5 09:00:00 MET DST 1998