xref: /haiku/src/kits/media/legacy/OldBufferStreamManager.cpp (revision c237c4ce593ee823d9867fd997e51e4c447f5623)
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 "OldBufferStreamManager.h"
14 
15 #include <MediaDebug.h>
16 
17 
18 /*************************************************************
19  * public BBufferStreamManager
20  *************************************************************/
21 
22 BBufferStreamManager::BBufferStreamManager(char *name)
23 {
24 	UNIMPLEMENTED();
25 }
26 
27 
28 BBufferStreamManager::~BBufferStreamManager()
29 {
30 	UNIMPLEMENTED();
31 }
32 
33 
34 char *
35 BBufferStreamManager::Name() const
36 {
37 	UNIMPLEMENTED();
38 	return NULL;
39 }
40 
41 
42 BBufferStream *
43 BBufferStreamManager::Stream() const
44 {
45 	UNIMPLEMENTED();
46 	return NULL;
47 }
48 
49 
50 int32
51 BBufferStreamManager::BufferCount() const
52 {
53 	UNIMPLEMENTED();
54 
55 	return 0;
56 }
57 
58 
59 void
60 BBufferStreamManager::SetBufferCount(int32 count)
61 {
62 	UNIMPLEMENTED();
63 }
64 
65 
66 int32
67 BBufferStreamManager::BufferSize() const
68 {
69 	UNIMPLEMENTED();
70 
71 	return 0;
72 }
73 
74 
75 void
76 BBufferStreamManager::SetBufferSize(int32 bytes)
77 {
78 	UNIMPLEMENTED();
79 }
80 
81 
82 bigtime_t
83 BBufferStreamManager::BufferDelay() const
84 {
85 	UNIMPLEMENTED();
86 
87 	return 0;
88 }
89 
90 
91 void
92 BBufferStreamManager::SetBufferDelay(bigtime_t usecs)
93 {
94 	UNIMPLEMENTED();
95 }
96 
97 
98 bigtime_t
99 BBufferStreamManager::Timeout() const
100 {
101 	UNIMPLEMENTED();
102 
103 	return 0;
104 }
105 
106 
107 void
108 BBufferStreamManager::SetTimeout(bigtime_t usecs)
109 {
110 	UNIMPLEMENTED();
111 }
112 
113 
114 stream_state
115 BBufferStreamManager::Start()
116 {
117 	UNIMPLEMENTED();
118 
119 	return B_IDLE;
120 }
121 
122 
123 stream_state
124 BBufferStreamManager::Stop()
125 {
126 	UNIMPLEMENTED();
127 
128 	return B_IDLE;
129 }
130 
131 
132 stream_state
133 BBufferStreamManager::Abort()
134 {
135 	UNIMPLEMENTED();
136 
137 	return B_IDLE;
138 }
139 
140 
141 stream_state
142 BBufferStreamManager::State() const
143 {
144 	UNIMPLEMENTED();
145 
146 	return B_IDLE;
147 }
148 
149 
150 port_id
151 BBufferStreamManager::NotificationPort() const
152 {
153 	UNIMPLEMENTED();
154 
155 	return 0;
156 }
157 
158 
159 void
160 BBufferStreamManager::SetNotificationPort(port_id port)
161 {
162 	UNIMPLEMENTED();
163 }
164 
165 
166 bool
167 BBufferStreamManager::Lock()
168 {
169 	UNIMPLEMENTED();
170 
171 	return false;
172 }
173 
174 
175 void
176 BBufferStreamManager::Unlock()
177 {
178 	UNIMPLEMENTED();
179 }
180 
181 
182 status_t
183 BBufferStreamManager::Subscribe(BBufferStream *stream)
184 {
185 	UNIMPLEMENTED();
186 
187 	return B_ERROR;
188 }
189 
190 
191 status_t
192 BBufferStreamManager::Unsubscribe()
193 {
194 	UNIMPLEMENTED();
195 
196 	return B_ERROR;
197 }
198 
199 
200 subscriber_id
201 BBufferStreamManager::ID() const
202 {
203 	UNIMPLEMENTED();
204 
205 	return 0;
206 }
207 
208 /*************************************************************
209  * protected BBufferStreamManager
210  *************************************************************/
211 
212 void
213 BBufferStreamManager::StartProcessing()
214 {
215 	UNIMPLEMENTED();
216 }
217 
218 
219 void
220 BBufferStreamManager::StopProcessing()
221 {
222 	UNIMPLEMENTED();
223 }
224 
225 
226 status_t
227 BBufferStreamManager::_ProcessingThread(void *arg)
228 {
229 	UNIMPLEMENTED();
230 
231 	return B_ERROR;
232 }
233 
234 
235 void
236 BBufferStreamManager::ProcessingThread()
237 {
238 	UNIMPLEMENTED();
239 }
240 
241 
242 void
243 BBufferStreamManager::SetState(stream_state newState)
244 {
245 	UNIMPLEMENTED();
246 }
247 
248 
249 bigtime_t
250 BBufferStreamManager::SnoozeUntil(bigtime_t sys_time)
251 {
252 	UNIMPLEMENTED();
253 
254 	return 0;
255 }
256 
257 /*************************************************************
258  * private BBufferStreamManager
259  *************************************************************/
260 
261 void
262 BBufferStreamManager::_ReservedBufferStreamManager1()
263 {
264 	UNIMPLEMENTED();
265 }
266 
267 
268 void
269 BBufferStreamManager::_ReservedBufferStreamManager2()
270 {
271 	UNIMPLEMENTED();
272 }
273 
274 
275 void
276 BBufferStreamManager::_ReservedBufferStreamManager3()
277 {
278 	UNIMPLEMENTED();
279 }
280 
281 
282 #endif	// __GNUC__ < 3
283