platform/upstream/pulseaudio.git
16 years agothe pointer to rewind() may actually be NULL
Lennart Poettering [Mon, 14 Apr 2008 18:46:24 +0000 (18:46 +0000)]
the pointer to rewind() may actually be NULL

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2267 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoproperly ask the sink to rewind on new sink inputs and when they disappear
Lennart Poettering [Mon, 14 Apr 2008 18:45:08 +0000 (18:45 +0000)]
properly ask the sink to rewind on new sink inputs and when they disappear

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2266 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agomake sure to clear all queued RT signals before arm a new timer
Lennart Poettering [Mon, 14 Apr 2008 18:43:59 +0000 (18:43 +0000)]
make sure to clear all queued RT signals before arm a new timer

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2265 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoadd _cb suffix to _max_rewind function like with all other functions, too
Lennart Poettering [Mon, 14 Apr 2008 18:43:11 +0000 (18:43 +0000)]
add _cb suffix to _max_rewind function like with all other functions, too

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2264 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoadd missing 'break's in switch
Lennart Poettering [Fri, 11 Apr 2008 17:39:38 +0000 (17:39 +0000)]
add missing 'break's in switch

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2262 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agos/pulsecore\/gccmacro.h/pulse\/gccmacro.h/
Lennart Poettering [Fri, 11 Apr 2008 17:06:41 +0000 (17:06 +0000)]
s/pulsecore\/gccmacro.h/pulse\/gccmacro.h/

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2261 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoregister sink/source name as first step when creating a new sink/source so that we...
Lennart Poettering [Fri, 11 Apr 2008 17:05:46 +0000 (17:05 +0000)]
register sink/source name as first step when creating a new sink/source so that we can hand the valid name string to the hook functions; se tup props for monitor sources correctly; fix implicit flag setting logic

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2260 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agodump all info we know about sinks/sources/... in pactl
Lennart Poettering [Fri, 11 Apr 2008 17:03:18 +0000 (17:03 +0000)]
dump all info we know about sinks/sources/... in pactl

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2259 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoproperly initialize ->memblockq
Lennart Poettering [Fri, 11 Apr 2008 17:02:42 +0000 (17:02 +0000)]
properly initialize ->memblockq

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2258 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoadd new pa_get_state_dir() function, move pa_strnull() here
Lennart Poettering [Fri, 11 Apr 2008 16:58:07 +0000 (16:58 +0000)]
add new pa_get_state_dir() function, move pa_strnull() here

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2257 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agofix help string for volume commands
Lennart Poettering [Fri, 11 Apr 2008 16:57:26 +0000 (16:57 +0000)]
fix help string for volume commands

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2256 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agofix packet formatting for a few commands
Lennart Poettering [Fri, 11 Apr 2008 16:53:29 +0000 (16:53 +0000)]
fix packet formatting for a few commands

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2255 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agomark shm marker struct as packed, to guarantee identical sizes between archs
Lennart Poettering [Fri, 11 Apr 2008 16:52:45 +0000 (16:52 +0000)]
mark shm marker struct as packed, to guarantee identical sizes between archs

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2254 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoadd new PA_GCC_PACKED macro
Lennart Poettering [Fri, 11 Apr 2008 16:51:21 +0000 (16:51 +0000)]
add new PA_GCC_PACKED macro

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2253 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agomake shm magic marker compat with multiarch systems where 64bit and 32bit processes...
Lennart Poettering [Fri, 11 Apr 2008 16:38:16 +0000 (16:38 +0000)]
make shm magic marker compat with multiarch systems where 64bit and 32bit processes might share SHM areas

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2252 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agodon't fail if a signalled writability of STDOUT is no longer true when we try it...
Lennart Poettering [Fri, 11 Apr 2008 16:37:22 +0000 (16:37 +0000)]
don't fail if a signalled writability of STDOUT is no longer true when we try it because some other thread already wrote something

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2251 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoupdate list-xxx commands a bit
Lennart Poettering [Fri, 11 Apr 2008 16:36:38 +0000 (16:36 +0000)]
update list-xxx commands a bit

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2250 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agodon't print 'signal' each time a rtpoll poll() call is canceled
Lennart Poettering [Fri, 11 Apr 2008 16:36:13 +0000 (16:36 +0000)]
don't print 'signal' each time a rtpoll poll() call is canceled

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2249 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agofix linker warning macro code, move pa_strnull() to core-util.h, move PA_LIKELY defin...
Lennart Poettering [Fri, 11 Apr 2008 16:35:31 +0000 (16:35 +0000)]
fix linker warning macro code, move pa_strnull() to core-util.h, move PA_LIKELY definitions here from gccmacro.h

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2248 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agodon't use fqdn if we don't have to
Lennart Poettering [Fri, 11 Apr 2008 16:34:11 +0000 (16:34 +0000)]
don't use fqdn if we don't have to

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2247 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoredirect alsa errors to normal PA log system; export buffer settings in device props
Lennart Poettering [Fri, 11 Apr 2008 16:33:33 +0000 (16:33 +0000)]
redirect alsa errors to normal PA log system; export buffer settings in device props

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2246 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agomake use of new alsa SND_PCM_NO_AUTO_xxx flags; redirect alsa errors to normal PA...
Lennart Poettering [Fri, 11 Apr 2008 16:32:03 +0000 (16:32 +0000)]
make use of new alsa SND_PCM_NO_AUTO_xxx flags; redirect alsa errors to normal PA log system

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2245 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agomark autoload functions as deprecated
Lennart Poettering [Fri, 11 Apr 2008 16:31:01 +0000 (16:31 +0000)]
mark autoload functions as deprecated

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2244 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoremove misplaced PA_GCC_PURE
Lennart Poettering [Fri, 11 Apr 2008 16:30:34 +0000 (16:30 +0000)]
remove misplaced PA_GCC_PURE

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2243 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoadd C++ safety to header file
Lennart Poettering [Fri, 11 Apr 2008 16:30:14 +0000 (16:30 +0000)]
add C++ safety to header file

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2242 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agofix bit depth guarantee for pa_usec_t
Lennart Poettering [Fri, 11 Apr 2008 16:29:22 +0000 (16:29 +0000)]
fix bit depth guarantee for pa_usec_t

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2241 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoadd new API function pa_timeval_add()
Lennart Poettering [Fri, 11 Apr 2008 16:28:49 +0000 (16:28 +0000)]
add new API function pa_timeval_add()

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2240 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoremove gcc macros from cdecl.h because we have them in gccmacro.h now
Lennart Poettering [Fri, 11 Apr 2008 16:28:17 +0000 (16:28 +0000)]
remove gcc macros from cdecl.h because we have them in gccmacro.h now

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2239 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agofix bad memory access when initializing client proplist
Lennart Poettering [Fri, 11 Apr 2008 16:27:31 +0000 (16:27 +0000)]
fix bad memory access when initializing client proplist

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2238 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoadd gccmacro.h to doxygen docs
Lennart Poettering [Fri, 11 Apr 2008 16:23:06 +0000 (16:23 +0000)]
add gccmacro.h to doxygen docs

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2237 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoadd new module module-device-restore
Lennart Poettering [Fri, 11 Apr 2008 16:22:37 +0000 (16:22 +0000)]
add new module module-device-restore

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2236 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoincrease version of required ALSA to 1.0.16. check for gdbm
Lennart Poettering [Fri, 11 Apr 2008 16:22:02 +0000 (16:22 +0000)]
increase version of required ALSA to 1.0.16. check for gdbm

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2235 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoadd new API pa_rtclock_from_wallclock()
Lennart Poettering [Fri, 11 Apr 2008 16:21:13 +0000 (16:21 +0000)]
add new API pa_rtclock_from_wallclock()

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2234 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agofix proplist serialization
Lennart Poettering [Fri, 11 Apr 2008 16:20:33 +0000 (16:20 +0000)]
fix proplist serialization

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2233 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agomove gccmacro from pulsecore/ to pulse/
Lennart Poettering [Fri, 11 Apr 2008 16:19:35 +0000 (16:19 +0000)]
move gccmacro from pulsecore/ to pulse/

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2232 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoadd new describe-module CLI command
Lennart Poettering [Wed, 9 Apr 2008 13:49:37 +0000 (13:49 +0000)]
add new describe-module CLI command

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2231 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoadd new pa_proplist_setf() API function
Lennart Poettering [Wed, 9 Apr 2008 13:49:04 +0000 (13:49 +0000)]
add new pa_proplist_setf() API function

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2230 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoimplement server side of new sink/source reconfiguration commands
Lennart Poettering [Wed, 9 Apr 2008 01:19:43 +0000 (01:19 +0000)]
implement server side of new sink/source reconfiguration commands

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2229 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoremove doxygen \since tag for API changes older than 0.9; properly implement new...
Lennart Poettering [Wed, 9 Apr 2008 01:19:01 +0000 (01:19 +0000)]
remove doxygen \since tag for API changes older than 0.9; properly implement new latency query APIs

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2228 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoinit min/max latency properly; fix avail_min updating
Lennart Poettering [Wed, 9 Apr 2008 01:18:05 +0000 (01:18 +0000)]
init min/max latency properly; fix avail_min updating

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2227 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoshow configured latency and its ranges
Lennart Poettering [Wed, 9 Apr 2008 01:17:16 +0000 (01:17 +0000)]
show configured latency and its ranges

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2226 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoexport both min and max latency that is configured for a sink; add API for querying...
Lennart Poettering [Wed, 9 Apr 2008 01:16:43 +0000 (01:16 +0000)]
export both min and max latency that is configured for a sink; add API for querying the requested latency of a sink/source from the main thread

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2225 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoadd new latency argument
Lennart Poettering [Wed, 9 Apr 2008 01:15:23 +0000 (01:15 +0000)]
add new latency argument

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2224 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agobump protocol version
Lennart Poettering [Wed, 9 Apr 2008 01:14:59 +0000 (01:14 +0000)]
bump protocol version

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2223 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoinclude proplist.h in doxygen docs
Lennart Poettering [Wed, 9 Apr 2008 01:14:33 +0000 (01:14 +0000)]
include proplist.h in doxygen docs

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2222 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agocall snd_pcm_hwsync() expclicitly before we access any of the status fields, since...
Lennart Poettering [Mon, 7 Apr 2008 17:19:51 +0000 (17:19 +0000)]
call snd_pcm_hwsync() expclicitly before we access any of the status fields, since this seems to be necessary. try to find the right mixer device via the card index

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2221 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agofix bug where we silently dropped data that didn't fit into one mempool tile
Lennart Poettering [Mon, 7 Apr 2008 16:47:27 +0000 (16:47 +0000)]
fix bug where we silently dropped data that didn't fit into one mempool tile

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2220 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoadd utility functions to dump alsa PCM state
Lennart Poettering [Mon, 7 Apr 2008 16:46:13 +0000 (16:46 +0000)]
add utility functions to dump alsa PCM state

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2219 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agopropery calculate min_avail in frames instead of bytes. don't use device_id= paramete...
Lennart Poettering [Fri, 4 Apr 2008 16:06:47 +0000 (16:06 +0000)]
propery calculate min_avail in frames instead of bytes. don't use device_id= parameter in alsa modules if parameter wasn't specified

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2218 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agodrop support for periodic timers, cleanup code a bit
Lennart Poettering [Fri, 4 Apr 2008 16:05:15 +0000 (16:05 +0000)]
drop support for periodic timers, cleanup code a bit

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2217 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agomark libpulse-browse as obsolete
Lennart Poettering [Fri, 4 Apr 2008 16:04:29 +0000 (16:04 +0000)]
mark libpulse-browse as obsolete

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2216 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years ago- deprecate autoload stuff
Lennart Poettering [Thu, 3 Apr 2008 13:40:55 +0000 (13:40 +0000)]
- deprecate autoload stuff
- allow setting of the requested latency of a sink input/source output before _put() is called
- allow sinks/sources to have a "minimal" latency which applies to all requested latencies by sink inputs/source outputs
- add new client library flags PA_STREAM_ADJUST_LATENCY, PA_STREAM_START_MUTED
- allow client library to fill in 0 to buffer_attr fields
- update module-alsa-source following module-alsa-sink
- other cleanups and fixes

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2215 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agocatch up with trunk HEAD (i.e. 2118:2213)
Lennart Poettering [Mon, 31 Mar 2008 23:08:01 +0000 (23:08 +0000)]
catch up with trunk HEAD (i.e. 2118:2213)

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2214 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoremaining bits and pieces
Lennart Poettering [Sat, 15 Mar 2008 15:26:03 +0000 (15:26 +0000)]
remaining bits and pieces

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2126 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agocommit glitch-free work
Lennart Poettering [Sat, 15 Mar 2008 15:24:36 +0000 (15:24 +0000)]
commit glitch-free work

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2125 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agocommit glitch-free work
Lennart Poettering [Sat, 15 Mar 2008 15:21:41 +0000 (15:21 +0000)]
commit glitch-free work

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2124 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agocommit glitch-free work
Lennart Poettering [Sat, 15 Mar 2008 15:21:26 +0000 (15:21 +0000)]
commit glitch-free work

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2123 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agocommit glitch-free work
Lennart Poettering [Sat, 15 Mar 2008 15:19:40 +0000 (15:19 +0000)]
commit glitch-free work

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2122 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agocommit glitch-free work
Lennart Poettering [Sat, 15 Mar 2008 15:18:55 +0000 (15:18 +0000)]
commit glitch-free work

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2121 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agoreally create glitch-free branch
Lennart Poettering [Sat, 15 Mar 2008 15:15:36 +0000 (15:15 +0000)]
really create glitch-free branch

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2120 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agocreate glitch-free branch
Lennart Poettering [Sat, 15 Mar 2008 15:13:19 +0000 (15:13 +0000)]
create glitch-free branch

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2118 fefdeb5f-60dc-0310-8127-8f9354f1896f

