The Be Book The Media Kit The Media Kit Index

BMediaEventLooper Function Summary


Function Summary

Function Description
BufferDuration() Returns the duration of the node's buffers
CleanUpEvent() Hook: implement to clean up after any custom events you've added to your queue
ControlLoop() Hook: can be augmented to change the behavior of the control loop
ControlThread() Returns the thread_id of the control thread
DispatchEvent() Calls HandleEvent and does default event handling
EventLatency() Returns the event latency
EventQueue() Returns a pointer to the BTimedEventQueue used for events
HandleEvent() Hook: implement to handle media events
BMediaEventLooper() Constructor
~BMediaEventLooper() Destructor
NodeRegistered() Hook: called when the node is registered with the Media Kit
OfflineTime() Hook: implement to determine the node's current time in offline mode
Priority() Returns the control thread's priority
Quit() Closes the control port and stops the control thread
RealTimeQueue() Returns a pointer to the BTimedEventQueue used for real-time events
Run() Spawns and runs the control thread
RunState() Returns the node's run state
SchedulingLatency() Returns the node's scheduling latency
SetBufferDuration() Sets the duration of the node's buffers
SetEventLatency() Sets the event latency
SetOfflineTime() Sets the time to be returned by OfflineTime()
SetPriority() Sets the control thread's priority
SetRunState() Sets the node's run state

The Be Book The Media Kit The Media Kit Index

The Be Book,
...in lovely HTML...
for BeOS Release 5.

Copyright © 2000 Be, Inc. All rights reserved..