114 lines
1.5 KiB
C
114 lines
1.5 KiB
C
|
/*
|
||
|
* $Source: /cvsroot/dxx-rebirth/d2x-rebirth/arch/dos/rbaudio.c,v $
|
||
|
* $Revision: 1.1.1.1 $
|
||
|
* $Author: zicodxx $
|
||
|
* $Date: 2006/03/17 19:52:38 $
|
||
|
*
|
||
|
* DPH: This is the file where all the stub functions go.
|
||
|
* The aim is to have nothing in here, eventually
|
||
|
*
|
||
|
* $Log: rbaudio.c,v $
|
||
|
* Revision 1.1.1.1 2006/03/17 19:52:38 zicodxx
|
||
|
* initial import
|
||
|
*
|
||
|
* Revision 1.1 2002/07/18 08:22:18 bradleyb
|
||
|
* changed cdrom->rbaudio
|
||
|
*
|
||
|
* 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;
|
||
|
}
|