16 years agowork around solaris printf %s and NULL string brain damage
Lennart Poettering [Fri, 14 Mar 2008 13:32:33 +0000 (13:32 +0000)]
work around solaris printf %s and NULL string brain damage

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

16 years agochange policy file to not show polkit auth dlg by default
Lennart Poettering [Fri, 14 Mar 2008 13:28:46 +0000 (13:28 +0000)]
change policy file to not show polkit auth dlg by default

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

16 years agoAnd one more.
Diego Petteno [Sun, 9 Mar 2008 12:55:21 +0000 (12:55 +0000)]
And one more.

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

16 years agoTest for _struct_ lt_user_dlloader, otherwise it won't be found.
Diego Petteno [Sun, 9 Mar 2008 12:54:45 +0000 (12:54 +0000)]
Test for _struct_ lt_user_dlloader, otherwise it won't be found.

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

16 years agoBuild and run using libltdl from libtool 2.2. The user module loader support has...
Diego Petteno [Sat, 8 Mar 2008 23:30:08 +0000 (23:30 +0000)]
Build and run using libltdl from libtool 2.2. The user module loader support has changed drastically.

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

16 years agoClarify the explanation of the in_action field in pa_autoload_entry.
Tanu Kaskinen [Fri, 15 Feb 2008 18:19:42 +0000 (18:19 +0000)]
Clarify the explanation of the in_action field in pa_autoload_entry.

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

