| 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 | 
| Constants | |
| Constructor and Destructor | |
| 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 | 
| Function Summary | |
| HandleEvent() | Hook: implement to handle media events | 
| Hook Functions | |
| Implementing a Node (the Easy Way) | |
| BMediaEventLooper | |
| BMediaEventLooper() | Constructor | 
| ~BMediaEventLooper() | Destructor | 
| Member Functions | |
| 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 | 
| 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 Media Kit Table of Contents | The Media Kit Index | 
Copyright © 2000 Be, Inc. All rights reserved..