tcp: Fix 64 bit build with debugging features enabled.
[haiku.git] / src / kits / media / legacy / OldAudioStream.cpp
blobf9541db6caa5f143efd8dcba10c2a0f7a5264539
1 /*
2 * Copyright 2002, Marcus Overhagen. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
4 */
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
13 #include "OldAudioStream.h"
15 #include <debug.h>
18 /*************************************************************
19 * public BADCStream
20 *************************************************************/
22 BADCStream::BADCStream()
24 UNIMPLEMENTED();
28 BADCStream::~BADCStream()
30 UNIMPLEMENTED();
34 status_t
35 BADCStream::SetADCInput(int32 device)
37 UNIMPLEMENTED();
39 return B_ERROR;
43 status_t
44 BADCStream::ADCInput(int32 *device) const
46 UNIMPLEMENTED();
48 return B_ERROR;
52 status_t
53 BADCStream::SetSamplingRate(float sRate)
55 UNIMPLEMENTED();
57 return B_ERROR;
61 status_t
62 BADCStream::SamplingRate(float *sRate) const
64 UNIMPLEMENTED();
66 return B_ERROR;
70 status_t
71 BADCStream::BoostMic(bool boost)
73 UNIMPLEMENTED();
75 return B_ERROR;
79 bool
80 BADCStream::IsMicBoosted() const
82 UNIMPLEMENTED();
84 return false;
88 status_t
89 BADCStream::SetStreamBuffers(size_t bufferSize,
90 int32 bufferCount)
92 UNIMPLEMENTED();
94 return B_ERROR;
97 /*************************************************************
98 * protected BADCStream
99 *************************************************************/
102 BMessenger *
103 BADCStream::Server() const
105 UNIMPLEMENTED();
106 return NULL;
110 stream_id
111 BADCStream::StreamID() const
113 UNIMPLEMENTED();
115 return 0;
118 /*************************************************************
119 * private BADCStream
120 *************************************************************/
123 void
124 BADCStream::_ReservedADCStream1()
126 UNIMPLEMENTED();
130 void
131 BADCStream::_ReservedADCStream2()
133 UNIMPLEMENTED();
137 void
138 BADCStream::_ReservedADCStream3()
140 UNIMPLEMENTED();
143 /*************************************************************
144 * public BDACStream
145 *************************************************************/
147 BDACStream::BDACStream()
149 UNIMPLEMENTED();
153 BDACStream::~BDACStream()
155 UNIMPLEMENTED();
159 status_t
160 BDACStream::SetSamplingRate(float sRate)
162 UNIMPLEMENTED();
164 return B_ERROR;
168 status_t
169 BDACStream::SamplingRate(float *sRate) const
171 UNIMPLEMENTED();
173 return B_ERROR;
177 status_t
178 BDACStream::SetVolume(int32 device,
179 float l_volume,
180 float r_volume)
182 UNIMPLEMENTED();
184 return B_ERROR;
188 status_t
189 BDACStream::GetVolume(int32 device,
190 float *l_volume,
191 float *r_volume,
192 bool *enabled) const
194 UNIMPLEMENTED();
196 return B_ERROR;
200 status_t
201 BDACStream::EnableDevice(int32 device,
202 bool enable)
204 UNIMPLEMENTED();
206 return B_ERROR;
210 bool
211 BDACStream::IsDeviceEnabled(int32 device) const
213 UNIMPLEMENTED();
215 return false;
219 status_t
220 BDACStream::SetStreamBuffers(size_t bufferSize,
221 int32 bufferCount)
223 UNIMPLEMENTED();
225 return B_ERROR;
228 /*************************************************************
229 * protected BDACStream
230 *************************************************************/
232 BMessenger *
233 BDACStream::Server() const
235 UNIMPLEMENTED();
236 return NULL;
240 stream_id
241 BDACStream::StreamID() const
243 UNIMPLEMENTED();
245 return 0;
248 /*************************************************************
249 * private BDACStream
250 *************************************************************/
252 void
253 BDACStream::_ReservedDACStream1()
255 UNIMPLEMENTED();
259 void
260 BDACStream::_ReservedDACStream2()
262 UNIMPLEMENTED();
266 void
267 BDACStream::_ReservedDACStream3()
269 UNIMPLEMENTED();
273 #endif // __GNUC__ < 3