Table of Contents


MUSIC_OBJ

Definition

struct MUSIC_OBJ
{
    stream_handle _p_music;
    int _i_channel;
    int _i_volume;
    int _i_pan;
    int _i_priority;
    int _i_length;
    bool _b_reserved;
    bool _b_muted;
    bool _b_playing;
    bool _b_paused;
};

Properties

_p_music handle to the music clip
_i_channel channel # the music is currently playing on (or has reserved)
_i_volume the volume level of the music
_i_pan the pan setting of the music
_i_priority the music priority in getting bumped when channels are full
_i_length holds the length of the clip
_b_reserved whether or not the clip is on a reserved channel
_b_muted whether or not the clip is muted
_b_playing whether or not the clip is playing
_b_paused whether or not the clip is paused