]> icculus.org git repositories - btb/d2x.git/blob - arch/dos/rbaudio.c
use the orientation parameter of g3_draw_bitmap
[btb/d2x.git] / arch / dos / rbaudio.c
1 /*
2  *
3  * DPH: This is the file where all the stub functions go.
4  * The aim is to have nothing in here, eventually
5  *
6  *
7  */
8
9 #ifdef HAVE_CONFIG_H
10 #include <conf.h>
11 #endif
12
13 #include <stdio.h>
14 #include <stdlib.h>
15 #include "pstypes.h"
16 #include "dxxerror.h"
17 #include "args.h"
18 #include "rbaudio.h"
19
20 extern int Redbook_playing;
21 static int initialised = 0;
22
23 void RBAExit()
24 {
25     if (initialised) {
26         /* FIXME: Close cdrom device */
27     }
28 }
29
30 void RBAInit()
31 {
32     if (initialised) return;
33     if (FindArg("-nocdrom")) return; 
34
35     /* FIXME: Initialize cdrom device */
36
37 }
38
39 int RBAEnabled()
40 {
41  return 1;
42 }
43
44 void RBARegisterCD()
45 {
46
47 }
48
49 int RBAPlayTrack(int a)
50 {
51 return 0; 
52 }
53
54 void RBAStop()
55 {
56 }
57
58 void RBASetVolume(int a)
59 {
60
61 }
62
63 void RBAPause()
64 {
65 }
66
67 void RBAResume()
68 {
69 }
70
71 int RBAGetNumberOfTracks()
72 {
73 return 0;
74 }
75
76 int RBAPlayTracks(int tracknum,int something)
77 {
78 return -1;
79 }
80
81 int RBAGetTrackNum()
82 {
83 return -1;
84 }
85
86 int RBAPeekPlayStatus()
87 {
88  return -1;
89 }
90
91 int CD_blast_mixer()
92 {
93  return 0;
94 }