]> code.delx.au - pulseaudio/log
pulseaudio
16 years agoadd a man page for the pulseaudio binary. More will follow.
Lennart Poettering [Mon, 5 Nov 2007 15:10:13 +0000 (15:10 +0000)]
add a man page for the pulseaudio binary. More will follow.

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

16 years agofix two alignment issues found by the debian buildd gcc on sparc
Lennart Poettering [Sun, 4 Nov 2007 16:51:26 +0000 (16:51 +0000)]
fix two alignment issues found by the debian buildd gcc on sparc

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

16 years agopa_boolization
Lennart Poettering [Sun, 4 Nov 2007 16:50:23 +0000 (16:50 +0000)]
pa_boolization

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

16 years agoadd eventfd syscall nr for arm; patch from Sjoerd Simons; Closes #150
Lennart Poettering [Sun, 4 Nov 2007 14:17:48 +0000 (14:17 +0000)]
add eventfd syscall nr for arm; patch from Sjoerd Simons; Closes #150

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

16 years agoProperly terminate pa_readlink() strings. Patch from Sjoerd Simons. Closes #149
Lennart Poettering [Sun, 4 Nov 2007 14:11:53 +0000 (14:11 +0000)]
Properly terminate pa_readlink() strings. Patch from Sjoerd Simons. Closes #149

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

16 years agoAdd linker version script to hide non-ABI stable symbols in the client
Lennart Poettering [Sun, 4 Nov 2007 13:51:18 +0000 (13:51 +0000)]
Add linker version script to hide non-ABI stable symbols in the client
libraries. While this helps defining a more streamlined ABI, this also requires
linking a lot of additional symbols into some PA client utilities which until
now made use of the non-ABI stable symbols in libpulse. To minimize the effect
on there size a bit, strip unused symbols by linking with -ffunction-sections
-fdata-sections -Wl,--gc-sections

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

16 years agocomment the library versions a bit
Lennart Poettering [Thu, 1 Nov 2007 22:51:46 +0000 (22:51 +0000)]
comment the library versions a bit

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

16 years agoadd missing pthread libs
Lennart Poettering [Thu, 1 Nov 2007 22:50:32 +0000 (22:50 +0000)]
add missing pthread libs

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

16 years agomake disallow-module-loading config option work again (original patch from Diego...
Lennart Poettering [Thu, 1 Nov 2007 11:23:45 +0000 (11:23 +0000)]
make disallow-module-loading config option work again (original patch from Diego Petteno)

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

16 years agomake rtprio and nice level actually configurable
Lennart Poettering [Thu, 1 Nov 2007 02:58:26 +0000 (02:58 +0000)]
make rtprio and nice level actually configurable

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

16 years agodrop rt scheduling before we start our helper process
Lennart Poettering [Thu, 1 Nov 2007 02:55:06 +0000 (02:55 +0000)]
drop rt scheduling before we start our helper process

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

16 years agoadd new option --realtime
Lennart Poettering [Thu, 1 Nov 2007 01:45:01 +0000 (01:45 +0000)]
add new option --realtime

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

16 years agosave and restore errno in sig handler
Lennart Poettering [Thu, 1 Nov 2007 01:42:34 +0000 (01:42 +0000)]
save and restore errno in sig handler

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

16 years agoadd nice and rtprio resource limit support; make rtprio and nice level to use configu...
Lennart Poettering [Thu, 1 Nov 2007 00:34:43 +0000 (00:34 +0000)]
add nice and rtprio resource limit support; make rtprio and nice level to use configurable; some minor updates

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

16 years agopa_boolize the client config
Lennart Poettering [Thu, 1 Nov 2007 00:33:14 +0000 (00:33 +0000)]
pa_boolize the client config

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

16 years agomore pa_boolization
Lennart Poettering [Thu, 1 Nov 2007 00:32:45 +0000 (00:32 +0000)]
more pa_boolization

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

16 years agomake the bool config parser actually parse bools
Lennart Poettering [Thu, 1 Nov 2007 00:31:59 +0000 (00:31 +0000)]
make the bool config parser actually parse bools

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

16 years agofix comment
Lennart Poettering [Thu, 1 Nov 2007 00:06:51 +0000 (00:06 +0000)]
fix comment

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

16 years agoadd new function pa_yes_no()
Lennart Poettering [Thu, 1 Nov 2007 00:06:31 +0000 (00:06 +0000)]
add new function pa_yes_no()

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

16 years agosave and restore errno in the sig handler
Lennart Poettering [Tue, 30 Oct 2007 18:35:08 +0000 (18:35 +0000)]
save and restore errno in the sig handler

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

16 years agobump sonames
Lennart Poettering [Tue, 30 Oct 2007 16:02:25 +0000 (16:02 +0000)]
bump sonames

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

16 years agomake sjoerd happy: include ChangeLog built from svn logs in tarball
Lennart Poettering [Tue, 30 Oct 2007 15:23:56 +0000 (15:23 +0000)]
make sjoerd happy: include ChangeLog built from svn logs in tarball

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

16 years agomake make distcheck pass
Lennart Poettering [Tue, 30 Oct 2007 15:08:13 +0000 (15:08 +0000)]
make make distcheck pass

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

16 years agorename 'length' parameters in the API to 'bytes', to make their unit clear
Lennart Poettering [Tue, 30 Oct 2007 14:17:41 +0000 (14:17 +0000)]
rename 'length' parameters in the API to 'bytes', to make their unit clear

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

16 years agohandle tcp4: prefix for server specs correctly. (Closes #136)
Lennart Poettering [Tue, 30 Oct 2007 14:05:18 +0000 (14:05 +0000)]
handle tcp4: prefix for server specs correctly. (Closes #136)

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

16 years agorename stream names too, when the sink name changes
Lennart Poettering [Tue, 30 Oct 2007 02:35:00 +0000 (02:35 +0000)]
rename stream names too, when the sink name changes

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

16 years agoignore updates not relevant to us
Lennart Poettering [Tue, 30 Oct 2007 02:05:53 +0000 (02:05 +0000)]
ignore updates not relevant to us

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

16 years agorework the tunnel naming scheme, and make it follow the description changes of the...
Lennart Poettering [Tue, 30 Oct 2007 01:50:22 +0000 (01:50 +0000)]
rework the tunnel naming scheme, and make it follow the description changes of the underlying devices; never check for tagstruct eof, to ease later extensions

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

16 years agoinitialize userdata struct with 0
Lennart Poettering [Tue, 30 Oct 2007 00:49:50 +0000 (00:49 +0000)]
initialize userdata struct with 0

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

16 years agoremove libltdl from SVN
Lennart Poettering [Tue, 30 Oct 2007 00:32:00 +0000 (00:32 +0000)]
remove libltdl from SVN

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

16 years agodeal properly with signals interrupting us when we wait for data from gconf helper
Lennart Poettering [Tue, 30 Oct 2007 00:17:21 +0000 (00:17 +0000)]
deal properly with signals interrupting us when we wait for data from gconf helper

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

16 years agokeep track of configured tunnels and make sure to unload them when they disappear...
Lennart Poettering [Mon, 29 Oct 2007 23:55:23 +0000 (23:55 +0000)]
keep track of configured tunnels and make sure to unload them when they disappear from zeroconf again

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

16 years agodon't announce monitor sources
Lennart Poettering [Mon, 29 Oct 2007 23:54:46 +0000 (23:54 +0000)]
don't announce monitor sources

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

16 years agodon't try to send pause request before our stream is properly set up
Lennart Poettering [Mon, 29 Oct 2007 22:14:34 +0000 (22:14 +0000)]
don't try to send pause request before our stream is properly set up

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

16 years agoignore network sinks/sources
Lennart Poettering [Mon, 29 Oct 2007 21:23:08 +0000 (21:23 +0000)]
ignore network sinks/sources

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

16 years agomake gcc shut up a bit more
Lennart Poettering [Mon, 29 Oct 2007 21:19:05 +0000 (21:19 +0000)]
make gcc shut up a bit more

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

16 years agowe don't want to include assert.h anymore
Lennart Poettering [Mon, 29 Oct 2007 20:32:53 +0000 (20:32 +0000)]
we don't want to include assert.h anymore

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

16 years agoreverse server order for PULSE_SERVER x11 property, to follow order in which modules...
Lennart Poettering [Mon, 29 Oct 2007 20:30:53 +0000 (20:30 +0000)]
reverse server order for PULSE_SERVER x11 property, to follow order in which modules are loaded

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

16 years agoadd new API pa_strlist_reverse()
Lennart Poettering [Mon, 29 Oct 2007 20:30:15 +0000 (20:30 +0000)]
add new API pa_strlist_reverse()

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

16 years agoadd new module module-zeroconf-discover
Lennart Poettering [Mon, 29 Oct 2007 20:03:49 +0000 (20:03 +0000)]
add new module module-zeroconf-discover

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

16 years agopublish dns-sd subtypes to allow distinction of virtual, hardware and monitor sinks...
Lennart Poettering [Mon, 29 Oct 2007 20:03:07 +0000 (20:03 +0000)]
publish dns-sd subtypes to allow distinction of virtual, hardware and monitor sinks/source

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

16 years agoexport pa_namereg_is_valid_name()
Lennart Poettering [Mon, 29 Oct 2007 20:01:49 +0000 (20:01 +0000)]
export pa_namereg_is_valid_name()

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

16 years agofail on name clash
Lennart Poettering [Mon, 29 Oct 2007 20:01:20 +0000 (20:01 +0000)]
fail on name clash

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

16 years agobring back module-tunnel, yay!
Lennart Poettering [Mon, 29 Oct 2007 16:54:16 +0000 (16:54 +0000)]
bring back module-tunnel, yay!

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

16 years agodowngrade a few log messages
Lennart Poettering [Mon, 29 Oct 2007 16:39:23 +0000 (16:39 +0000)]
downgrade a few log messages

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

16 years agoproperly deal with time pausing
Lennart Poettering [Mon, 29 Oct 2007 16:38:57 +0000 (16:38 +0000)]
properly deal with time pausing

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

16 years agouse real path of binary instead of /proc/self/exe to execute ourselves
Lennart Poettering [Mon, 29 Oct 2007 15:33:07 +0000 (15:33 +0000)]
use real path of binary instead of /proc/self/exe to execute ourselves

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

16 years agomake use of new pa_readlink() where applicable
Lennart Poettering [Mon, 29 Oct 2007 15:32:22 +0000 (15:32 +0000)]
make use of new pa_readlink() where applicable

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

16 years agoadd new pa_readlink() API
Lennart Poettering [Mon, 29 Oct 2007 15:31:24 +0000 (15:31 +0000)]
add new pa_readlink() API

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

16 years agomake speex-float-3 the default resampler
Lennart Poettering [Mon, 29 Oct 2007 08:34:30 +0000 (08:34 +0000)]
make speex-float-3 the default resampler

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

16 years agoadd missing dependency on socket-util
Lennart Poettering [Sun, 28 Oct 2007 19:24:25 +0000 (19:24 +0000)]
add missing dependency on socket-util

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

16 years agomerge 'lennart' branch back into trunk.
Lennart Poettering [Sun, 28 Oct 2007 19:13:50 +0000 (19:13 +0000)]
merge 'lennart' branch back into trunk.

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

16 years agoCorrected a bogus comment.
Tanu Kaskinen [Fri, 24 Aug 2007 07:12:47 +0000 (07:12 +0000)]
Corrected a bogus comment.

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

16 years agoModified the JACK sink heavily:
Tanu Kaskinen [Mon, 20 Aug 2007 06:22:21 +0000 (06:22 +0000)]
Modified the JACK sink heavily:
* Made the sink realtime-safe.
* To achieve the previous item, internal buffering was be added. New module
  argument: buffersize.
* Removed the user's need to set the JACK transport to playing state before he
  could hear anything from PulseAudio.
* In process of achieving the previous item, latency calculation got more
  inaccurate: the reported latency is now always a multiple of the JACK
  processing block size, and constant.
* The JACK ports now have a running numbering in their names.

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

16 years agocompat with automake 1.10
Lennart Poettering [Sat, 4 Aug 2007 19:53:51 +0000 (19:53 +0000)]
compat with automake 1.10

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

16 years agojack driver build fix which became apparent on fedora
Lennart Poettering [Sat, 4 Aug 2007 19:53:37 +0000 (19:53 +0000)]
jack driver build fix which became apparent on fedora

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

16 years agoMake sure we link to the core to get all symbols.
Pierre Ossman [Tue, 10 Jul 2007 15:21:03 +0000 (15:21 +0000)]
Make sure we link to the core to get all symbols.

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

16 years agoSolaris hides inet_ntop in nsl.
Pierre Ossman [Tue, 10 Jul 2007 15:20:39 +0000 (15:20 +0000)]
Solaris hides inet_ntop in nsl.

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

16 years agoMake -no-undefined actually work (and fix up error found by it).
Pierre Ossman [Tue, 10 Jul 2007 14:36:58 +0000 (14:36 +0000)]
Make -no-undefined actually work (and fix up error found by it).

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

16 years agoMove pthreads detection as it gets confused by things in LIBS.
Pierre Ossman [Tue, 10 Jul 2007 14:36:20 +0000 (14:36 +0000)]
Move pthreads detection as it gets confused by things in LIBS.

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

16 years agoMake sure mixer ioctls work on /dev/dsp aswell.
Pierre Ossman [Wed, 13 Jun 2007 07:21:57 +0000 (07:21 +0000)]
Make sure mixer ioctls work on /dev/dsp aswell.

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

16 years agoSupport stat() and friends as some programs (audacity) likes to check if
Pierre Ossman [Mon, 11 Jun 2007 11:22:30 +0000 (11:22 +0000)]
Support stat() and friends as some programs (audacity) likes to check if
the device node is there first.

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

16 years agoAdd support for the poorly documented SNDCTL_DSP_GETTRIGGER.
Pierre Ossman [Mon, 4 Jun 2007 09:52:03 +0000 (09:52 +0000)]
Add support for the poorly documented SNDCTL_DSP_GETTRIGGER.

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

16 years agoKill spaces on EOL
Lennart Poettering [Tue, 29 May 2007 17:24:48 +0000 (17:24 +0000)]
Kill spaces on EOL

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

16 years agoadd target "eolspace" to makefil to remove trailing newlines from all source files
Lennart Poettering [Tue, 29 May 2007 17:16:24 +0000 (17:16 +0000)]
add target "eolspace" to makefil to remove trailing newlines from all source files

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

16 years agoWe now use gid unconditionally, so make sure it's defined.
Pierre Ossman [Tue, 29 May 2007 07:47:02 +0000 (07:47 +0000)]
We now use gid unconditionally, so make sure it's defined.

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

16 years agobuild fix for systems lacking capability suppoort. (Problem identified and original...
Lennart Poettering [Mon, 28 May 2007 15:52:13 +0000 (15:52 +0000)]
build fix for systems lacking capability suppoort. (Problem identified and original patch supplied by Diego Petteno

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

16 years agoBump revision of libs and package
Lennart Poettering [Sun, 27 May 2007 20:58:29 +0000 (20:58 +0000)]
Bump revision of libs and package

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

16 years agoReplace AO_xxx usage with pa_atomic_xxx and friends wherever it makes sense
Lennart Poettering [Sun, 27 May 2007 20:38:14 +0000 (20:38 +0000)]
Replace AO_xxx usage with pa_atomic_xxx and friends wherever it makes sense

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

16 years agounfortunately we cannot detect if a foreign thread is still running. Thus sucks....
Lennart Poettering [Sun, 27 May 2007 16:59:34 +0000 (16:59 +0000)]
unfortunately we cannot detect if a foreign thread is still running. Thus sucks. But what can we do? U. Drepper thinks our use case is invalid.

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

16 years agoMinor optimization: read log level character code from array
Lennart Poettering [Sun, 27 May 2007 16:37:05 +0000 (16:37 +0000)]
Minor optimization: read log level character code from array

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

16 years agoAdd a new meta command ".ifexists" to the CLI language, to execute commands only...
Lennart Poettering [Sat, 26 May 2007 23:39:33 +0000 (23:39 +0000)]
Add a new meta command ".ifexists" to the CLI language, to execute commands only if a specified file exists. Original patch from cjvdb. Closes #36

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

16 years agowhen called with the setid bit change euid to uid sooner to make sure that we can...
Lennart Poettering [Fri, 25 May 2007 20:35:30 +0000 (20:35 +0000)]
when called with the setid bit change euid to uid sooner to make sure that we can access our own files even when we dropped most capabilities. (Closes #21)

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

16 years agofix suid Makefile target
Lennart Poettering [Fri, 25 May 2007 20:24:55 +0000 (20:24 +0000)]
fix suid Makefile target

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

16 years agoonly browse for ipv4 pa servers for now. Needs better fixing which however is not...
Lennart Poettering [Wed, 23 May 2007 23:38:28 +0000 (23:38 +0000)]
only browse for ipv4 pa servers for now. Needs better fixing which however is not trivial and probably breaks the API

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

16 years agoFix another DoS vulnerability that has been identified by Luigi Auriemma. (Finally...
Lennart Poettering [Wed, 23 May 2007 17:24:06 +0000 (17:24 +0000)]
Fix another DoS vulnerability that has been identified by Luigi Auriemma. (Finally closes #67)

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

16 years agoadd a missing initialization that causes a crash when parsing invalid volume restorat...
Lennart Poettering [Wed, 23 May 2007 17:12:07 +0000 (17:12 +0000)]
add a missing initialization that causes a crash when parsing invalid volume restoration tables (Problem identified by Luigi Auriemma, re #67)

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

16 years agoFix a DoS with allocating overly large silence buffers. (Identified by Luigi Auriemma...
Lennart Poettering [Wed, 23 May 2007 16:59:03 +0000 (16:59 +0000)]
Fix a DoS with allocating overly large silence buffers. (Identified by Luigi Auriemma (re #67)

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

16 years agodon't allow excessively high sample rates
Lennart Poettering [Wed, 23 May 2007 16:57:35 +0000 (16:57 +0000)]
don't allow excessively high sample rates

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

16 years agoFix yet another DoS vulnerability, also identified Luigi Auriemma (re #67)
Lennart Poettering [Wed, 23 May 2007 16:42:26 +0000 (16:42 +0000)]
Fix yet another DoS vulnerability, also identified Luigi Auriemma (re #67)

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

16 years agofix minor typo
Lennart Poettering [Wed, 23 May 2007 16:30:57 +0000 (16:30 +0000)]
fix minor typo

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

16 years agoFix another DoS vulnerability, also identified Luigi Auriemma (closes #67)
Lennart Poettering [Wed, 23 May 2007 16:29:18 +0000 (16:29 +0000)]
Fix another DoS vulnerability, also identified Luigi Auriemma (closes #67)

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

16 years agofix a DoS vulnerability (re #67), originally identified by Luigi Auriemma
Lennart Poettering [Wed, 23 May 2007 16:24:54 +0000 (16:24 +0000)]
fix a DoS vulnerability (re #67), originally identified by Luigi Auriemma

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

16 years agofix a few obvious copynpaste errors when handling volumes
Lennart Poettering [Wed, 23 May 2007 15:30:34 +0000 (15:30 +0000)]
fix a few obvious copynpaste errors when handling volumes

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

16 years agoTreat empty :0.0 identically to unset :0.0 when trying to find a PA server. (Closes...
Lennart Poettering [Wed, 23 May 2007 12:32:37 +0000 (12:32 +0000)]
Treat empty :0.0 identically to unset :0.0 when trying to find a PA server. (Closes #87)

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

16 years agoFix module-oss for devices that return EAGAIN when we don't expect it. (Closes #66)
Lennart Poettering [Wed, 23 May 2007 01:02:06 +0000 (01:02 +0000)]
Fix module-oss for devices that return EAGAIN when we don't expect it. (Closes #66)

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

16 years agoshow socket directory when we fail to create it. (Closes #85)
Lennart Poettering [Tue, 22 May 2007 23:39:47 +0000 (23:39 +0000)]
show socket directory when we fail to create it. (Closes #85)

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

16 years agoFix build and only load OSS xor ALSA modules if both are available
Lennart Poettering [Tue, 22 May 2007 23:38:22 +0000 (23:38 +0000)]
Fix build and only load OSS xor ALSA modules if both are available

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

16 years agodrop unused variable
Lennart Poettering [Tue, 22 May 2007 23:37:27 +0000 (23:37 +0000)]
drop unused variable

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

16 years agofix comment
Lennart Poettering [Tue, 22 May 2007 23:08:34 +0000 (23:08 +0000)]
fix comment

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

17 years agoAdd support for SNDCTL_DSP_SETTRIGGER. (closes #56)
Pierre Ossman [Wed, 7 Mar 2007 09:27:30 +0000 (09:27 +0000)]
Add support for SNDCTL_DSP_SETTRIGGER. (closes #56)

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

17 years agoFix some instances where we printed a string without first checking that
Pierre Ossman [Tue, 6 Mar 2007 15:47:11 +0000 (15:47 +0000)]
Fix some instances where we printed a string without first checking that
the pointer was valid.

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

17 years agoPulsecore should be linked into all modules.
Pierre Ossman [Tue, 6 Mar 2007 13:42:30 +0000 (13:42 +0000)]
Pulsecore should be linked into all modules.

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

17 years agoDon't fail if hal doesn't currently contain any devices. (closes #55)
Pierre Ossman [Tue, 6 Mar 2007 13:31:29 +0000 (13:31 +0000)]
Don't fail if hal doesn't currently contain any devices. (closes #55)

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

17 years agoHandle suspended alsa devices. Based on patch by ranma. (closes #26)
Pierre Ossman [Fri, 2 Mar 2007 09:20:54 +0000 (09:20 +0000)]
Handle suspended alsa devices. Based on patch by ranma. (closes #26)

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

17 years agoRevert stuff from commit 1431 that wasn't supposed to be there.
Pierre Ossman [Thu, 1 Mar 2007 17:15:43 +0000 (17:15 +0000)]
Revert stuff from commit 1431 that wasn't supposed to be there.

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

17 years agoHandle when ALSA tweaks our sample spec so much that the frame size changes.
Pierre Ossman [Thu, 1 Mar 2007 17:13:26 +0000 (17:13 +0000)]
Handle when ALSA tweaks our sample spec so much that the frame size changes.
(closes #57).

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

17 years agoAdd some debugging output from sample cache subsystem.
Pierre Ossman [Thu, 1 Mar 2007 17:11:10 +0000 (17:11 +0000)]
Add some debugging output from sample cache subsystem.

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

17 years agoAdd a wrapper around close() to work around Windows' ass backwards way of
Pierre Ossman [Wed, 14 Feb 2007 12:13:49 +0000 (12:13 +0000)]
Add a wrapper around close() to work around Windows' ass backwards way of
handling sockets.

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

17 years agoAllow a formatted string in the validation warning.
Pierre Ossman [Wed, 14 Feb 2007 09:27:19 +0000 (09:27 +0000)]
Allow a formatted string in the validation warning.

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