alInit (function)

alInit, n_allnit

Initializes the N64 Audio Library

Syntax

#include <libaudio.h>     /* libaudio.h */
void alInit(ALGlobals *globals, ALSynConfig *c);
#include <n_libaudio.h>     /* n_libaudio.h */
void n_alInit(N_ALGlobals *globals, ALSynConfig *c);

Arguments

globals
Pointer to the ALGlobals structure

c
Pointer to the Synthesis Driver configuration structure

Description

To use the Audio Library, you must first call the allnit function, which initializes a Synthesis driver with the configuration specified by c and initializes the Audio Library global variables.

For details on n_audio library, see "Chapter 28: n_audio library" in the N64 Programming Manual.

Configuration Structure

The configuration structure includes these members:

See Also

alClose, alHeapInit

Revision History

1999/04/30 Changed Format