PipeWire  0.3.33
module-example-sink.c File Reference

Data Structures

struct  impl
 

Macros

#define NAME   "example-sink"
 
#define DEFAULT_FORMAT   "S16"
 
#define DEFAULT_RATE   "48000"
 
#define DEFAULT_CHANNELS   "2"
 
#define DEFAULT_POSITION   "[ FL FR ]"
 
#define MODULE_USAGE
 

Functions

int pipewire__module_init (struct pw_impl_module *module, const char *args)
 

Macro Definition Documentation

◆ DEFAULT_CHANNELS

#define DEFAULT_CHANNELS   "2"

◆ DEFAULT_FORMAT

#define DEFAULT_FORMAT   "S16"

◆ DEFAULT_POSITION

#define DEFAULT_POSITION   "[ FL FR ]"

◆ DEFAULT_RATE

#define DEFAULT_RATE   "48000"

◆ MODULE_USAGE

#define MODULE_USAGE
Value:
"[ node.latency=<latency as fraction> ] " \
"[ node.name=<name of the nodes> ] " \
"[ node.description=<description of the nodes> ] " \
"[ audio.format=<format, default:"DEFAULT_FORMAT"> ] " \
"[ audio.rate=<sample rate, default:"DEFAULT_RATE"> ] " \
"[ audio.channels=<number of channels, default:"DEFAULT_CHANNELS"> ] " \
"[ audio.position=<channel map, default:"DEFAULT_POSITION"> ] " \
"[ stream.props=<properties> ] "

◆ NAME

#define NAME   "example-sink"

Function Documentation

◆ pipewire__module_init()

DEFAULT_FORMAT
#define DEFAULT_FORMAT
Definition: module-example-sink.c:56
DEFAULT_CHANNELS
#define DEFAULT_CHANNELS
Definition: module-example-sink.c:58
DEFAULT_POSITION
#define DEFAULT_POSITION
Definition: module-example-sink.c:59
DEFAULT_RATE
#define DEFAULT_RATE
Definition: module-example-sink.c:57