NNSSndArcGroupItem

Definition

#include <nnsys/snd.h>

#define NNS_SND_ARC_LOAD_SEQ  ( 1 << 0 )
#define NNS_SND_ARC_LOAD_BANK ( 1 << 1 )
#define NNS_SND_ARC_LOAD_WAVE ( 1 << 2 )
typedef struct NNSSndArcGroupItem
{
    u8 type;
    u8 loadFlag;
    u16 padding;
    u32 index;
} NNSSndArcGroupItem;

Elements

type Type of data to load.
loadFlag Flag that designates the data to be loaded.
padding Padding.
index Index number of the data to load.

Description

The group item structure inside the NNSSndArcGroupInfo group information structure. This structure stores information that indicates which data in the group to load.

One of the following enumerators from enum NNSSndArcSndType is entered into type, the data type to load.

enum NNSSndArcSndType {    
    NNS_SNDARC_SNDTYPE_SEQ,
    NNS_SNDARC_SNDTYPE_BANK,
    NNS_SNDARC_SNDTYPE_WAVEARC,
    NNS_SNDARC_SNDTYPE_SEQARC,
    
    NNS_SNDARC_SNDTYPE_INVALID = 0xff
};

A bitwise OR of the following macros is entered into the loadFlag flag, which designates which data to load.

Table: Load Flags

Macros Value Description
NNS_SND_ARC_LOAD_SEQ 1 << 0 Sequence data.
NNS_SND_ARC_LOAD_BANK 1 << 1 Bank data.
NNS_SND_ARC_LOAD_WAVE 1 << 2 Waveform archive.

See Also

NNSSndArcGroupInfo

Revision History

2004/06/01 Initial version.


CONFIDENTIAL