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 The type of data to load.
loadFlag The flag that designates which data to load.
padding The padding.
index The index number of the data to load.

Description

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

One of the following in enum NNSSndArcSndType is entered into the data type 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
};

The following macro logical ORs are entered into the flag loadFlag that designates which data to load.

Table: Load Flags

Macros Constant Description
NNS_SND_ARC_LOAD_SEQ 1 << 0 The sequence data
NNS_SND_ARC_LOAD_BANK 1 << 1 The bank data
NNS_SND_ARC_LOAD_WAVE 1 << 2 The waveform archive

See Also

NNSSndArcGroupInfo

Revision History

2004/06/01 Initial version.


CONFIDENTIAL