PipeWire 0.3.38
module-pulse-tunnel.c File Reference
Include dependency graph for module-pulse-tunnel.c:

Data Structures

struct  impl
 

Macros

#define NAME   "pulse-tunnel"
 
#define PW_LOG_TOPIC_DEFAULT   mod_topic
 
#define MODULE_USAGE
 
#define RINGBUFFER_SIZE   (1u << 22)
 
#define RINGBUFFER_MASK   (RINGBUFFER_SIZE-1)
 
#define DEFAULT_LATENCY_MSEC   (100)
 
#define MODE_PLAYBACK   0
 
#define MODE_CAPTURE   1
 

Functions

 PW_LOG_TOPIC_STATIC (mod_topic, "mod." NAME)
 
int pipewire__module_init (struct pw_impl_module *module, const char *args)
 

Macro Definition Documentation

◆ DEFAULT_LATENCY_MSEC

#define DEFAULT_LATENCY_MSEC   (100)

◆ MODE_CAPTURE

#define MODE_CAPTURE   1

◆ MODE_PLAYBACK

#define MODE_PLAYBACK   0

◆ MODULE_USAGE

#define MODULE_USAGE
Value:
"[ remote.name=<remote> ] " \
"[ node.latency=<latency as fraction> ] " \
"[ node.name=<name of the nodes> ] " \
"[ node.description=<description of the nodes> ] " \
"[ node.target=<remote node target name> ] " \
"[ audio.rate=<sample rate> ] " \
"[ audio.channels=<number of channels> ] " \
"[ audio.position=<channel map> ] " \
"pulse.server.address=<address> " \
"pulse.latency=<latency in msec> " \
"[ tunnel.mode=capture|playback " \
"[ stream.props=<properties> ] "

◆ NAME

#define NAME   "pulse-tunnel"

◆ PW_LOG_TOPIC_DEFAULT

#define PW_LOG_TOPIC_DEFAULT   mod_topic

◆ RINGBUFFER_MASK

#define RINGBUFFER_MASK   (RINGBUFFER_SIZE-1)

◆ RINGBUFFER_SIZE

#define RINGBUFFER_SIZE   (1u << 22)

Function Documentation

◆ pipewire__module_init()

◆ PW_LOG_TOPIC_STATIC()

PW_LOG_TOPIC_STATIC ( mod_topic  ,
"mod."  NAME 
)