nw::snd::SoundStartable::StartInfo::SeqSoundInfo Structure

Header file: nw/snd/snd_SoundStartable.h

Syntax

struct SeqSoundInfo
{
   const void* seqDataAddress;
   const char* startLocationLabel;
   SoundArchive::ItemId bankIds[SoundArchive::SEQ_BANK_MAX];
};

Description

A structure of parameters related to sequence sounds.

This structure is passed when playing back a sequence sound.

Instead of specifying the sequence data that has been set within the sound archive, you can specify the address in memory of sequence data in seqDataAddress. This will allow you to playback the sequence data that is in memory, not in the sound archive. Specifying NULL will play back the sequence data that was originally set in the sound archive.

startLocationLabel specifies the playback start position within the sequence data. The string specified here will be used instead of the label string set within the sound archive. Specifying NULL will start playback from the position originally set in the sound archive.

Use bankIds to specify the bank ID to be associated with the sequence data. The string specified here will be used instead of the label string set within the sound archive. Specifying NULL will perform playback using the bank ID originally set in the sound archive.

Member Variables

seqDataAddress const void * Address of the sequence data.
startLocationLabel const char * A label string that indicates the playback start position within sequence data.
bankIds SoundArchive::ItemId The bank ID associated with the sequence data.

Member Functions

SeqSoundInfo Constructor.

See Also

SoundStartable::StartInfo

Revision History

2010/01/15
Initial version.

CONFIDENTIAL