The Complete SPRLIB & ANNLIB

sound_sample

- play a sound sample to the audio device

SYNOPSIS

void sound_sample (id)

ARGUMENTS

int id The id of the sound sample to be played, currently a number between 0 and 6.

RETURNS

Nothing.

FUNCTION

Calls init_audio, send_audio and free_audio to play an audio sample.

NOTE

The sound generation functions only work on Sun workstations running SunOS and containing an AMD-AM79C30A sound controller chip. If SPRANNLIB is compiled without the SUN4 compile flag defined, this routine will only give a warning about it being available only on SUN systems.

SEE ALSO

sound_sample, init_audio, free_audio, send_audio

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