Lennart Poettering [Sun, 20 Apr 2008 21:50:57 +0000 (21:50 +0000)]
initialize properties for ALSA sinks/sources more elaborately, re #277
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2287
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sun, 20 Apr 2008 21:49:05 +0000 (21:49 +0000)]
use the sink description instead of the name to choose the description for the monitor source
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2286
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sun, 20 Apr 2008 20:53:46 +0000 (20:53 +0000)]
drop a redundant pa_init_proplist(), properly set MEDIA_NAME property on stream, not on context
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2285
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sun, 20 Apr 2008 20:35:44 +0000 (20:35 +0000)]
rename sink_input->rewind to process_rewind() and set_max_rewind to update_max_rewind()
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2284
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sun, 20 Apr 2008 20:16:55 +0000 (20:16 +0000)]
Big pile of dependant changes:
* Change pa_memblockq to carry silence memchunk instead of memblock and adapt all users
* Add new call pa_sink_input_get_silence() to get the suitable silence block for a sink input
* Implement monitoring sources properly by adding a delay queue to even out rewinds
* Remove pa_{sink|source}_ping() becaused unnecessary these days and not used
* Fix naming of various rewind related functions. Downstream is now _request_rewind(), upstream is _process_rewind()
* Fix volume adjustments for a single stream in pa_sink_render()
* Properly handle prebuf-style buffer underruns in pa_sink_input
* Don't allow rewinding to more than the last underrun
* Rework default buffering metrics selection for native protocol
* New functions pa_memblockq_prebuf_active(), pa_memblockq_silence()
* add option "mixer_reset=" to module-alsa-sink
* Other cleanups
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2283
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sun, 20 Apr 2008 19:53:07 +0000 (19:53 +0000)]
maintain a global silence memblock cache
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2282
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sun, 20 Apr 2008 19:52:05 +0000 (19:52 +0000)]
fix for new location of gccmacro.h
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2281
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sun, 20 Apr 2008 19:51:08 +0000 (19:51 +0000)]
we have not periodic timers anymore
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2280
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sun, 20 Apr 2008 19:50:42 +0000 (19:50 +0000)]
update to recent changes of proplist api
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2279
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sun, 20 Apr 2008 19:49:55 +0000 (19:49 +0000)]
split user supplied data in multiple memory blocks if necessary to fit in one mempool tile. If the caller supplied a free_cb and we use shm it's better to copy the data immediately to the shm region instead of keeping it around as user memblock
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2278
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sun, 20 Apr 2008 19:46:43 +0000 (19:46 +0000)]
increase the default pool size to 16MB because we now need to keep a lot more memory around due to glitch-free.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2277
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sun, 20 Apr 2008 19:44:33 +0000 (19:44 +0000)]
add lower boundary for artifical latencies
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2276
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sun, 20 Apr 2008 19:43:59 +0000 (19:43 +0000)]
follow pa_pstream_use_shm->pa_pstream_enable_shm rename
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2275
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sun, 20 Apr 2008 19:43:20 +0000 (19:43 +0000)]
add new pa_pstream_get_shm() API, rename pa_pstream_use_shm() to pa_pstream_enable_shm(); pa_bool_t-ization
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2274
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sun, 20 Apr 2008 19:41:53 +0000 (19:41 +0000)]
remove debug messages
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2273
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sun, 20 Apr 2008 19:41:26 +0000 (19:41 +0000)]
add new silence memblock caching subsystem
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2272
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sun, 20 Apr 2008 19:40:30 +0000 (19:40 +0000)]
add new API function pa_memchunk_memcpy()
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2271
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sun, 20 Apr 2008 19:38:33 +0000 (19:38 +0000)]
print a message on xrun
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2270
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Thu, 17 Apr 2008 16:28:23 +0000 (16:28 +0000)]
add new rtstutter tool which can be used generate artifical scheduling latencies in the OS to trigger buffer underrun events in your software. it's an awesome debug tool for glitch-free; also move test programs from automake's check_ back to noinst_ to make sure it is built everytime Lennart presses F9 in his emacs
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2269
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Thu, 17 Apr 2008 16:24:26 +0000 (16:24 +0000)]
define PA_xxxSEC_PER_yyySEC for usec, too
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2268
fefdeb5f-60dc-0310-8127-
8f9354f1896f
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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