|
Verifies that the given endpoint is registered but unconnected.
If a graph manager decides to connect two endpoints, it passes the endpoint to a stream handler. In order to prevent errors, the stream handler verifies before a connect operation that the given endpoint belonging to itself is not connected yet. Whether the stream handler checks with its source side or with its sink side is implicitly clear from the connect function.
- Parameters:
-
| dp | The endpoint to be checked. |
- Returns:
- SH_OK if the endpoint is not connected.
SH_ALREADY_CONNECTED if the endpoint is already connected.
|