16 years agoonly call pa_ltdl_done() if we called pa_ltdl_init() before
Lennart Poettering [Fri, 15 Feb 2008 18:03:11 +0000 (18:03 +0000)]
only call pa_ltdl_done() if we called pa_ltdl_init() before

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

16 years agoallow compilation on systems that lack POSIX shared memory. Patch from matthijs,...
Lennart Poettering [Fri, 15 Feb 2008 13:38:12 +0000 (13:38 +0000)]
allow compilation on systems that lack POSIX shared memory. Patch from matthijs, closes #200

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

16 years agoexplicitly recommend the usage of -- in the pasuspender command line, Closes #203
Lennart Poettering [Fri, 15 Feb 2008 13:33:08 +0000 (13:33 +0000)]
explicitly recommend the usage of -- in the pasuspender command line, Closes #203

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

16 years agolook for timer_create in librt, Closes #210, patch supplied by matthijs
Lennart Poettering [Fri, 15 Feb 2008 13:21:14 +0000 (13:21 +0000)]
look for timer_create in librt, Closes #210, patch supplied by matthijs

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

16 years agoprint pa version id each time we start up, so that it is easier to identify the versi...
Lennart Poettering [Fri, 15 Feb 2008 13:13:12 +0000 (13:13 +0000)]
print pa version id each time we start up, so that it is easier to identify the version people are reporting bugs again

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

