icculus quake2 doxygen  1.0 dev
cdaudio.h File Reference

Go to the source code of this file.

Functions

int CDAudio_Init (void)
 
void CDAudio_Shutdown (void)
 
void CDAudio_Play (int track, qboolean looping)
 
void CDAudio_Stop (void)
 
void CDAudio_Update (void)
 
void CDAudio_Activate (qboolean active)
 
void CDAudio_RandomPlay (void)
 

Function Documentation

◆ CDAudio_Activate()

void CDAudio_Activate ( qboolean  active)

Referenced by AppActivate(), and CDAudio_RandomPlay().

◆ CDAudio_Init()

int CDAudio_Init ( void  )

◆ CDAudio_Play()

void CDAudio_Play ( int  track,
qboolean  looping 
)

Definition at line 182 of file cd_win.c.

183 {
184  // set a loop counter so that this track will change to the
185  // looptrack later
186  loopcounter = 0;
187  CDAudio_Play2(track, looping);
188 }

Referenced by CDAudio_RandomPlay(), CL_ParseConfigString(), CL_PrepRefresh(), and UpdateCDVolumeFunc().

◆ CDAudio_RandomPlay()

void CDAudio_RandomPlay ( void  )

Definition at line 190 of file cd_win.c.

Referenced by CL_PrepRefresh(), and UpdateCDVolumeFunc().

◆ CDAudio_Shutdown()

void CDAudio_Shutdown ( void  )

Referenced by CDAudio_RandomPlay(), and CL_Shutdown().

◆ CDAudio_Stop()

void CDAudio_Stop ( void  )

◆ CDAudio_Update()

void CDAudio_Update ( void  )

Referenced by CDAudio_RandomPlay(), and CL_Frame().

loopcounter
int loopcounter
Definition: cd_win.c:44
CDAudio_Play2
void CDAudio_Play2(int track, qboolean looping)
Definition: cd_win.c:107