dxx-rebirth/arch/dos/rbaudio.c
2002-07-18 08:22:18 +00:00

108 lines
1.4 KiB
C

/*
* $Source: /cvs/cvsroot/d2x/arch/dos/rbaudio.c,v $
* $Revision: 1.1 $
* $Author: bradleyb $
* $Date: 2002-07-18 08:22:18 $
*
* 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.3 2001/10/25 08:25:33 bradleyb
* Finished moving stuff to arch/blah. I know, it's ugly, but It'll be easier to sync with d1x.
*
* Revision 1.3 2001/01/31 14:04:45 bradleyb
* Fix compiler warnings
*
* 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"
#include "rbaudio.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;
}