dxx-rebirth/sound/dos_cdrom.c
2001-01-31 14:04:46 +00:00

102 lines
1.2 KiB
C

/*
* $Source: /cvs/cvsroot/d2x/sound/dos_cdrom.c,v $
* $Revision: 1.3 $
* $Author: bradleyb $
* $Date: 2001-01-31 14:04:45 $
*
* DPH: This is the file where all the stub functions go.
* The aim is to have nothing in here, eventually
*
* $Log: not supported by cvs2svn $
* Revision 1.2 2001/01/29 13:53:28 bradleyb
* Fixed build, minor fixes
*
*/
#ifdef HAVE_CONFIG_H
#include <conf.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include "pstypes.h"
#include "error.h"
#include "args.h"
extern int Redbook_playing;
static int initialised = 0;
void RBAExit()
{
if (initialised) {
/* FIXME: Close cdrom device */
}
}
void RBAInit()
{
if (initialised) return;
if (FindArg("-nocdrom")) return;
/* FIXME: Initialize cdrom device */
}
int RBAEnabled()
{
return 1;
}
void RBARegisterCD()
{
}
int RBAPlayTrack(int a)
{
return 0;
}
void RBAStop()
{
}
void RBASetVolume(int a)
{
}
void RBAPause()
{
}
void RBAResume()
{
}
int RBAGetNumberOfTracks()
{
return 0;
}
int RBAPlayTracks(int tracknum,int something)
{
return -1;
}
int RBAGetTrackNum()
{
return -1;
}
int RBAPeekPlayStatus()
{
return -1;
}
int CD_blast_mixer()
{
return 0;
}