platform/upstream/pulseaudio.git
18 years agoFix incorrect call to nonexistant pa_log_warning().
Pierre Ossman [Thu, 20 Jul 2006 13:28:50 +0000 (13:28 +0000)]
Fix incorrect call to nonexistant pa_log_warning().

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1122 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoOnly warn when running as root and not --system.
Pierre Ossman [Thu, 20 Jul 2006 13:24:57 +0000 (13:24 +0000)]
Only warn when running as root and not --system.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1121 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoCentralise check if we're running as root.
Pierre Ossman [Thu, 20 Jul 2006 13:24:04 +0000 (13:24 +0000)]
Centralise check if we're running as root.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1120 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoMove check for SUID into the caps functions.
Pierre Ossman [Thu, 20 Jul 2006 13:19:16 +0000 (13:19 +0000)]
Move check for SUID into the caps functions.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1119 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoHandle user switch in a more platform independent manner.
Pierre Ossman [Thu, 20 Jul 2006 13:16:23 +0000 (13:16 +0000)]
Handle user switch in a more platform independent manner.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1118 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoMake sure parse_rlimit is only used when rlimits are supported.
Pierre Ossman [Thu, 20 Jul 2006 13:07:01 +0000 (13:07 +0000)]
Make sure parse_rlimit is only used when rlimits are supported.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1117 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoadd support to set resource limits for the daemon and set some of them to some sane...
Lennart Poettering [Thu, 20 Jul 2006 01:25:37 +0000 (01:25 +0000)]
add support to set resource limits for the daemon and set some of them to some sane values

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1116 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoundo r1111 in some way: include sys/socket.h and sys/un.h but wrap it in #ifdef
Lennart Poettering [Thu, 20 Jul 2006 00:52:44 +0000 (00:52 +0000)]
undo r1111 in some way: include sys/socket.h and sys/un.h but wrap it in #ifdef
HAVE_xxx_H. This should be safe because config.h should be the first included
header in all .c files and creds.h is never included by any external tools

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1115 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoAdd missing header.
Pierre Ossman [Thu, 20 Jul 2006 00:28:18 +0000 (00:28 +0000)]
Add missing header.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1114 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoMake -1 mean "current group/user" so that some platform dependent calls
Pierre Ossman [Thu, 20 Jul 2006 00:21:50 +0000 (00:21 +0000)]
Make -1 mean "current group/user" so that some platform dependent calls
can be centralised.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1113 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoProtect platform dependent headers with ifdefs.
Pierre Ossman [Thu, 20 Jul 2006 00:13:12 +0000 (00:13 +0000)]
Protect platform dependent headers with ifdefs.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1112 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoRemove unneeded headers.
Pierre Ossman [Thu, 20 Jul 2006 00:12:52 +0000 (00:12 +0000)]
Remove unneeded headers.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1111 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoadd a few comments
Lennart Poettering [Wed, 19 Jul 2006 23:16:02 +0000 (23:16 +0000)]
add a few comments

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1110 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years ago* add new function pa_check_in_group()
Lennart Poettering [Wed, 19 Jul 2006 21:48:35 +0000 (21:48 +0000)]
* add new function pa_check_in_group()
* abstract credential APis a little bit by introducing HAVE_CREDS and a structure pa_creds
* rework credential authentication
* fix module-volume-restore and friends for usage in system-wide instance
* remove loopback= argument from moulde-*-protocol-tcp since it is a superset of listen= and usually a bad idea anyway since the user shouldn't load the TCP module at all if he doesn't want remote access
* rename a few variables in the jack modules to make sure they don't conflict with symbols defined in the system headers
* add server address for system-wide daemons to the default server list for the the client libs
* update todo

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1109 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agouse access group dedclared in ~/.pulse/client.conf instead of PA_ACCESS_GROUP
Lennart Poettering [Wed, 19 Jul 2006 18:14:14 +0000 (18:14 +0000)]
use access group dedclared in ~/.pulse/client.conf instead of PA_ACCESS_GROUP

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1108 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoupdate @@ tokens according to recent Makefile.am change
Lennart Poettering [Wed, 19 Jul 2006 18:11:12 +0000 (18:11 +0000)]
update @@ tokens according to recent Makefile.am change

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1107 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agofix sed scripts according to #define renames
Lennart Poettering [Wed, 19 Jul 2006 18:08:29 +0000 (18:08 +0000)]
fix sed scripts according to #define renames

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1106 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years ago* add new --system command line parameter to the daemon for running PulseAudio as...
Lennart Poettering [Wed, 19 Jul 2006 17:44:19 +0000 (17:44 +0000)]
* add new --system command line parameter to the daemon for running PulseAudio as system-wide instance
* add PA_ prefixes to all global #defines
* modify auth-by-creds: define a new group "pulse-access" which is used for authentication
* add proper privilige dropping when running in --system mode
* create runtime directory once on startup and not by each module seperately

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1105 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoremove glib 1.2 adapter. It started to bitrot and wasn't used by anything anyway.
Lennart Poettering [Tue, 18 Jul 2006 19:53:29 +0000 (19:53 +0000)]
remove glib 1.2 adapter. It started to bitrot and wasn't used by anything anyway.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1104 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoadd two more \since
Lennart Poettering [Tue, 18 Jul 2006 19:50:09 +0000 (19:50 +0000)]
add two more \since

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1103 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agofix module-detect on FreeBSD (patch from Diego "Flameeyes" Pettenó)
Lennart Poettering [Tue, 18 Jul 2006 19:19:52 +0000 (19:19 +0000)]
fix module-detect on FreeBSD (patch from Diego "Flameeyes" Pettenó)

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1102 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoturn the glib adapter into a single GSource instead of creating a bunch of seperate...
Lennart Poettering [Tue, 18 Jul 2006 18:52:13 +0000 (18:52 +0000)]
turn the glib adapter into a single GSource instead of creating a bunch of seperate GSources for each event

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1101 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agodefine proper typdefs for callback prototypes
Lennart Poettering [Tue, 18 Jul 2006 18:51:35 +0000 (18:51 +0000)]
define proper typdefs for callback prototypes

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1100 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agochange licensing blurb form "Library GPL" to "Lesser GPL" on request of Loic Minier...
Lennart Poettering [Mon, 17 Jul 2006 21:20:31 +0000 (21:20 +0000)]
change licensing blurb form "Library GPL" to "Lesser GPL" on request of Loic Minier. Effectively this means using the same license blurb like in all other source files.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1099 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoForgot to protect one access to with_creds with an ifdef.
Pierre Ossman [Mon, 17 Jul 2006 11:42:25 +0000 (11:42 +0000)]
Forgot to protect one access to with_creds with an ifdef.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1098 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoRestore SIGPIPE warning when the platform doesn't have MSG_NOSIGNAL.
Pierre Ossman [Mon, 17 Jul 2006 11:26:29 +0000 (11:26 +0000)]
Restore SIGPIPE warning when the platform doesn't have MSG_NOSIGNAL.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1097 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agomake pulseaudio compile again on FreeBSD (patch from Diego "Flameeyes" Petteno)
Lennart Poettering [Sun, 16 Jul 2006 23:20:27 +0000 (23:20 +0000)]
make pulseaudio compile again on FreeBSD (patch from Diego "Flameeyes" Petteno)

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1096 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agotodo
Lennart Poettering [Sun, 16 Jul 2006 17:42:29 +0000 (17:42 +0000)]
todo

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1095 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoshow summary after "configure" has run (closes: #22)
Lennart Poettering [Sun, 16 Jul 2006 17:38:45 +0000 (17:38 +0000)]
show summary after "configure" has run (closes: #22)

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1094 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoshow value of PA_SINK_HARDWARE/PA_SOURCE_HARDWARE in pactl
Lennart Poettering [Sun, 16 Jul 2006 17:29:09 +0000 (17:29 +0000)]
show value of PA_SINK_HARDWARE/PA_SOURCE_HARDWARE in pactl

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1093 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoset is_hardware flag for a few hw plugins
Lennart Poettering [Sun, 16 Jul 2006 17:28:41 +0000 (17:28 +0000)]
set is_hardware flag for a few hw plugins

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1092 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoadd new PA_SOURCE_HARDWARE/PA_SINK_HARDWARE flag
Lennart Poettering [Sun, 16 Jul 2006 17:28:10 +0000 (17:28 +0000)]
add new PA_SOURCE_HARDWARE/PA_SINK_HARDWARE flag

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1091 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoadd a new boolean variable is_hardware to pa_sink/pa_source to denote wether the...
Lennart Poettering [Sun, 16 Jul 2006 17:26:55 +0000 (17:26 +0000)]
add a new boolean variable is_hardware to pa_sink/pa_source to denote wether the specific device is a hardware device or virtual/software

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1090 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoupdate todo
Lennart Poettering [Sat, 15 Jul 2006 12:40:27 +0000 (12:40 +0000)]
update todo

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1089 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoimprove latency calculation of NULL sink
Lennart Poettering [Fri, 14 Jul 2006 23:59:42 +0000 (23:59 +0000)]
improve latency calculation of NULL sink

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1088 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoupdate todo
Lennart Poettering [Fri, 14 Jul 2006 23:08:14 +0000 (23:08 +0000)]
update todo

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1087 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoremove checking for SIGPIPE blocking from client code. Because we use
Lennart Poettering [Fri, 14 Jul 2006 23:06:44 +0000 (23:06 +0000)]
remove checking for SIGPIPE blocking from client code. Because we use
send(,,MSG_NOSIGNAL) for most socket writes now the reason for SIGPIPE blocking
is no longer give. We keep this check for the server side however, because
pipes create SIGPIPE too but cannot be used with MSG_NOSIGNAL. Some modules use
pipes for internal and external communication.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1086 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agodon't send SCM_CREDENTIALS on every sendmsg(), instead do it only on handshake
Lennart Poettering [Fri, 14 Jul 2006 23:00:57 +0000 (23:00 +0000)]
don't send SCM_CREDENTIALS on every sendmsg(), instead do it only on handshake

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1085 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agodon't set MSG_NOSIGNAL for recvmsg(), since it doesn't make sense there
Lennart Poettering [Fri, 14 Jul 2006 23:00:20 +0000 (23:00 +0000)]
don't set MSG_NOSIGNAL for recvmsg(), since it doesn't make sense there

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1084 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agotry to use send(,,MSG_NOSIGNAL) instead of write() wherever possible (which
Lennart Poettering [Fri, 14 Jul 2006 22:42:01 +0000 (22:42 +0000)]
try to use send(,,MSG_NOSIGNAL) instead of write() wherever possible (which
will allow us to drop the SIGPIPE check). Cache the results of the last
write()/send() to make sure that we do not issue more than necessary system
calls.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1083 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoremove vi'ism
Lennart Poettering [Fri, 14 Jul 2006 10:20:57 +0000 (10:20 +0000)]
remove vi'ism

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1082 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoupdate todo
Lennart Poettering [Fri, 14 Jul 2006 10:19:46 +0000 (10:19 +0000)]
update todo

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1081 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoMake sure the win32 default conf gets shipped.
Pierre Ossman [Fri, 14 Jul 2006 10:08:53 +0000 (10:08 +0000)]
Make sure the win32 default conf gets shipped.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1080 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoadd new test get-binary-name-test for testing pa_get_binary_name()
Lennart Poettering [Fri, 14 Jul 2006 00:19:09 +0000 (00:19 +0000)]
add new test get-binary-name-test for testing pa_get_binary_name()

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1079 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoDon't call pa_path_get_filename() anymore since it is implicitly called by pa_get_bin...
Lennart Poettering [Fri, 14 Jul 2006 00:18:21 +0000 (00:18 +0000)]
Don't call pa_path_get_filename() anymore since it is implicitly called by pa_get_binary_name() anyway

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1078 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years ago* fall back to prctl(PR_GET_NAME) in pa_get_binary_name() if readlink() fails
Lennart Poettering [Fri, 14 Jul 2006 00:17:31 +0000 (00:17 +0000)]
* fall back to prctl(PR_GET_NAME) in pa_get_binary_name() if readlink() fails
* call pa_path_get_filename() in all cases before returning in pa_get_binary_name(). We already did so on Win32, but didn't on Linux.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1077 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agosupport time events with NULL timevals which are OK in avahi, but not in PA. This...
Lennart Poettering [Thu, 13 Jul 2006 23:12:50 +0000 (23:12 +0000)]
support time events with NULL timevals which are OK in avahi, but not in PA. This makes padevchooser actually work on top of the new avahi browsing stuff

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1076 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoupdate todo
Lennart Poettering [Thu, 13 Jul 2006 23:10:48 +0000 (23:10 +0000)]
update todo

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1075 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoremove avahi/howl item from todo list
Lennart Poettering [Thu, 13 Jul 2006 18:23:57 +0000 (18:23 +0000)]
remove avahi/howl item from todo list

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1074 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoremove howl-wrap.[ch]
Lennart Poettering [Thu, 13 Jul 2006 17:44:54 +0000 (17:44 +0000)]
remove howl-wrap.[ch]

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1073 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoremove HOWL snippet from configure script
Lennart Poettering [Thu, 13 Jul 2006 17:44:18 +0000 (17:44 +0000)]
remove HOWL snippet from configure script

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1072 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years ago* add proper error handling to pabrowse.c
Lennart Poettering [Thu, 13 Jul 2006 17:35:10 +0000 (17:35 +0000)]
* add proper error handling to pabrowse.c
* properly destroy pa_browser object on exit

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1071 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoadd browser.h to doxygen docs
Lennart Poettering [Thu, 13 Jul 2006 17:34:08 +0000 (17:34 +0000)]
add browser.h to doxygen docs

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1070 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years ago* port libpulse-browse to use the native avahi API instead of the HOWL cruft
Lennart Poettering [Thu, 13 Jul 2006 17:33:44 +0000 (17:33 +0000)]
* port libpulse-browse to use the native avahi API instead of the HOWL cruft
* add new function pa_browser_set_error_callback()
* add doxygen docs to browser.h

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1069 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoupdate module-zeroconf-publish to make use of the native AVAHI API, instead of HOWL
Lennart Poettering [Thu, 13 Jul 2006 15:54:13 +0000 (15:54 +0000)]
update module-zeroconf-publish to make use of the native AVAHI API, instead of HOWL

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1068 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agomake sure gccmacro.h and cdecl.h may be included at the same time as those headers...
Lennart Poettering [Thu, 13 Jul 2006 15:52:34 +0000 (15:52 +0000)]
make sure gccmacro.h and cdecl.h may be included at the same time as those headers from the avahi project

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1067 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agocheck for avahi in configure.ac
Lennart Poettering [Thu, 13 Jul 2006 15:51:49 +0000 (15:51 +0000)]
check for avahi in configure.ac

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1066 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agomark HAL for shams king
Lennart Poettering [Mon, 10 Jul 2006 17:56:05 +0000 (17:56 +0000)]
mark HAL for shams king

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1065 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years ago* remove doc/ directory
Lennart Poettering [Sat, 8 Jul 2006 13:25:35 +0000 (13:25 +0000)]
* remove doc/ directory
* move doc/todo to root dir

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1063 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoRemove some unused m4 files.
Pierre Ossman [Sat, 8 Jul 2006 11:29:14 +0000 (11:29 +0000)]
Remove some unused m4 files.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1062 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoFix typo.
Pierre Ossman [Sat, 8 Jul 2006 10:51:46 +0000 (10:51 +0000)]
Fix typo.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1061 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agounhide a few files
Lennart Poettering [Sat, 8 Jul 2006 10:40:15 +0000 (10:40 +0000)]
unhide a few files

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1060 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoremove all docs from tarball since they are now available on pulseaudio.org
Lennart Poettering [Fri, 7 Jul 2006 16:05:20 +0000 (16:05 +0000)]
remove all docs from tarball since they are now available on pulseaudio.org

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1059 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agos/avahi/pulseuaiod/
Lennart Poettering [Fri, 7 Jul 2006 14:36:39 +0000 (14:36 +0000)]
s/avahi/pulseuaiod/

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1058 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoreplace remaining ML refs to polyp
Lennart Poettering [Fri, 7 Jul 2006 12:59:13 +0000 (12:59 +0000)]
replace remaining ML refs to polyp

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1057 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agofix mailman URL
Lennart Poettering [Fri, 7 Jul 2006 12:53:19 +0000 (12:53 +0000)]
fix mailman URL

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1056 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoupdate readme for 0.9.2
Lennart Poettering [Fri, 7 Jul 2006 12:45:24 +0000 (12:45 +0000)]
update readme for 0.9.2

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1055 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoMake sure we print the file name we actually use.
Pierre Ossman [Fri, 30 Jun 2006 08:16:14 +0000 (08:16 +0000)]
Make sure we print the file name we actually use.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1054 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoincrease the maxium number of concurrent esd and native connections
Lennart Poettering [Wed, 21 Jun 2006 16:36:58 +0000 (16:36 +0000)]
increase the maxium number of concurrent esd and native connections

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1053 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoinclude config.h in browser.c (closes #20)
Lennart Poettering [Wed, 21 Jun 2006 14:05:15 +0000 (14:05 +0000)]
include config.h in browser.c (closes #20)

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1052 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoonly interpolate when the last timing info told us the stream is indeed playing
Lennart Poettering [Wed, 21 Jun 2006 00:18:43 +0000 (00:18 +0000)]
only interpolate when the last timing info told us the stream is indeed playing

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1051 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agobump version number
Lennart Poettering [Tue, 20 Jun 2006 22:27:35 +0000 (22:27 +0000)]
bump version number

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1050 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agofix segfault when module-alsa-source fails to load
Lennart Poettering [Tue, 20 Jun 2006 21:23:10 +0000 (21:23 +0000)]
fix segfault when module-alsa-source fails to load

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1049 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoFix handling of the io flags in duplex mode.
Pierre Ossman [Tue, 20 Jun 2006 16:43:46 +0000 (16:43 +0000)]
Fix handling of the io flags in duplex mode.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1048 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoWarn when applications use SNDCTL_DSP_GET[IO]PTR even when they shouldn't.
Pierre Ossman [Tue, 20 Jun 2006 15:45:10 +0000 (15:45 +0000)]
Warn when applications use SNDCTL_DSP_GET[IO]PTR even when they shouldn't.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1047 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoMake fix_metrics() exit early so that it doesn't spam the output needlessly.
Pierre Ossman [Tue, 20 Jun 2006 15:36:28 +0000 (15:36 +0000)]
Make fix_metrics() exit early so that it doesn't spam the output needlessly.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1046 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoMake sure we do not use pthread_yield() on platforms that do not have them.
Pierre Ossman [Tue, 20 Jun 2006 14:26:52 +0000 (14:26 +0000)]
Make sure we do not use pthread_yield() on platforms that do not have them.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1045 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoCheck for pthread_yield() as not all platforms have that.
Pierre Ossman [Tue, 20 Jun 2006 14:22:34 +0000 (14:22 +0000)]
Check for pthread_yield() as not all platforms have that.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1044 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoMake interpol-test build on Win32 and non-pthread systems.
Pierre Ossman [Tue, 20 Jun 2006 13:49:30 +0000 (13:49 +0000)]
Make interpol-test build on Win32 and non-pthread systems.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1043 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoFix the final few occurences of polyp.
Pierre Ossman [Tue, 20 Jun 2006 13:02:34 +0000 (13:02 +0000)]
Fix the final few occurences of polyp.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1042 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agos/POLYP/PULSE/g
Lennart Poettering [Mon, 19 Jun 2006 23:56:54 +0000 (23:56 +0000)]
s/POLYP/PULSE/g

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1041 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoupdate docs
Lennart Poettering [Mon, 19 Jun 2006 23:52:16 +0000 (23:52 +0000)]
update docs

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1040 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years ago* more s/pulseaudio/PulseAudio/ replacements
Lennart Poettering [Mon, 19 Jun 2006 23:51:58 +0000 (23:51 +0000)]
* 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

18 years agoupdate references to the pkg-config files in the docs
Lennart Poettering [Mon, 19 Jun 2006 23:06:50 +0000 (23:06 +0000)]
update references to the pkg-config files in the docs

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1038 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoname the pkg-config files after the library names
Lennart Poettering [Mon, 19 Jun 2006 23:00:21 +0000 (23:00 +0000)]
name the pkg-config files after the library names

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1037 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoreplace a few remaining uppercase "Polypaudio" occurences with "PulseAudio"
Lennart Poettering [Mon, 19 Jun 2006 22:11:49 +0000 (22:11 +0000)]
replace a few remaining uppercase "Polypaudio" occurences with "PulseAudio"

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1036 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agohide pulseadudio binary from SVN
Lennart Poettering [Mon, 19 Jun 2006 22:03:39 +0000 (22:03 +0000)]
hide pulseadudio binary from SVN

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1035 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agorename polypaudio.h to pulseaudio.h
Lennart Poettering [Mon, 19 Jun 2006 21:55:07 +0000 (21:55 +0000)]
rename polypaudio.h to pulseaudio.h

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1034 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agobig s/polyp/pulse/g
Lennart Poettering [Mon, 19 Jun 2006 21:53:48 +0000 (21:53 +0000)]
big s/polyp/pulse/g

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1033 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agounhide padsp
Lennart Poettering [Mon, 19 Jun 2006 21:00:45 +0000 (21:00 +0000)]
unhide padsp

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1032 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agohide interpol-test
Lennart Poettering [Mon, 19 Jun 2006 20:58:26 +0000 (20:58 +0000)]
hide interpol-test

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1031 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoHandle clients that just want to set fragment size (and not count).
Pierre Ossman [Mon, 19 Jun 2006 16:39:28 +0000 (16:39 +0000)]
Handle clients that just want to set fragment size (and not count).

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1030 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years ago* rework latency interpolation to make it smoother
Lennart Poettering [Mon, 19 Jun 2006 12:37:43 +0000 (12:37 +0000)]
* rework latency interpolation to make it smoother
* increase latency update interval to 100ms

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1029 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agominor cleanups
Lennart Poettering [Mon, 19 Jun 2006 12:20:10 +0000 (12:20 +0000)]
minor cleanups

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1028 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoadd new test "interpol-test"
Lennart Poettering [Mon, 19 Jun 2006 11:27:00 +0000 (11:27 +0000)]
add new test "interpol-test"

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1027 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years ago* add new argument 'exit_on_eof' to module-cli and make use of it if "-C" is passed...
Lennart Poettering [Sun, 18 Jun 2006 11:10:45 +0000 (11:10 +0000)]
* add new argument 'exit_on_eof' to module-cli and make use of it if "-C" is passed to the daemon

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1026 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years ago* implement volume adjusting and mixing for S16RE
Lennart Poettering [Sat, 17 Jun 2006 23:37:07 +0000 (23:37 +0000)]
* implement volume adjusting and mixing for S16RE
* some optimizations

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1025 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years ago* make hw param settings easier to debug by splitting up long if
Lennart Poettering [Sat, 17 Jun 2006 23:36:03 +0000 (23:36 +0000)]
* make hw param settings easier to debug by splitting up long if
* actually set the sample rate
* disable resampling done by ALSA

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1024 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years ago/dev/dsp should default to U8, not mulaw.
Pierre Ossman [Fri, 16 Jun 2006 21:11:45 +0000 (21:11 +0000)]
/dev/dsp should default to U8, not mulaw.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1023 fefdeb5f-60dc-0310-8127-8f9354f1896f

18 years agoCreating a stream might take some time, so check that it's in the right state
Pierre Ossman [Fri, 16 Jun 2006 21:08:35 +0000 (21:08 +0000)]
Creating a stream might take some time, so check that it's in the right state
before transferring data.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1022 fefdeb5f-60dc-0310-8127-8f9354f1896f