Updated time source code to allow automatic starting and stopping of time sources.
Sending run mode changes and broadcasting of time changes is also implemented. For one reason or another, all this doesn't work right now. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2520 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -149,11 +149,13 @@ enum {
|
||||
FILEINTERFACE_MESSAGE_END,
|
||||
CONTROLLABLE_MESSAGE_START = 0x600,
|
||||
CONTROLLABLE_MESSAGE_END,
|
||||
TIMESOURECE_MESSAGE_START = 0x700,
|
||||
TIMESOURCE_MESSAGE_START = 0x700,
|
||||
|
||||
TIMESOURCE_OP, // datablock is a struct time_source_op_info
|
||||
TIMESOURCE_ADD_SLAVE_NODE,
|
||||
TIMESOURCE_REMOVE_SLAVE_NODE,
|
||||
|
||||
TIMESOURECE_MESSAGE_END,
|
||||
TIMESOURCE_MESSAGE_END,
|
||||
};
|
||||
|
||||
|
||||
@@ -875,7 +877,14 @@ struct node_set_timesource_command : public command_data
|
||||
media_node_id timesource_id;
|
||||
};
|
||||
|
||||
struct timesource_add_slave_node_command : public command_data
|
||||
{
|
||||
media_node node;
|
||||
};
|
||||
|
||||
|
||||
struct timesource_remove_slave_node_command : public command_data
|
||||
{
|
||||
media_node node;
|
||||
};
|
||||
|
||||
#endif // _DATA_EXCHANGE_H
|
||||
|
||||
Reference in New Issue
Block a user