[polypaudio-commits] r1039 - in /trunk/src: daemon/ modules/ pulse/ pulsecore/
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Mon Jun 19 16:52:00 PDT 2006
Author: lennart
Date: Tue Jun 20 01:51:58 2006
New Revision: 1039
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=1039&root=pulseaudio&view=rev
Log:
* more s/pulseaudio/PulseAudio/ replacements
* name the per-user dir ~/.pulse (instead of .pulseaudio), just like /etc/pulse/
Modified:
trunk/src/daemon/daemon-conf.c
trunk/src/modules/module-jack-sink.c
trunk/src/modules/module-jack-source.c
trunk/src/modules/module-match.c
trunk/src/modules/module-volume-restore.c
trunk/src/modules/module-zeroconf-publish.c
trunk/src/pulse/browser.c
trunk/src/pulse/client-conf.c
trunk/src/pulse/client-conf.h
trunk/src/pulse/context.h
trunk/src/pulse/def.h
trunk/src/pulse/introspect.h
trunk/src/pulse/mainloop-api.h
trunk/src/pulsecore/cli.c
trunk/src/pulsecore/core-error.c
trunk/src/pulsecore/core-util.c
trunk/src/pulsecore/core.h
trunk/src/pulsecore/native-common.h
Modified: trunk/src/daemon/daemon-conf.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/daemon/daemon-conf.c?rev=1039&root=pulseaudio&r1=1038&r2=1039&view=diff
==============================================================================
--- trunk/src/daemon/daemon-conf.c (original)
+++ trunk/src/daemon/daemon-conf.c Tue Jun 20 01:51:58 2006
@@ -41,7 +41,7 @@
#ifndef DEFAULT_CONFIG_DIR
# ifndef OS_IS_WIN32
-# define DEFAULT_CONFIG_DIR "/etc/pulseaudio"
+# define DEFAULT_CONFIG_DIR "/etc/pulse"
# else
# define DEFAULT_CONFIG_DIR "%POLYP_ROOT%"
# endif
@@ -54,9 +54,9 @@
#endif
#define DEFAULT_SCRIPT_FILE DEFAULT_CONFIG_DIR PATH_SEP "default.pa"
-#define DEFAULT_SCRIPT_FILE_USER ".pulseaudio" PATH_SEP "default.pa"
+#define DEFAULT_SCRIPT_FILE_USER ".pulse" PATH_SEP "default.pa"
#define DEFAULT_CONFIG_FILE DEFAULT_CONFIG_DIR PATH_SEP "daemon.conf"
-#define DEFAULT_CONFIG_FILE_USER ".pulseaudio" PATH_SEP "daemon.conf"
+#define DEFAULT_CONFIG_FILE_USER ".pulse" PATH_SEP "daemon.conf"
#define ENV_SCRIPT_FILE "POLYP_SCRIPT"
#define ENV_CONFIG_FILE "POLYP_CONFIG"
Modified: trunk/src/modules/module-jack-sink.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/modules/module-jack-sink.c?rev=1039&root=pulseaudio&r1=1038&r2=1039&view=diff
==============================================================================
--- trunk/src/modules/module-jack-sink.c (original)
+++ trunk/src/modules/module-jack-sink.c Tue Jun 20 01:51:58 2006
@@ -261,7 +261,7 @@
}
server_name = pa_modargs_get_value(ma, "server_name", NULL);
- client_name = pa_modargs_get_value(ma, "client_name", "pulseaudio");
+ client_name = pa_modargs_get_value(ma, "client_name", "PulseAudio");
u = pa_xnew0(struct userdata, 1);
m->userdata = u;
Modified: trunk/src/modules/module-jack-source.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/modules/module-jack-source.c?rev=1039&root=pulseaudio&r1=1038&r2=1039&view=diff
==============================================================================
--- trunk/src/modules/module-jack-source.c (original)
+++ trunk/src/modules/module-jack-source.c Tue Jun 20 01:51:58 2006
@@ -259,7 +259,7 @@
}
server_name = pa_modargs_get_value(ma, "server_name", NULL);
- client_name = pa_modargs_get_value(ma, "client_name", "pulseaudio");
+ client_name = pa_modargs_get_value(ma, "client_name", "PulseAudio");
u = pa_xnew0(struct userdata, 1);
m->userdata = u;
Modified: trunk/src/modules/module-match.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/modules/module-match.c?rev=1039&root=pulseaudio&r1=1038&r2=1039&view=diff
==============================================================================
--- trunk/src/modules/module-match.c (original)
+++ trunk/src/modules/module-match.c Tue Jun 20 01:51:58 2006
@@ -53,11 +53,11 @@
#define WHITESPACE "\n\r \t"
#ifndef DEFAULT_CONFIG_DIR
-#define DEFAULT_CONFIG_DIR "/etc/pulseaudio"
+#define DEFAULT_CONFIG_DIR "/etc/pulse"
#endif
#define DEFAULT_MATCH_TABLE_FILE DEFAULT_CONFIG_DIR"/match.table"
-#define DEFAULT_MATCH_TABLE_FILE_USER ".pulseaudio/match.table"
+#define DEFAULT_MATCH_TABLE_FILE_USER ".pulse/match.table"
static const char* const valid_modargs[] = {
"table",
Modified: trunk/src/modules/module-volume-restore.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/modules/module-volume-restore.c?rev=1039&root=pulseaudio&r1=1038&r2=1039&view=diff
==============================================================================
--- trunk/src/modules/module-volume-restore.c (original)
+++ trunk/src/modules/module-volume-restore.c Tue Jun 20 01:51:58 2006
@@ -53,7 +53,7 @@
#define WHITESPACE "\n\r \t"
-#define DEFAULT_VOLUME_TABLE_FILE ".pulseaudio/volume.table"
+#define DEFAULT_VOLUME_TABLE_FILE ".pulse/volume.table"
static const char* const valid_modargs[] = {
"table",
Modified: trunk/src/modules/module-zeroconf-publish.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/modules/module-zeroconf-publish.c?rev=1039&root=pulseaudio&r1=1038&r2=1039&view=diff
==============================================================================
--- trunk/src/modules/module-zeroconf-publish.c (original)
+++ trunk/src/modules/module-zeroconf-publish.c Tue Jun 20 01:51:58 2006
@@ -53,9 +53,9 @@
PA_MODULE_VERSION(PACKAGE_VERSION)
PA_MODULE_USAGE("port=<IP port number>")
-#define SERVICE_NAME_SINK "_pulseaudio-sink._tcp"
-#define SERVICE_NAME_SOURCE "_pulseaudio-source._tcp"
-#define SERVICE_NAME_SERVER "_pulseaudio-server._tcp"
+#define SERVICE_NAME_SINK "_pulse-sink._tcp"
+#define SERVICE_NAME_SOURCE "_pulse-source._tcp"
+#define SERVICE_NAME_SERVER "_pulse-server._tcp"
static const char* const valid_modargs[] = {
"port",
Modified: trunk/src/pulse/browser.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/pulse/browser.c?rev=1039&root=pulseaudio&r1=1038&r2=1039&view=diff
==============================================================================
--- trunk/src/pulse/browser.c (original)
+++ trunk/src/pulse/browser.c Tue Jun 20 01:51:58 2006
@@ -29,9 +29,9 @@
#include "browser.h"
-#define SERVICE_NAME_SINK "_pulseaudio-sink._tcp."
-#define SERVICE_NAME_SOURCE "_pulseaudio-source._tcp."
-#define SERVICE_NAME_SERVER "_pulseaudio-server._tcp."
+#define SERVICE_NAME_SINK "_pulse-sink._tcp."
+#define SERVICE_NAME_SOURCE "_pulse-source._tcp."
+#define SERVICE_NAME_SERVER "_pulse-server._tcp."
struct pa_browser {
int ref;
Modified: trunk/src/pulse/client-conf.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/pulse/client-conf.c?rev=1039&root=pulseaudio&r1=1038&r2=1039&view=diff
==============================================================================
--- trunk/src/pulse/client-conf.c (original)
+++ trunk/src/pulse/client-conf.c Tue Jun 20 01:51:58 2006
@@ -41,7 +41,7 @@
#ifndef DEFAULT_CONFIG_DIR
# ifndef OS_IS_WIN32
-# define DEFAULT_CONFIG_DIR "/etc/pulseaudio"
+# define DEFAULT_CONFIG_DIR "/etc/pulse"
# else
# define DEFAULT_CONFIG_DIR "%POLYP_ROOT%"
# endif
@@ -54,7 +54,7 @@
#endif
#define DEFAULT_CLIENT_CONFIG_FILE DEFAULT_CONFIG_DIR PATH_SEP "client.conf"
-#define DEFAULT_CLIENT_CONFIG_FILE_USER ".pulseaudio" PATH_SEP "client.conf"
+#define DEFAULT_CLIENT_CONFIG_FILE_USER ".pulse" PATH_SEP "client.conf"
#define ENV_CLIENT_CONFIG_FILE "POLYP_CLIENTCONFIG"
#define ENV_DEFAULT_SINK "POLYP_SINK"
Modified: trunk/src/pulse/client-conf.h
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/pulse/client-conf.h?rev=1039&root=pulseaudio&r1=1038&r2=1039&view=diff
==============================================================================
--- trunk/src/pulse/client-conf.h (original)
+++ trunk/src/pulse/client-conf.h Tue Jun 20 01:51:58 2006
@@ -24,7 +24,7 @@
#include <pulsecore/native-common.h>
-/* A structure containing configuration data for pulseaudio clients. */
+/* A structure containing configuration data for PulseAudio clients. */
typedef struct pa_client_conf {
char *daemon_binary, *extra_arguments, *default_sink, *default_source, *default_server, *cookie_file;
Modified: trunk/src/pulse/context.h
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/pulse/context.h?rev=1039&root=pulseaudio&r1=1038&r2=1039&view=diff
==============================================================================
--- trunk/src/pulse/context.h (original)
+++ trunk/src/pulse/context.h Tue Jun 20 01:51:58 2006
@@ -32,7 +32,7 @@
*
* \section overv_sec Overview
*
- * The asynchronous API is the native interface to the pulseaudio library.
+ * The asynchronous API is the native interface to the PulseAudio library.
* It allows full access to all available functions. This also means that
* it is rather complex and can take some time to fully master.
*
@@ -52,10 +52,10 @@
*
* To actually be able to use these functions, an implementation needs to
* be coupled to the abstraction. There are three of these shipped with
- * pulseaudio, but any other can be used with a minimal ammount of work,
+ * PulseAudio, but any other can be used with a minimal ammount of work,
* provided it supports the three basic events listed above.
*
- * The implementations shipped with pulseaudio are:
+ * The implementations shipped with PulseAudio are:
*
* \li \subpage mainloop - A minimal but fast implementation based on poll().
* \li \subpage threaded_mainloop - A special version of the previous
@@ -71,7 +71,7 @@
*
* \section refcnt_sec Reference Counting
*
- * Almost all objects in pulseaudio are reference counted. What that means
+ * Almost all objects in PulseAudio are reference counted. What that means
* is that you rarely malloc() or free() any objects. Instead you increase
* and decrease their reference counts. Whenever an object's reference
* count reaches zero, that object gets destroy and any resources it uses
@@ -89,7 +89,7 @@
*
* \section context_sec Context
*
- * A context is the basic object for a connection to a pulseaudio server.
+ * A context is the basic object for a connection to a PulseAudio server.
* It multiplexes commands, data streams and events through a single
* channel.
*
@@ -142,7 +142,7 @@
/** \file
* Connection contexts for asynchrononous communication with a
- * server. A pa_context object wraps a connection to a pulseaudio
+ * server. A pa_context object wraps a connection to a PulseAudio
* server using its native protocol. */
/** \example pacat.c
Modified: trunk/src/pulse/def.h
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/pulse/def.h?rev=1039&root=pulseaudio&r1=1038&r2=1039&view=diff
==============================================================================
--- trunk/src/pulse/def.h (original)
+++ trunk/src/pulse/def.h Tue Jun 20 01:51:58 2006
@@ -66,7 +66,7 @@
/** Some special flags for contexts. \since 0.8 */
typedef enum pa_context_flags {
- PA_CONTEXT_NOAUTOSPAWN = 1 /**< Disabled autospawning of the pulseaudio daemon if required */
+ PA_CONTEXT_NOAUTOSPAWN = 1 /**< Disabled autospawning of the PulseAudio daemon if required */
} pa_context_flags_t;
/** The direction of a pa_stream object */
Modified: trunk/src/pulse/introspect.h
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/pulse/introspect.h?rev=1039&root=pulseaudio&r1=1038&r2=1039&view=diff
==============================================================================
--- trunk/src/pulse/introspect.h (original)
+++ trunk/src/pulse/introspect.h Tue Jun 20 01:51:58 2006
@@ -270,7 +270,7 @@
pa_sample_spec sample_spec; /**< Default sample specification */
const char *default_sink_name; /**< Name of default sink. \since 0.4 */
const char *default_source_name; /**< Name of default sink. \since 0.4*/
- uint32_t cookie; /**< A random cookie for identifying this instance of pulseaudio. \since 0.8 */
+ uint32_t cookie; /**< A random cookie for identifying this instance of PulseAudio. \since 0.8 */
} pa_server_info;
/** Callback prototype for pa_context_get_server_info() */
Modified: trunk/src/pulse/mainloop-api.h
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/pulse/mainloop-api.h?rev=1039&root=pulseaudio&r1=1038&r2=1039&view=diff
==============================================================================
--- trunk/src/pulse/mainloop-api.h (original)
+++ trunk/src/pulse/mainloop-api.h Tue Jun 20 01:51:58 2006
@@ -29,13 +29,13 @@
/** \file
*
- * Main loop abstraction layer. Both the pulseaudio core and the
- * pulseaudio client library use a main loop abstraction layer. Due to
- * this it is possible to embed pulseaudio into other
+ * Main loop abstraction layer. Both the PulseAudio core and the
+ * PulseAudio client library use a main loop abstraction layer. Due to
+ * this it is possible to embed PulseAudio into other
* applications easily. Two main loop implemenations are
* currently available:
* \li A minimal implementation based on the C library's poll() function (See \ref mainloop.h)
- * \li A wrapper around the GLIB main loop. Use this to embed pulseaudio into your GLIB/GTK+/GNOME programs (See \ref glib-mainloop.h)
+ * \li A wrapper around the GLIB main loop. Use this to embed PulseAudio into your GLIB/GTK+/GNOME programs (See \ref glib-mainloop.h)
*
* The structure pa_mainloop_api is used as vtable for the main loop abstraction.
*
Modified: trunk/src/pulsecore/cli.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/pulsecore/cli.c?rev=1039&root=pulseaudio&r1=1038&r2=1039&view=diff
==============================================================================
--- trunk/src/pulsecore/cli.c (original)
+++ trunk/src/pulsecore/cli.c Tue Jun 20 01:51:58 2006
@@ -84,7 +84,7 @@
c->client->owner = m;
pa_ioline_set_callback(c->line, line_callback, c);
- pa_ioline_puts(c->line, "Welcome to pulseaudio! Use \"help\" for usage information.\n"PROMPT);
+ pa_ioline_puts(c->line, "Welcome to PulseAudio! Use \"help\" for usage information.\n"PROMPT);
c->fail = c->kill_requested = c->defer_kill = 0;
Modified: trunk/src/pulsecore/core-error.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/pulsecore/core-error.c?rev=1039&root=pulseaudio&r1=1038&r2=1039&view=diff
==============================================================================
--- trunk/src/pulsecore/core-error.c (original)
+++ trunk/src/pulsecore/core-error.c Tue Jun 20 01:51:58 2006
@@ -68,7 +68,7 @@
HANDLE mutex;
char name[64];
- sprintf(name, "pulseaudio%d", (int)GetCurrentProcessId());
+ sprintf(name, "pulse%d", (int)GetCurrentProcessId());
mutex = CreateMutex(NULL, FALSE, name);
if (!mutex) {
Modified: trunk/src/pulsecore/core-util.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/pulsecore/core-util.c?rev=1039&root=pulseaudio&r1=1038&r2=1039&view=diff
==============================================================================
--- trunk/src/pulsecore/core-util.c (original)
+++ trunk/src/pulsecore/core-util.c Tue Jun 20 01:51:58 2006
@@ -79,10 +79,10 @@
#include "core-util.h"
#ifndef OS_IS_WIN32
-#define PA_RUNTIME_PATH_PREFIX "/tmp/pulseaudio-"
+#define PA_RUNTIME_PATH_PREFIX "/tmp/pulse-"
#define PATH_SEP '/'
#else
-#define PA_RUNTIME_PATH_PREFIX "%TEMP%\\pulseaudio-"
+#define PA_RUNTIME_PATH_PREFIX "%TEMP%\\pulse-"
#define PATH_SEP '\\'
#endif
@@ -961,7 +961,7 @@
return l1 >= l2 && strcmp(s+l1-l2, sfx) == 0;
}
-/* if fn is null return the pulseaudio run time path in s (/tmp/pulseaudio)
+/* if fn is null return the PulseAudio run time path in s (/tmp/pulse)
* if fn is non-null and starts with / return fn in s
* otherwise append fn to the run time path and return it in s */
char *pa_runtime_path(const char *fn, char *s, size_t l) {
Modified: trunk/src/pulsecore/core.h
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/pulsecore/core.h?rev=1039&root=pulseaudio&r1=1038&r2=1039&view=diff
==============================================================================
--- trunk/src/pulsecore/core.h (original)
+++ trunk/src/pulsecore/core.h Tue Jun 20 01:51:58 2006
@@ -33,13 +33,13 @@
#include <pulsecore/queue.h>
#include <pulsecore/core-subscribe.h>
-/* The core structure of pulseaudio. Every pulseaudio daemon contains
+/* The core structure of PulseAudio. Every PulseAudio daemon contains
* exactly one of these. It is used for storing kind of global
* variables for the daemon. */
struct pa_core {
/* A random value which may be used to identify this instance of
- * pulseaudio. Not cryptographically secure in any way. */
+ * PulseAudio. Not cryptographically secure in any way. */
uint32_t cookie;
pa_mainloop_api *mainloop;
Modified: trunk/src/pulsecore/native-common.h
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/pulsecore/native-common.h?rev=1039&root=pulseaudio&r1=1038&r2=1039&view=diff
==============================================================================
--- trunk/src/pulsecore/native-common.h (original)
+++ trunk/src/pulsecore/native-common.h Tue Jun 20 01:51:58 2006
@@ -112,7 +112,7 @@
};
#define PA_NATIVE_COOKIE_LENGTH 256
-#define PA_NATIVE_COOKIE_FILE ".pulseaudio-cookie"
+#define PA_NATIVE_COOKIE_FILE ".pulse-cookie"
#define PA_NATIVE_DEFAULT_PORT 4713
More information about the pulseaudio-commits
mailing list