SNDPlayerInfo

Definition

#include <nitro/snd.h>
typedef struct SNDPlayerInfo
{
    BOOL activeFlag : 1;
    BOOL pauseFlag : 1;
    
    u16 trackBitMask;
    u16 tempo;
    u8 volume;
    u8 pad_;
    u16 pad2_;
} SNDPlayerInfo;

Elements

activeFlag The active flag. Indicates whether the player is currently operating.

The following members are valid only when activeFlag is TRUE.

pauseFlag The pause flag. Indicates whether the player is currently paused.
trackBitMask The bit mask of valid tracks. Tracks are represented in order, starting from the lowest bit, as Track 0, Track 1, ... Track 15.
tempo The tempo value.
volume The player volume. Takes values in the range of 0 to 127.

Description

This is the player information structure. It stores the information for a single player.

The contents of this structure can be obtained with the SND_ReadPlayerInfo function.

Note

The structure size and the member arrangement may be changed in the future.

See Also

SND_ReadPlayerInfo

Revision History

2005/02/17 Initial version.


CONFIDENTIAL