16 years agoImprove compatibility with applications which like to pass invalid strings to the...
Lennart Poettering [Fri, 15 Feb 2008 11:50:48 +0000 (11:50 +0000)]
Improve compatibility with applications which like to pass invalid strings to the libc functions we overwrite, by handing directly to the original function. Patch by Colin Guthrie and Gustavo De Nardin, Closes #227

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

16 years agodeal with a possibly failing pa_channel_map_init_auto() correctly
Lennart Poettering [Wed, 13 Feb 2008 22:13:44 +0000 (22:13 +0000)]
deal with a possibly failing pa_channel_map_init_auto() correctly

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

16 years agoMark long_options constant.
Diego Petteno [Thu, 24 Jan 2008 11:12:29 +0000 (11:12 +0000)]
Mark long_options constant.

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

16 years agoUse check_PROGRAMS rather than noinst_PROGRAMS for test programs.
Diego Petteno [Thu, 24 Jan 2008 10:45:33 +0000 (10:45 +0000)]
Use check_PROGRAMS rather than noinst_PROGRAMS for test programs.

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

16 years agoApply the fix for CVE-2008-0008 from 0.9.9 release on trunk.
Diego Petteno [Thu, 24 Jan 2008 09:35:50 +0000 (09:35 +0000)]
Apply the fix for CVE-2008-0008 from 0.9.9 release on trunk.

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

