BMediaNode Summary


Function Summary

Function Description
Acquire() Returns a reference to the node
AddNodeKind() Adds a kind to the set of kinds supported by the node
AddOn() Returns the BMediaAddOn that instantiated the node
AddTimer() Hook: implement to remember a time that should be reported
B_BUFFER_CONSUMER
B_BUFFER_PRODUCER
B_CONTROLLABLE
Constants
Constructor and Destructor
ControlPort() Hook: return the port_id of the node's control port
Creating Your Own Node
B_DECREASE_PRECISION
B_DECREASE_PRECISION
DeleteHook() Hook: called when the node is to be deleted
B_DROP_DATA
B_DROP_DATA
B_ENTITY_INTERFACE
B_FILE_INTERFACE
Function Summary
GetNodeAttributes() Hook: implement to return the node's attributes
HandleBadMessage() Copes with messages the node doesn't understand
HandleMessage() Hook: dispatch a Media Kit message
Hook Functions
ID() Returns the node's ID
B_INCREASE_LATENCY
B_INCREASE_LATENCY
Kinds() Returns a bit mask indicating what interfaces the node implements
BMediaNode
BMediaNode() Constructor
~BMediaNode Destructor
Member Functions
Name() Returns the node's name
Negotiating a Connection
NewChangeTag() Returns a new change tag
Node() Returns a reference to the node for use when calling BMediaRoster
NodeRegistered() Hook: called when the node is registered with the Media Kit
NodeStopped() Informs interested parties when you've finished handling a stop request
node_error
B_NODE_FAILED_PREROLL
B_NODE_FAILED_SEEK
B_NODE_FAILED_SET_RUN_MODE
B_NODE_FAILED_SET_TIME_SOURCE_FO
B_NODE_FAILED_START
B_NODE_FAILED_STOP
B_NODE_FAILED_TIME_WARP
B_NODE_IN_DISTRESS
node_kind
node_kind
B_OFFLINE
B_OFFLINE
B_PHYSICAL_INPUT
B_PHYSICAL_OUTPUT
Preroll() Hook: gives the node a chance to prepare the media for use
B_RECORDING
B_RECORDING
Realtime Allocators and Thread Locking
Release() Releases the node
ReportError() Transmits an error notification to anyone that's watching
RequestCompleted() Hook: called when requests have been completed or have failed
RunMode() Returns the node's run_mode
run_mode
run_mode
Seek() Hook: seeks to the specified time in the media
SetRunMode() Hook: sets the node's run mode
SetTimeSource() Hook: specifies the time source the node should be synchronized to
Special Considerations
Start() Hook: specifies a time at which the node should start
Stop() Hook: stops the node
B_SYSTEM_MIXER
TimeSource() Returns the BTimeSource to which the node is slaved
TimeWarp() Hook: informs the node of a sudden change in its time source's time
B_TIME_SOURCE
TimerExpired() Notify interested parties when a notify point is reached
WaitForMessage() Waits for the given amount of time, or until a message is received.


The Media Kit Table of Contents     The Media Kit Index


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

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