Lines Matching refs:destination

96 		if (output.destination == media_destination::null)  in GetLatency()
107 if (fConsumerThis->GetLatencyFor(output.destination, &latency, in GetLatency()
111 } else if (FindLatencyFor(output.destination, &latency, &unused) in GetLatency()
185 request->destination, &reply.format, &reply.out_source, in HandleMessage()
197 Connect(request->error, request->source, request->destination, in HandleMessage()
208 Disconnect(request->source, request->destination); in HandleMessage()
284 if (command->destination == media_destination::null) in HandleMessage()
293 replycommand.info.destination = command->destination; in HandleMessage()
294 SendToPort(command->destination.port, NODE_REQUEST_COMPLETED, in HandleMessage()
307 command->destination, &replycommand.info.format, NULL); in HandleMessage()
308 if (command->destination == media_destination::null) in HandleMessage()
317 replycommand.info.destination = command->destination; in HandleMessage()
318 SendToPort(command->destination.port, NODE_REQUEST_COMPLETED, in HandleMessage()
332 if (command->destination == media_destination::null) in HandleMessage()
341 replycommand.info.destination = command->destination; in HandleMessage()
344 SendToPort(command->destination.port, NODE_REQUEST_COMPLETED, in HandleMessage()
364 LatencyChanged(command->source, command->destination, in HandleMessage()
385 if (command->destination == media_destination::null) in HandleMessage()
394 replycommand.info.destination = command->destination; in HandleMessage()
396 SendToPort(command->destination.port, NODE_REQUEST_COMPLETED, in HandleMessage()
418 const media_destination& destination, bigtime_t newLatency, uint32 flags) in LatencyChanged() argument
427 const media_destination& destination) in SendBuffer() argument
430 if (destination == media_destination::null) in SendBuffer()
443 command.header.destination = destination.id; in SendBuffer()
450 return SendToPort(destination.port, CONSUMER_BUFFER_RECEIVED, &command, in SendBuffer()
457 const media_destination& destination, bigtime_t atTime) in SendDataStatus() argument
460 if (IS_INVALID_DESTINATION(destination)) in SendDataStatus()
464 command.for_whom = destination; in SendDataStatus()
468 return SendToPort(destination.port, CONSUMER_PRODUCER_DATA_STATUS, &command, in SendDataStatus()
475 const media_destination& destination) in ProposeFormatChange() argument
478 if (IS_INVALID_DESTINATION(destination)) in ProposeFormatChange()
484 request.dest = destination; in ProposeFormatChange()
486 status_t status = QueryPort(destination.port, CONSUMER_ACCEPT_FORMAT, in ProposeFormatChange()
498 const media_destination& destination, media_format* format) in ChangeFormat() argument
503 if (IS_INVALID_DESTINATION(destination)) in ChangeFormat()
510 request.consumer = destination; in ChangeFormat()
514 return QueryPort(destination.port, CONSUMER_FORMAT_CHANGED, &request, in ChangeFormat()
520 BBufferProducer::FindLatencyFor(const media_destination& destination, in FindLatencyFor() argument
524 if (IS_INVALID_DESTINATION(destination)) in FindLatencyFor()
530 request.for_whom = destination; in FindLatencyFor()
532 status_t status = QueryPort(destination.port, CONSUMER_GET_LATENCY_FOR, in FindLatencyFor()
544 BBufferProducer::FindSeekTag(const media_destination& destination, in FindSeekTag() argument
549 if (IS_INVALID_DESTINATION(destination)) in FindSeekTag()
555 request.destination = destination; in FindSeekTag()
559 status_t status = QueryPort(destination.port, CONSUMER_SEEK_TAG_REQUESTED, in FindSeekTag()
610 const media_destination& destination) in SendBuffer() argument
621 return SendBuffer(buffer, output.source, destination); in SendBuffer()