2004-08-23 00:15:46 +00:00
|
|
|
/*
|
|
|
|
Copyright (C) 1996-1997 Id Software, Inc.
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU General Public License
|
|
|
|
as published by the Free Software Foundation; either version 2
|
|
|
|
of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
|
|
|
|
See the GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program; if not, write to the Free Software
|
|
|
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2017-02-21 20:22:07 +00:00
|
|
|
#ifdef HAVE_CDPLAYER
|
2013-10-08 14:28:11 +00:00
|
|
|
void CDAudio_Init(void);
|
|
|
|
qboolean CDAudio_Startup(void); //called when the cd isn't currently valid. returns if its valid or not.
|
|
|
|
int CDAudio_GetAudioDiskInfo(void);//returns number of tracks available, or 0 if the cd is not valid.
|
|
|
|
void CDAudio_Play(int track);
|
2004-08-23 00:15:46 +00:00
|
|
|
void CDAudio_Stop(void);
|
|
|
|
void CDAudio_Pause(void);
|
|
|
|
void CDAudio_Resume(void);
|
2013-10-08 14:28:11 +00:00
|
|
|
void CDAudio_Eject(void);
|
|
|
|
void CDAudio_CloseDoor(void);
|
2004-08-23 00:15:46 +00:00
|
|
|
void CDAudio_Shutdown(void);
|
|
|
|
void CDAudio_Update(void);
|
2017-02-21 20:22:07 +00:00
|
|
|
#else
|
|
|
|
#define CDAudio_Update()
|
|
|
|
#define CDAudio_Init()
|
|
|
|
#define CDAudio_Shutdown()
|
|
|
|
#define CDAudio_Pause()
|
|
|
|
#define CDAudio_Resume()
|
|
|
|
#endif
|
2004-08-23 00:15:46 +00:00
|
|
|
|