Lines Matching refs:to

12  * Permission is hereby granted, free of charge, to any person obtaining
14 * thereof (the "Software"), to deal in the Software without restriction,
15 * including without limitation the rights to use, copy, modify, merge,
17 * and to permit persons to whom the Software is furnished to do so, subject
18 * to the following conditions:
38 /* to comply with the license above, do not remove the following line */
264 // so we are enough safe to don't care about that.
299 _msg->MakeEmpty(); // to be fully R5 compliant
363 ERROR("BMediaRoster::ReleaseNodeAll failed to query media_server, "
620 ERROR("PublishOutputs: failed to create area, %#" B_PRIx32 "\n",
670 ERROR("PublishInputs: failed to create area, %#" B_PRIx32 "\n",
780 // TODO: need to do this in a nicer way.
790 // we need to remember to not use this node with server side reference counting
900 // TODO: need to do this in a nicer way.
910 // we need to remember to not use this node with server side reference
926 TRACE("BMediaRoster::ReleaseNode, trying to release reference "
959 // corresponding to the specified node's time source.
986 // ask the node to get it's current timesource id
1004 BMediaRoster::Connect(const media_source& from, const media_destination& to,
1007 return BMediaRoster::Connect(from, to, _format, _output, _input, 0);
1012 BMediaRoster::Connect(const media_source& from, const media_destination& to,
1023 if (IS_INVALID_DESTINATION(to)) {
1041 rv = GetNodeFor(NodeIDFor(to.port), &destnode);
1044 "%" B_PRId32 "\n", to.port);
1085 request2.dest = to;
1087 rv = QueryPort(to.port, CONSUMER_ACCEPT_FORMAT, &request2,
1104 request3.destination = to;
1115 // reply3.out_source the real source to be used for the connection
1129 request4.input.destination = to;
1133 con_status = QueryPort(to.port, CONSUMER_CONNECTED, &request4,
1141 // con_status contains the status code to be supplied to
1169 // reply5.name contains the name assigned to the connection by the producer
1385 ", to perf %" B_PRId64 "\n", node.node, atPerformanceTime, toMediaTime);
1498 ", to perf %" B_PRId64 "\n", node.node, atRealTime, toPerformanceTime);
1677 // This needs to be documented
2130 // I'm not sure if the media kit warrants to call BMediaNode::AddOn() here.
2158 ERROR("BMediaRoster::RegisterNode: failed to register node %s: %s\n",
2171 // if the BMediaNode also inherits from BTimeSource, we need to call
2186 // media_server, this allows GetLiveNodes() to work
2190 // We have a pointer to the node, and thus call the functions directly
2243 TRACE("BMediaRoster::UnregisterNode, trying to unregister reference "
2262 // BMessage *config) if this node was instanciated by an add-on needs to
2264 // We can't do it here because it is already to late (destructor of the node
2279 ERROR("BMediaRoster::UnregisterNode: failed to unregister node id %"
2292 // The add-on that contains the node needs to remain in memory until the
2313 //! Thread safe for multiple calls to Roster()
2365 // We need to get a clone of the node to have a port id
2368 // We just send the request to set time_source-id as
2369 // timesource to the node, the NODE_SET_TIMESOURCE handler
2431 // TODO: it might be better to query the node for the (current) parameter
2564 /*! This function is used to do the real work of instantiating a dormant node.
2565 It is either called by the media_addon_server to instantiate a global node,
2566 or it gets called from BMediaRoster::InstantiateDormantNode() to create a
2576 // is supposed to be global, it is called from the media_addon_server.
2578 // if B_FLAVOR_IS_GLOBAL, we need to use the BMediaAddOn object that
2586 // flavorID Indicates the internal ID number that the add-on uses to
2603 ERROR("BMediaRosterEx::InstantiateDormantNode error: failed to get "
2618 // Now we need to try to increment the use count of this addon flavor
2637 // do not return, this is a minor problem, not a reason to fail
2650 // server to compensate the increment done in the beginning.
2666 // server to compensate the increment done in the beginning.
2676 // send a message to the server to assign team "creator" as creator
2684 ERROR("BMediaRosterEx::InstantiateDormantNode failed to assign "
2687 // do not return, this is a minor problem, not a reason to fail
2732 ERROR("BMediaRoster::InstantiateDormantNode: failed to get "
2780 // If either the node, or the caller requested to make the instance global
2782 // which in turn will call BMediaRosterEx::InstantiateDormantNode to create
2794 // creator team is allowed to also release global nodes
3127 TRACE("BMediaRoster::SniffRef looking for a node to handle %s: 0x%" B_PRIx64
3302 // No need to memset the padding
3410 /*! Use MediaFlags to inquire about specific features of the Media Kit.
3488 // Wait for media services to wake up and restore our friendship
3491 "to media_server.");
3508 // Send the notification to our subscribers
3543 // Send the notification to our subscribers
3561 // This function is called by a BMediaNode to delete
3562 // itself, as this needs to be done from another thread