UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
music_s Struct Reference

Data Fields

char currentTrack [MAX_QPATH]
 
char nextTrack [MAX_QPATH]
 
Mix_Music * data
 
int category
 
bytebuffer
 
bool playingStream
 
bool interruptStream
 
bool playing
 

Detailed Description

Definition at line 48 of file s_music.cpp.

Field Documentation

byte* music_s::buffer

Definition at line 53 of file s_music.cpp.

Referenced by M_Start(), and M_Stop().

int music_s::category

Definition at line 52 of file s_music.cpp.

Referenced by M_Frame(), and M_PlayRandomByCategory().

char music_s::currentTrack[MAX_QPATH]

Definition at line 49 of file s_music.cpp.

Referenced by M_Frame(), M_PlayRandomByCategory(), and M_Start().

Mix_Music* music_s::data

Definition at line 51 of file s_music.cpp.

Referenced by M_Start(), and M_Stop().

bool music_s::interruptStream

Definition at line 57 of file s_music.cpp.

Referenced by M_MusicStreamCallback(), M_MusicStreamUpdate(), and M_StopMusicStream().

char music_s::nextTrack[MAX_QPATH]

Definition at line 50 of file s_music.cpp.

Referenced by M_Frame(), and M_Start().

bool music_s::playing

Definition at line 58 of file s_music.cpp.

Referenced by M_Change_f(), M_Frame(), M_Init(), M_RandomTrack_f(), and M_Start().

bool music_s::playingStream

if this is set no action to M_Start and M_Stop might happen, otherwise we might run into a deadlock. This is due to the installed hook function for music mixing that is used whenever we stream the music on our own

Definition at line 54 of file s_music.cpp.

Referenced by M_Frame(), M_PlayMusicStream(), M_Start(), M_Stop(), and M_StopMusicStream().


The documentation for this struct was generated from the following file: