mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
build-sys: Stop using symdef headers for modules
This removes the symdef header generation m4 magic in favour of a simpler macro method, allowing us to skip one unnecessary build step while moving to meson, and removing an 11 year old todo!
This commit is contained in:
parent
bcd755bbe6
commit
d9624e0382
90 changed files with 124 additions and 411 deletions
|
|
@ -59,12 +59,6 @@
|
|||
# define UNIX_SOCKET "simple"
|
||||
# define MODULE_ARGUMENTS "rate", "format", "channels", "sink", "source", "playback", "record",
|
||||
|
||||
# if defined(USE_TCP_SOCKETS)
|
||||
# include "module-simple-protocol-tcp-symdef.h"
|
||||
# else
|
||||
# include "module-simple-protocol-unix-symdef.h"
|
||||
# endif
|
||||
|
||||
PA_MODULE_DESCRIPTION("Simple protocol "SOCKET_DESCRIPTION);
|
||||
PA_MODULE_USAGE("rate=<sample rate> "
|
||||
"format=<sample format> "
|
||||
|
|
@ -81,12 +75,6 @@
|
|||
# define UNIX_SOCKET "cli"
|
||||
# define MODULE_ARGUMENTS
|
||||
|
||||
# ifdef USE_TCP_SOCKETS
|
||||
# include "module-cli-protocol-tcp-symdef.h"
|
||||
# else
|
||||
# include "module-cli-protocol-unix-symdef.h"
|
||||
# endif
|
||||
|
||||
PA_MODULE_DESCRIPTION("Command line interface protocol "SOCKET_DESCRIPTION);
|
||||
PA_MODULE_USAGE(SOCKET_USAGE);
|
||||
#elif defined(USE_PROTOCOL_HTTP)
|
||||
|
|
@ -96,12 +84,6 @@
|
|||
# define UNIX_SOCKET "http"
|
||||
# define MODULE_ARGUMENTS
|
||||
|
||||
# ifdef USE_TCP_SOCKETS
|
||||
# include "module-http-protocol-tcp-symdef.h"
|
||||
# else
|
||||
# include "module-http-protocol-unix-symdef.h"
|
||||
# endif
|
||||
|
||||
PA_MODULE_DESCRIPTION("HTTP "SOCKET_DESCRIPTION);
|
||||
PA_MODULE_USAGE(SOCKET_USAGE);
|
||||
#elif defined(USE_PROTOCOL_NATIVE)
|
||||
|
|
@ -111,12 +93,6 @@
|
|||
# define UNIX_SOCKET PA_NATIVE_DEFAULT_UNIX_SOCKET
|
||||
# define MODULE_ARGUMENTS_COMMON "cookie", "auth-cookie", "auth-cookie-enabled", "auth-anonymous",
|
||||
|
||||
# ifdef USE_TCP_SOCKETS
|
||||
# include "module-native-protocol-tcp-symdef.h"
|
||||
# else
|
||||
# include "module-native-protocol-unix-symdef.h"
|
||||
# endif
|
||||
|
||||
# if defined(HAVE_CREDS) && !defined(USE_TCP_SOCKETS)
|
||||
# define MODULE_ARGUMENTS MODULE_ARGUMENTS_COMMON "auth-group", "auth-group-enable", "srbchannel",
|
||||
# define AUTH_USAGE "auth-group=<system group to allow access> auth-group-enable=<enable auth by UNIX group?> "
|
||||
|
|
@ -145,12 +121,6 @@
|
|||
# define IPV4_PORT ESD_DEFAULT_PORT
|
||||
# define MODULE_ARGUMENTS_COMMON "sink", "source", "auth-anonymous", "cookie", "auth-cookie", "auth-cookie-enabled",
|
||||
|
||||
# ifdef USE_TCP_SOCKETS
|
||||
# include "module-esound-protocol-tcp-symdef.h"
|
||||
# else
|
||||
# include "module-esound-protocol-unix-symdef.h"
|
||||
# endif
|
||||
|
||||
# if defined(USE_TCP_SOCKETS)
|
||||
# define MODULE_ARGUMENTS MODULE_ARGUMENTS_COMMON "auth-ip-acl",
|
||||
# define AUTH_USAGE "auth-ip-acl=<IP address ACL to allow access> "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue