Add IPTOS_DSCP definition for !Linux platforms.

This commit is contained in:
Gleb Popov 2023-03-15 17:59:24 +03:00 committed by Wim Taymans
parent 91250f8012
commit b9c86f337d

View file

@ -27,6 +27,11 @@
#include <module-rtp/stream.h>
#ifndef IPTOS_DSCP
#define IPTOS_DSCP_MASK 0xfc
#define IPTOS_DSCP(x) ((x) & IPTOS_DSCP_MASK)
#endif
/** \page page_module_rtp_sink PipeWire Module: RTP sink
*
* The `rtp-sink` module creates a PipeWire sink that sends audio