Raw ↗
+ +
2da5fe7 OpenAVX v0.2.0 - High-performance open-standard IP audio and video transport suite
saifmukhtar · 2026-11-24
1 /*
2 * SPDX-License-Identifier: AGPL-3.0-or-later WITH Classpath-exception-2.0
3 * Copyright (c) 2026 Saif Mukhtar
4 *
5 * OpenAVX - Open Audio-Video eXchange
6 * include/avx_routing.h - Virtual matrix routing interface
7 */
8  
9 #ifndef AVX_ROUTING_H
10 #define AVX_ROUTING_H
11  
12 #include "openavx.h"
13 #include <stdbool.h>
14  
15 #ifndef AVX_ROUTER_INSTANCE_T
16 #define AVX_ROUTER_INSTANCE_T
17 typedef void* avx_router_instance_t;
18 #endif
19  
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23  
24 /**
25 * Returns the active advertised source for downstream clients connecting to this router.
26 */
27 OPENAVX_API oavx_endpoint_t avx_router_get_source(avx_router_instance_t p_instance);
28  
29 #ifdef __cplusplus
30 }
31 #endif
32  
33 #endif /* AVX_ROUTING_H */