# SND_AssignWaveArc

## C Specification

      #include <nitro/snd.h>

      void SND_AssignWaveArc(
              SNDBankData* bank,
              int index,
              SNDWaveArc* waveArc );

## Arguments

bank | This is the bank data pointer. Must have 32-byte alignment.
index | This indicates which index number to register Waveform Archive as. Takes values in the range of 0 to 3.
waveArc | This is the Waveform Archive pointer. Must have 32-byte alignment.

## Return Values

None.

## Description

Assigns `waveArc` to the bank as the Waveform Archive with the index number specified by `index`.

If another Waveform Archive is already assigned to the `index`number of `bank`, then that assignment is first released and then it is assigned to the specified Waveform Archive.

Both `bank` and `waveArc` must have 32-byte alignment.

## See Also

None.

## Revision History

07/20/2004 Initial version

CONFIDENTIAL