]> icculus.org git repositories - btb/d2x.git/blob - arch/dos/rbaudio.c
implement brightness/palette effects in OGL using SetGammaRamp, much faster than...
[btb/d2x.git] / arch / dos / rbaudio.c
1 /*
2  * $Source: /cvs/cvsroot/d2x/arch/dos/rbaudio.c,v $
3  * $Revision: 1.1 $
4  * $Author: bradleyb $
5  * $Date: 2002-07-18 08:22:18 $
6  *
7  * DPH: This is the file where all the stub functions go.
8  * The aim is to have nothing in here, eventually
9  *
10  * $Log: not supported by cvs2svn $
11  * Revision 1.3  2001/10/25 08:25:33  bradleyb
12  * Finished moving stuff to arch/blah.  I know, it's ugly, but It'll be easier to sync with d1x.
13  *
14  * Revision 1.3  2001/01/31 14:04:45  bradleyb
15  * Fix compiler warnings
16  *
17  * Revision 1.2  2001/01/29 13:53:28  bradleyb
18  * Fixed build, minor fixes
19  *
20  */
21
22 #ifdef HAVE_CONFIG_H
23 #include <conf.h>
24 #endif
25
26 #include <stdio.h>
27 #include <stdlib.h>
28 #include "pstypes.h"
29 #include "error.h"
30 #include "args.h"
31 #include "rbaudio.h"
32
33 extern int Redbook_playing;
34 static int initialised = 0;
35
36 void RBAExit()
37 {
38     if (initialised) {
39         /* FIXME: Close cdrom device */
40     }
41 }
42
43 void RBAInit()
44 {
45     if (initialised) return;
46     if (FindArg("-nocdrom")) return; 
47
48     /* FIXME: Initialize cdrom device */
49
50 }
51
52 int RBAEnabled()
53 {
54  return 1;
55 }
56
57 void RBARegisterCD()
58 {
59
60 }
61
62 int RBAPlayTrack(int a)
63 {
64 return 0; 
65 }
66
67 void RBAStop()
68 {
69 }
70
71 void RBASetVolume(int a)
72 {
73
74 }
75
76 void RBAPause()
77 {
78 }
79
80 void RBAResume()
81 {
82 }
83
84 int RBAGetNumberOfTracks()
85 {
86 return 0;
87 }
88
89 int RBAPlayTracks(int tracknum,int something)
90 {
91 return -1;
92 }
93
94 int RBAGetTrackNum()
95 {
96 return -1;
97 }
98
99 int RBAPeekPlayStatus()
100 {
101  return -1;
102 }
103
104 int CD_blast_mixer()
105 {
106  return 0;
107 }