sACN  2.0.1
Implementation of ANSI E1.31 (Streaming ACN)
View other versions:
Loading...
Searching...
No Matches
opts.h File Reference

sACN configuration options. More...

Go to the source code of this file.

Macros

#define SACN_DYNAMIC_MEM   SACN_FULL_OS_AVAILABLE_HINT
 Use dynamic memory allocation.
 
#define SACN_LOGGING_ENABLED   1
 Enable message logging from the sACN library.
 
#define SACN_LOG_MSG_PREFIX   "sACN: "
 A string which will be prepended to all log messages from the sACN library.
 
#define SACN_ASSERT(expr)   assert(expr)
 The debug assert used by the sACN library.
 
#define SACN_ETC_PRIORITY_EXTENSION   1
 Enable ETC's per-address priority extension to sACN.
 
#define SACN_LOOPBACK   1
 Allow loopback of sACN to the local host (by setting the relevant socket option).
 
#define SACN_MAX_NETINTS   2
 The maximum number of network interfaces that can used by the sACN library.
 
#define SACN_RECEIVER_THREAD_PRIORITY   ETCPAL_THREAD_DEFAULT_PRIORITY
 The priority of each sACN receiver thread.
 
#define SACN_RECEIVER_THREAD_STACK   ETCPAL_THREAD_DEFAULT_STACK
 The stack size of each sACN receiver thread.
 
#define SACN_RECEIVER_THREAD_NAME   "sACN Receive Thread"
 The name to assign each sACN receiver thread.
 
#define SACN_RECEIVER_READ_TIMEOUT_MS   100
 The maximum amount of time that a call to sacnrecv_read() will block waiting for data, in milliseconds.
 
#define SACN_RECEIVER_MAX_UNIVERSES   1
 The maximum number of sACN universes that can be listened to simultaneously.
 
#define SACN_RECEIVER_MAX_SOURCES_PER_UNIVERSE   4
 The maximum number of sources that can be tracked on each universe.
 
#define SACN_RECEIVER_TOTAL_MAX_SOURCES   (SACN_RECEIVER_MAX_UNIVERSES * SACN_RECEIVER_MAX_SOURCES_PER_UNIVERSE)
 The total maximum number of sources that can be tracked.
 
#define SACN_RECEIVER_LIMIT_BIND   (!_WIN32 && !__APPLE__)
 If set to 1, bind only two sockets per thread to reduce duplicate multicast traffic.
 
#define SACN_RECEIVER_MAX_SUBS_PER_SOCKET   20
 The maximum number of multicast subscriptions supported per shared socket.
 
#define SACN_RECEIVER_MAX_THREADS   1
 Currently unconfigurable; will be configurable in the future.
 
#define SACN_RECEIVER_MAX_FOOTPRINT   512
 Currently unconfigurable; will be configurable in the future.
 
#define SACN_SOURCE_THREAD_PRIORITY   ETCPAL_THREAD_DEFAULT_PRIORITY
 The priority of the sACN source thread.
 
#define SACN_SOURCE_THREAD_STACK   ETCPAL_THREAD_DEFAULT_STACK
 The stack size of the sACN source thread.
 
#define SACN_SOURCE_THREAD_NAME   "sACN Source Thread"
 The name to assign the sACN source thread.
 
#define SACN_SOURCE_MAX_SOURCES   1
 The maximum number of sources that can be created.
 
#define SACN_SOURCE_MAX_UNIVERSES_PER_SOURCE   4
 The maximum number of universes that a source can send to simultaneously.
 
#define SACN_MAX_UNICAST_DESTINATIONS_PER_UNIVERSE   4
 The maximum number of unicast destinations per universe that a source can send to simultaneously.
 
#define SACN_DMX_MERGER_MAX_MERGERS   SACN_RECEIVER_MAX_UNIVERSES
 The maximum number of mergers that can be instanced.
 
#define SACN_DMX_MERGER_MAX_SOURCES_PER_MERGER   SACN_RECEIVER_MAX_SOURCES_PER_UNIVERSE
 The maximum number of sources that can be merged on each merger instance.
 
#define SACN_DMX_MERGER_MAX_SLOTS   512
 Currently unconfigurable; will be configurable in the future.
 
#define SACN_MERGE_RECEIVER_ENABLE
 Whether to enable or disable the merge receiver without affecting the other sACN APIs.
 
#define SACN_SOURCE_DETECTOR_MAX_SOURCES   5
 The maximum number of sACN sources that can be monitored.
 
#define SACN_SOURCE_DETECTOR_MAX_UNIVERSES_PER_SOURCE   5
 The maximum number of sACN universes that can be tracked on each source.
 

Detailed Description

sACN configuration options.

Default values for all of sACN's compile-time configuration options.