mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
* more s/pulseaudio/PulseAudio/ replacements
* name the per-user dir ~/.pulse (instead of .pulseaudio), just like /etc/pulse/ git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1039 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
fe1dadbadd
commit
3cf1621433
18 changed files with 37 additions and 37 deletions
|
|
@ -84,7 +84,7 @@ pa_cli* pa_cli_new(pa_core *core, pa_iochannel *io, pa_module *m) {
|
|||
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;
|
||||
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ static void inittls(void) {
|
|||
HANDLE mutex;
|
||||
char name[64];
|
||||
|
||||
sprintf(name, "pulseaudio%d", (int)GetCurrentProcessId());
|
||||
sprintf(name, "pulse%d", (int)GetCurrentProcessId());
|
||||
|
||||
mutex = CreateMutex(NULL, FALSE, name);
|
||||
if (!mutex) {
|
||||
|
|
|
|||
|
|
@ -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 @@ int pa_endswith(const char *s, const char *sfx) {
|
|||
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) {
|
||||
|
|
|
|||
|
|
@ -33,13 +33,13 @@ typedef struct pa_core pa_core;
|
|||
#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;
|
||||
|
|
|
|||
|
|
@ -112,7 +112,7 @@ enum {
|
|||
};
|
||||
|
||||
#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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue