Lennart Poettering [Fri, 9 Nov 2007 17:11:45 +0000 (17:11 +0000)]
optimize mixing code a bit. Add mixers for S32LE, S32BE, ULAW, ALAW and FLOAT32BE. Add volume adjusters for FLOAT32BE, ALAW, ULAW.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2041
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Fri, 9 Nov 2007 14:20:12 +0000 (14:20 +0000)]
replace a few CLAMPs by PA_CLAMP_UNLIKELY
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2040
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Fri, 9 Nov 2007 14:19:40 +0000 (14:19 +0000)]
remove PA_CLAMP_LIKELY macro because it doesn't really make sense.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2039
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Fri, 9 Nov 2007 14:14:29 +0000 (14:14 +0000)]
.la files for modules can probably be removed safely on all archs now
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2038
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Fri, 9 Nov 2007 02:45:07 +0000 (02:45 +0000)]
add support for 32bit integer samples
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2037
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Fri, 9 Nov 2007 02:12:09 +0000 (02:12 +0000)]
fix CLAMP_LIKELY/UNLIKELY definition
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2036
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Fri, 9 Nov 2007 01:30:46 +0000 (01:30 +0000)]
add missing #include
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2035
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Fri, 9 Nov 2007 01:30:25 +0000 (01:30 +0000)]
add a few missing macro definitions
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2034
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Fri, 9 Nov 2007 01:29:50 +0000 (01:29 +0000)]
add PA_CLAMP_LIKELY and PA_CLAMP_UNLIKELY macros
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2033
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Fri, 9 Nov 2007 01:28:56 +0000 (01:28 +0000)]
add support for likely()/unlikely() type macros
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2032
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Thu, 8 Nov 2007 22:42:33 +0000 (22:42 +0000)]
parse the pasuspend argument like any other boolean in PulseAudio
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2031
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Thu, 8 Nov 2007 22:31:30 +0000 (22:31 +0000)]
strip most comments from the default configuration files, since the man page is now more elaborate and we don't want to maintain those docs redundantly at two places
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2030
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Thu, 8 Nov 2007 22:30:33 +0000 (22:30 +0000)]
add remaing man pages
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2029
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Wed, 7 Nov 2007 13:52:07 +0000 (13:52 +0000)]
warn if the sound server is not local
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2028
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Wed, 7 Nov 2007 13:50:47 +0000 (13:50 +0000)]
add man pages for padsp, pabrowse, pasuspender
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2027
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Tue, 6 Nov 2007 00:21:20 +0000 (00:21 +0000)]
complete pactl man page
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2026
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Mon, 5 Nov 2007 23:56:30 +0000 (23:56 +0000)]
minor cleanups of --help texts
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2025
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Mon, 5 Nov 2007 23:56:00 +0000 (23:56 +0000)]
add a couple of more man pages
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2024
fefdeb5f-60dc-0310-8127-
8f9354f1896f
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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