| 472 | } |
| 473 | |
| 474 | long RtApi ::getStreamLatency(void) |
| 475 | { |
| 476 | verifyStream(); |
| 477 | |
| 478 | long totalLatency = 0; |
| 479 | if (stream_.mode == OUTPUT || stream_.mode == DUPLEX) |
| 480 | totalLatency = stream_.latency[0]; |
| 481 | if (stream_.mode == INPUT || stream_.mode == DUPLEX) |
| 482 | totalLatency += stream_.latency[1]; |
| 483 | |
| 484 | return totalLatency; |
| 485 | } |
| 486 | |
| 487 | double RtApi ::getStreamTime(void) |
| 488 | { |
nothing calls this directly
no outgoing calls
no test coverage detected