1 /*
2 * Copyright 2002, Marcus Overhagen. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
4 */
5
6
7 // This is deprecated API that is not even implemented - no need to export
8 // it on a GCC4 build (BeIDE needs it to run, though, so it's worthwhile for
9 // GCC2)
10 #if __GNUC__ < 3
11
12
13 #include "OldAudioStream.h"
14
15 #include <MediaDebug.h>
16
17
18 /*************************************************************
19 * public BADCStream
20 *************************************************************/
21
BADCStream()22 BADCStream::BADCStream()
23 {
24 UNIMPLEMENTED();
25 }
26
27
~BADCStream()28 BADCStream::~BADCStream()
29 {
30 UNIMPLEMENTED();
31 }
32
33
34 status_t
SetADCInput(int32 device)35 BADCStream::SetADCInput(int32 device)
36 {
37 UNIMPLEMENTED();
38
39 return B_ERROR;
40 }
41
42
43 status_t
ADCInput(int32 * device) const44 BADCStream::ADCInput(int32 *device) const
45 {
46 UNIMPLEMENTED();
47
48 return B_ERROR;
49 }
50
51
52 status_t
SetSamplingRate(float sRate)53 BADCStream::SetSamplingRate(float sRate)
54 {
55 UNIMPLEMENTED();
56
57 return B_ERROR;
58 }
59
60
61 status_t
SamplingRate(float * sRate) const62 BADCStream::SamplingRate(float *sRate) const
63 {
64 UNIMPLEMENTED();
65
66 return B_ERROR;
67 }
68
69
70 status_t
BoostMic(bool boost)71 BADCStream::BoostMic(bool boost)
72 {
73 UNIMPLEMENTED();
74
75 return B_ERROR;
76 }
77
78
79 bool
IsMicBoosted() const80 BADCStream::IsMicBoosted() const
81 {
82 UNIMPLEMENTED();
83
84 return false;
85 }
86
87
88 status_t
SetStreamBuffers(size_t bufferSize,int32 bufferCount)89 BADCStream::SetStreamBuffers(size_t bufferSize,
90 int32 bufferCount)
91 {
92 UNIMPLEMENTED();
93
94 return B_ERROR;
95 }
96
97 /*************************************************************
98 * protected BADCStream
99 *************************************************************/
100
101
102 BMessenger *
Server() const103 BADCStream::Server() const
104 {
105 UNIMPLEMENTED();
106 return NULL;
107 }
108
109
110 stream_id
StreamID() const111 BADCStream::StreamID() const
112 {
113 UNIMPLEMENTED();
114
115 return 0;
116 }
117
118 /*************************************************************
119 * private BADCStream
120 *************************************************************/
121
122
123 void
_ReservedADCStream1()124 BADCStream::_ReservedADCStream1()
125 {
126 UNIMPLEMENTED();
127 }
128
129
130 void
_ReservedADCStream2()131 BADCStream::_ReservedADCStream2()
132 {
133 UNIMPLEMENTED();
134 }
135
136
137 void
_ReservedADCStream3()138 BADCStream::_ReservedADCStream3()
139 {
140 UNIMPLEMENTED();
141 }
142
143 /*************************************************************
144 * public BDACStream
145 *************************************************************/
146
BDACStream()147 BDACStream::BDACStream()
148 {
149 UNIMPLEMENTED();
150 }
151
152
~BDACStream()153 BDACStream::~BDACStream()
154 {
155 UNIMPLEMENTED();
156 }
157
158
159 status_t
SetSamplingRate(float sRate)160 BDACStream::SetSamplingRate(float sRate)
161 {
162 UNIMPLEMENTED();
163
164 return B_ERROR;
165 }
166
167
168 status_t
SamplingRate(float * sRate) const169 BDACStream::SamplingRate(float *sRate) const
170 {
171 UNIMPLEMENTED();
172
173 return B_ERROR;
174 }
175
176
177 status_t
SetVolume(int32 device,float l_volume,float r_volume)178 BDACStream::SetVolume(int32 device,
179 float l_volume,
180 float r_volume)
181 {
182 UNIMPLEMENTED();
183
184 return B_ERROR;
185 }
186
187
188 status_t
GetVolume(int32 device,float * l_volume,float * r_volume,bool * enabled) const189 BDACStream::GetVolume(int32 device,
190 float *l_volume,
191 float *r_volume,
192 bool *enabled) const
193 {
194 UNIMPLEMENTED();
195
196 return B_ERROR;
197 }
198
199
200 status_t
EnableDevice(int32 device,bool enable)201 BDACStream::EnableDevice(int32 device,
202 bool enable)
203 {
204 UNIMPLEMENTED();
205
206 return B_ERROR;
207 }
208
209
210 bool
IsDeviceEnabled(int32 device) const211 BDACStream::IsDeviceEnabled(int32 device) const
212 {
213 UNIMPLEMENTED();
214
215 return false;
216 }
217
218
219 status_t
SetStreamBuffers(size_t bufferSize,int32 bufferCount)220 BDACStream::SetStreamBuffers(size_t bufferSize,
221 int32 bufferCount)
222 {
223 UNIMPLEMENTED();
224
225 return B_ERROR;
226 }
227
228 /*************************************************************
229 * protected BDACStream
230 *************************************************************/
231
232 BMessenger *
Server() const233 BDACStream::Server() const
234 {
235 UNIMPLEMENTED();
236 return NULL;
237 }
238
239
240 stream_id
StreamID() const241 BDACStream::StreamID() const
242 {
243 UNIMPLEMENTED();
244
245 return 0;
246 }
247
248 /*************************************************************
249 * private BDACStream
250 *************************************************************/
251
252 void
_ReservedDACStream1()253 BDACStream::_ReservedDACStream1()
254 {
255 UNIMPLEMENTED();
256 }
257
258
259 void
_ReservedDACStream2()260 BDACStream::_ReservedDACStream2()
261 {
262 UNIMPLEMENTED();
263 }
264
265
266 void
_ReservedDACStream3()267 BDACStream::_ReservedDACStream3()
268 {
269 UNIMPLEMENTED();
270 }
271
272
273 #endif // __GNUC__ < 3
274