16 years agouse __BYTE_ORDER macro for detecting byte order, as suggested on http://unixpapa...
Lennart Poettering [Sun, 6 Jan 2008 20:38:11 +0000 (20:38 +0000)]
use __BYTE_ORDER macro for detecting byte order, as suggested on unixpapa.com/incnote/byteorder.html

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

16 years agoDon't send opcodes introduced in protocol versions 12 to clients using protocol
Sjoerd Simons [Fri, 4 Jan 2008 14:59:09 +0000 (14:59 +0000)]
Don't send opcodes introduced in protocol versions 12 to clients using protocol
version 11. (fixes #183)

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

16 years agoImplement opcodes in the tunnel modules that were added in version 12 of
Sjoerd Simons [Fri, 4 Jan 2008 14:57:31 +0000 (14:57 +0000)]
Implement opcodes in the tunnel modules that were added in version 12 of
the protocol. Based on a patch by coling. (fixes #193)

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

16 years agoAdd forgotted #ifdef __linux__ and only use SIGRTMIN if it is defined. Fixes
Sjoerd Simons [Fri, 4 Jan 2008 14:52:44 +0000 (14:52 +0000)]
Add forgotted #ifdef __linux__ and only use SIGRTMIN if it is defined. Fixes
compilation on non-linux platforms like GNU/kFreeBSD. Thanks to Aurelien Jarno
for the patch

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

16 years agoAdd a missing pa_xfree.
Tanu Kaskinen [Thu, 3 Jan 2008 22:27:58 +0000 (22:27 +0000)]
Add a missing pa_xfree.

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

16 years agoThe previous commit introduced a new bug: giving too many values in the "control...
Tanu Kaskinen [Thu, 3 Jan 2008 21:53:46 +0000 (21:53 +0000)]
The previous commit introduced a new bug: giving too many values in the "control" argument wasn't detected any more. Fixed.

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

16 years agoFix the parsing of trailing default values in the "control" module argument.
Tanu Kaskinen [Thu, 3 Jan 2008 21:07:11 +0000 (21:07 +0000)]
Fix the parsing of trailing default values in the "control" module argument.

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

16 years agoDowngraded the priority of a message, because it's really quite uninteresting.
Tanu Kaskinen [Wed, 2 Jan 2008 13:08:52 +0000 (13:08 +0000)]
Downgraded the priority of a message, because it's really quite uninteresting.

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

16 years agoconvert argument to boolean value before passing it on to __builtin_expect in PA_LIKELY
Lennart Poettering [Sat, 29 Dec 2007 18:04:31 +0000 (18:04 +0000)]
convert argument to boolean value before passing it on to __builtin_expect in PA_LIKELY

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

16 years agoadd new function pa_proplist_contains()
Lennart Poettering [Sat, 29 Dec 2007 18:03:53 +0000 (18:03 +0000)]
add new function pa_proplist_contains()

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

16 years agoadd API for resetting allocated resamplers
Lennart Poettering [Sun, 23 Dec 2007 20:15:03 +0000 (20:15 +0000)]
add API for resetting allocated resamplers

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

16 years agowrap speex_resampler_reset_mem()
Lennart Poettering [Sun, 23 Dec 2007 20:14:05 +0000 (20:14 +0000)]
wrap speex_resampler_reset_mem()

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

16 years agohide proplist-test
Lennart Poettering [Sun, 23 Dec 2007 20:13:19 +0000 (20:13 +0000)]
hide proplist-test

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

16 years agoadd new property list implementation
Lennart Poettering [Sun, 23 Dec 2007 20:12:37 +0000 (20:12 +0000)]
add new property list implementation

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

16 years agoIncrease the maximum line length of default.pa from 256 to 1024. Load commands of...
Tanu Kaskinen [Fri, 14 Dec 2007 12:54:26 +0000 (12:54 +0000)]
Increase the maximum line length of default.pa from 256 to 1024. Load commands of modules that need multiple channel maps may grow rather long.

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

16 years agoAdd a configure switch to enable the per-user ESounD socket path, but default to...
Diego Petteno [Thu, 6 Dec 2007 19:30:16 +0000 (19:30 +0000)]
Add a configure switch to enable the per-user ESounD socket path, but default to vanilla ESounD's path. This way distributions and users can configure PulseAudio according to their ESounD library.

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

16 years agoAdd new subsystem for applying envelopes (such as volume ramps) to audio signals
Lennart Poettering [Sat, 24 Nov 2007 16:26:49 +0000 (16:26 +0000)]
Add new subsystem for applying envelopes (such as volume ramps) to audio signals

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

16 years agorearrange #includes
Lennart Poettering [Sat, 24 Nov 2007 16:24:54 +0000 (16:24 +0000)]
rearrange #includes

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

16 years agoadd new pa_mutex_try_lock() API
Lennart Poettering [Sat, 24 Nov 2007 16:24:16 +0000 (16:24 +0000)]
add new pa_mutex_try_lock() API

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

16 years agoadd new endianess macros for FLOAT32
Lennart Poettering [Sat, 24 Nov 2007 16:23:19 +0000 (16:23 +0000)]
add new endianess macros for FLOAT32

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

16 years agomake sure to create ~/.pulse before using any configuration file from it
Lennart Poettering [Sat, 24 Nov 2007 16:22:23 +0000 (16:22 +0000)]
make sure to create ~/.pulse before using any configuration file from it

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

16 years agoCheck for mkdir -p or equivalent, and use that rather than simple mkdir to create...
Diego Petteno [Fri, 23 Nov 2007 21:49:05 +0000 (21:49 +0000)]
Check for mkdir -p or equivalent, and use that rather than simple mkdir to create the modules, modules/gconf and modules/rtp directories.

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

16 years agoEnable D-Bus if Bluez or HAL are enabled; use DBUS_LIBS/DBUS_CFLAGS when building...
Diego Petteno [Fri, 23 Nov 2007 16:17:16 +0000 (16:17 +0000)]
Enable D-Bus if Bluez or HAL are enabled; use DBUS_LIBS/DBUS_CFLAGS when building libdbus-util.la.

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