module-roc: Add support for multi-channel audio

This commit is contained in:
Bernhard Sulzer 2025-11-03 15:36:34 +00:00 committed by Wim Taymans
parent 23f0acfd1d
commit 5bca3731a3
3 changed files with 70 additions and 14 deletions

View file

@ -13,6 +13,10 @@
#define PW_ROC_DEFAULT_SESS_LATENCY 200
#define PW_ROC_DEFAULT_RATE 44100
#define PW_ROC_DEFAULT_CONTROL_PROTO ROC_PROTO_RTCP
#define PW_ROC_DEFAULT_PACKET_LENGTH 5000000 // 5ms in ns
#define PW_ROC_MULTITRACK_ENCODING_ID 100
#define PW_ROC_STEREO_POSITIONS "[ FL FR ]"
static inline int pw_roc_parse_fec_encoding(roc_fec_encoding *out, const char *str)
{