]> code.delx.au - pulseaudio/log
pulseaudio
16 years agosome beautification updates, show msec instead of usec everywhere
Lennart Poettering [Tue, 22 Apr 2008 02:47:47 +0000 (02:47 +0000)]
some beautification updates, show msec instead of usec everywhere

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

16 years agoif no timer was armed, we don't need to disarm it
Lennart Poettering [Tue, 22 Apr 2008 02:47:05 +0000 (02:47 +0000)]
if no timer was armed, we don't need to disarm it

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

16 years agoif no latency was configure for a sink/source, fill in the max latency automatically
Lennart Poettering [Tue, 22 Apr 2008 02:46:19 +0000 (02:46 +0000)]
if no latency was configure for a sink/source, fill in the max latency automatically

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

16 years agoadd new function pa_alsa_recover_from_poll() to merge common core from module-alsa...
Lennart Poettering [Tue, 22 Apr 2008 02:44:25 +0000 (02:44 +0000)]
add new function pa_alsa_recover_from_poll() to merge common core from module-alsa-sink and module-alsa-source

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

16 years agoimplement --process-time
Lennart Poettering [Tue, 22 Apr 2008 02:38:51 +0000 (02:38 +0000)]
implement --process-time

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

16 years agomake sure the client buffer has space for 2*minreq+tlength. Explain why
Lennart Poettering [Tue, 22 Apr 2008 01:11:16 +0000 (01:11 +0000)]
make sure the client buffer has space for 2*minreq+tlength. Explain why

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

16 years ago- Change meaning of special values of latency request: 0 -> "minimal latency, please...
Lennart Poettering [Tue, 22 Apr 2008 01:04:27 +0000 (01:04 +0000)]
- Change meaning of special values of latency request: 0 -> "minimal latency, please"; (pa_usec_t)-1 -> "don't care"
- Remove "source" word from monitor source description
- Increase default tsched watermark to 20ms again
- For the first iteration after snd_pcm_start() halve the sleep time as workaround for USB devices with quick starts

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

16 years agoproperly initialize memblock->is_silence for imported memory blocks; make is_silence...
Lennart Poettering [Tue, 22 Apr 2008 00:52:31 +0000 (00:52 +0000)]
properly initialize memblock->is_silence for imported memory blocks; make is_silence and read_only a bit field

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

16 years agoimprove dB volume calculation
Lennart Poettering [Sun, 20 Apr 2008 23:57:44 +0000 (23:57 +0000)]
improve dB volume calculation

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

16 years agofix C++ compat
Lennart Poettering [Sun, 20 Apr 2008 23:56:55 +0000 (23:56 +0000)]
fix C++ compat

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

16 years agoinitialize properties for ALSA sinks/sources more elaborately, re #277
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

16 years agouse the sink description instead of the name to choose the description for the monito...
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

16 years agodrop a redundant pa_init_proplist(), properly set MEDIA_NAME property on stream,...
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

16 years agorename sink_input->rewind to process_rewind() and set_max_rewind to update_max_rewind()
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

16 years agoBig pile of dependant changes:
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

16 years agomaintain a global silence memblock cache
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

16 years agofix for new location of gccmacro.h
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

16 years agowe have not periodic timers anymore
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

16 years agoupdate to recent changes of proplist api
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

16 years agosplit user supplied data in multiple memory blocks if necessary to fit in one mempool...
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

16 years agoincrease the default pool size to 16MB because we now need to keep a lot more memory...
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

16 years agoadd lower boundary for artifical latencies
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

16 years agofollow pa_pstream_use_shm->pa_pstream_enable_shm rename
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

16 years agoadd new pa_pstream_get_shm() API, rename pa_pstream_use_shm() to pa_pstream_enable_sh...
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

16 years agoremove debug messages
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

16 years agoadd new silence memblock caching subsystem
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

16 years agoadd new API function pa_memchunk_memcpy()
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

16 years agoprint a message on xrun
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

16 years agoadd new rtstutter tool which can be used generate artifical scheduling latencies...
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

16 years agodefine PA_xxxSEC_PER_yyySEC for usec, too
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

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