2 * Copyright 2002, Marcus Overhagen. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
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
13 #include "OldMediaModule.h"
18 /*************************************************************
20 *************************************************************/
23 BMediaEvent::Duration()
32 BMediaEvent::CaptureTime()
39 /*************************************************************
41 *************************************************************/
43 BEventStream::BEventStream()
49 BEventStream::~BEventStream()
65 BEventStream::SetStart(mk_time
)
72 BEventStream::Duration()
81 BEventStream::SetDuration(mk_time
)
88 BEventStream::SeekToTime(BMediaChannel
*channel
,
96 /*************************************************************
97 * public BMediaRenderer
98 *************************************************************/
101 BMediaRenderer::BMediaRenderer(const char *name
,
108 BMediaRenderer::~BMediaRenderer()
115 BMediaRenderer::Name()
123 BMediaRenderer::Latency()
132 BMediaRenderer::Transport()
140 BMediaRenderer::SetTransport(BTransport
*)
147 BMediaRenderer::Start()
156 BMediaRenderer::Duration()
165 BMediaRenderer::TimeBase()
173 BMediaRenderer::Open()
180 BMediaRenderer::Close()
187 BMediaRenderer::WakeUp()
194 BMediaRenderer::TransportChanged(mk_time time
,
196 transport_status status
)
203 BMediaRenderer::StreamChanged()
210 BMediaRenderer::OpenReceived()
217 BMediaRenderer::CloseReceived()
224 BMediaRenderer::WakeUpReceived()
231 BMediaRenderer::TransportChangedReceived(mk_time time
,
233 transport_status status
)
240 BMediaRenderer::StreamChangedReceived()
245 /*************************************************************
246 * private BMediaRenderer
247 *************************************************************/
251 BMediaRenderer::_LoopThread(void *arg
)
260 BMediaRenderer::LoopThread()
265 /*************************************************************
267 *************************************************************/
270 BTransport::BTransport()
276 BTransport::~BTransport()
283 BTransport::TimeBase()
291 BTransport::SetTimeBase(BTimeBase
*)
298 BTransport::Renderers()
306 BTransport::AddRenderer(BMediaRenderer
*)
313 BTransport::RemoveRenderer(BMediaRenderer
*)
326 return B_TRANSPORT_STOPPED
;
331 BTransport::SetStatus(transport_status
)
338 BTransport::PerformanceTime()
347 BTransport::PerformanceRate()
356 BTransport::TimeOffset()
365 BTransport::SetTimeOffset(mk_time
)
372 BTransport::MaximumLatency()
381 BTransport::PerformanceStart()
390 BTransport::PerformanceEnd()
413 BTransport::TransportChanged()
420 BTransport::TimeSkipped()
427 BTransport::RequestWakeUp(mk_time
,
435 BTransport::SeekToTime(mk_time
)
442 BTransport::GetChannel(int32 selector
)
448 /*************************************************************
450 *************************************************************/
453 BTimeBase::BTimeBase(mk_rate rate
)
459 BTimeBase::~BTimeBase()
466 BTimeBase::Transports()
474 BTimeBase::AddTransport(BTransport
*)
481 BTimeBase::RemoveTransport(BTransport
*)
490 BTimeBase::TimeSkipped()
497 BTimeBase::CallAt(mk_time time
,
498 mk_deferred_call function
,
526 BTimeBase::TimeAt(bigtime_t system_time
)
535 BTimeBase::SystemTimeAt(mk_time time
)
544 BTimeBase::Sync(mk_time time
,
545 bigtime_t system_time
)
552 BTimeBase::IsAbsolute()
559 /*************************************************************
561 *************************************************************/
564 BTimeBase::_SnoozeThread(void *arg
)
573 BTimeBase::SnoozeThread()
578 /*************************************************************
579 * public BMediaChannel
580 *************************************************************/
582 BMediaChannel::BMediaChannel(mk_rate rate
,
583 BMediaRenderer
*renderer
,
584 BEventStream
*source
)
590 BMediaChannel::~BMediaChannel()
597 BMediaChannel::Renderer()
605 BMediaChannel::SetRenderer(BMediaRenderer
*)
612 BMediaChannel::Source()
620 BMediaChannel::SetSource(BEventStream
*)
627 BMediaChannel::Rate()
636 BMediaChannel::SetRate(mk_rate
)
643 BMediaChannel::LockChannel()
652 BMediaChannel::LockWithTimeout(bigtime_t
)
661 BMediaChannel::UnlockChannel()
668 BMediaChannel::StreamChanged()
674 #endif // __GNUC__ < 3