]> icculus.org git repositories - btb/d2x.git/blob - sound/dos_cdrom.c
Fix compiler warnings
[btb/d2x.git] / sound / dos_cdrom.c
1 /*
2  * $Source: /cvs/cvsroot/d2x/sound/dos_cdrom.c,v $
3  * $Revision: 1.3 $
4  * $Author: bradleyb $
5  * $Date: 2001-01-31 14:04:45 $
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.2  2001/01/29 13:53:28  bradleyb
12  * Fixed build, minor fixes
13  *
14  */
15
16 #ifdef HAVE_CONFIG_H
17 #include <conf.h>
18 #endif
19
20 #include <stdio.h>
21 #include <stdlib.h>
22 #include "pstypes.h"
23 #include "error.h"
24 #include "args.h"
25
26
27 extern int Redbook_playing;
28 static int initialised = 0;
29
30 void RBAExit()
31 {
32     if (initialised) {
33         /* FIXME: Close cdrom device */
34     }
35 }
36
37 void RBAInit()
38 {
39     if (initialised) return;
40     if (FindArg("-nocdrom")) return; 
41
42     /* FIXME: Initialize cdrom device */
43
44 }
45
46 int RBAEnabled()
47 {
48  return 1;
49 }
50
51 void RBARegisterCD()
52 {
53
54 }
55
56 int RBAPlayTrack(int a)
57 {
58 return 0; 
59 }
60
61 void RBAStop()
62 {
63 }
64
65 void RBASetVolume(int a)
66 {
67
68 }
69
70 void RBAPause()
71 {
72 }
73
74 void RBAResume()
75 {
76 }
77
78 int RBAGetNumberOfTracks()
79 {
80 return 0;
81 }
82
83 int RBAPlayTracks(int tracknum,int something)
84 {
85 return -1;
86 }
87
88 int RBAGetTrackNum()
89 {
90 return -1;
91 }
92
93 int RBAPeekPlayStatus()
94 {
95  return -1;
96 }
97
98 int CD_blast_mixer()
99 {
100  return 0;
101 }