Commit graph

1134 commits

Author SHA1 Message Date
Lennart Poettering
7755f759aa use (uint32_t) -1 to signify default buffer_attr values instead of 0, to allow prebuf=0 2008-06-27 00:34:17 +02:00
Lennart Poettering
2b764d4294 fix crash when using sync'ed streams 2008-06-27 00:28:42 +02:00
Lennart Poettering
06ab488f73 cork/uncork before we ask for the rewrite, to make sure the rewrite actually gets trhough 2008-06-27 00:28:17 +02:00
Lennart Poettering
9f0afb391a always forward rewind requests to the sink, and don't abort on nbytes=0 2008-06-26 19:43:45 +02:00
Lennart Poettering
ee79b05b31 rework logic to request automatic timing updates a bit 2008-06-26 19:03:53 +02:00
Lennart Poettering
4b8c4ef932 reorder a few things to get rid of an uneeded comparison 2008-06-26 19:03:16 +02:00
Lennart Poettering
97084e87c4 add a FIXME 2008-06-26 19:02:14 +02:00
Lennart Poettering
7d3d3fc15d move initialization order of validity bools around a bit 2008-06-26 19:01:51 +02:00
Lennart Poettering
36d6c712d8 unify smoother pause/resume handling in a single function check_smoother_status() 2008-06-26 19:00:42 +02:00
Lennart Poettering
dcbb7f2680 convert to double only once, and make sure we can deal with negative results of -y 2008-06-26 18:49:02 +02:00
Lennart Poettering
eab1cb8df9 make sure to call process_rewind() under all circumstances before we do the next loop iteration 2008-06-26 02:56:00 +02:00
Lennart Poettering
1e36b57b13 use the newer name for monotonic/monotonous 2008-06-26 00:44:19 +02:00
Lennart Poettering
2c5a33d9d8 remove redundant check 2008-06-26 00:43:30 +02:00
Lennart Poettering
85b83e8e8c properly initialize pa_stream::corked based on the flags 2008-06-26 00:42:09 +02:00
Lennart Poettering
1514d13835 split pa_memblockq_flush() into two flush commands, one which fixes up the read ptr, and one which fixes up the write ptr 2008-06-26 00:39:31 +02:00
Lennart Poettering
5fccac94e7 comment two functions in memblockq.c 2008-06-26 00:36:05 +02:00
Lennart Poettering
ec10f5fdd3 use the bight lighter _silence() instead of _flush() when destructing our little q 2008-06-26 00:33:07 +02:00
Lennart Poettering
dd8b909532 fix up if the smoother shall be resumed 'before' it was actually paused 2008-06-26 00:31:39 +02:00
Lennart Poettering
b4302cacf9 fix up monotonicity of input to _get() instead of hitting an assert 2008-06-26 00:29:59 +02:00
Lennart Poettering
63b68f418e call the enum PA_STREAM_NOT_MONOTONIC and make PA_STREAM_NOT_MONOTONOUS an alias for that 2008-06-26 00:27:54 +02:00
Lennart Poettering
df2650e7a5 fix return value of pa_namereg_make_valid_name() 2008-06-26 00:27:02 +02:00
Lennart Poettering
c5cbeb5ed2 choose more sensible default buffer sizes for old clients 2008-06-25 02:43:35 +02:00
Colin Guthrie
5099ab7b8b Export the cleanup_name() function and rename it to pa_namereg_make_valid_name().
This will allow it to be used by modules to create valid sink names.
2008-06-25 00:00:46 +01:00
Lennart Poettering
398514f577 call update_source_requested_latency callback for source outputs only when it is set to non-NULL 2008-06-24 00:06:25 +02:00
Lennart Poettering
c22d8b9a7a don't refer to nonexisting pa_stream_read() function 2008-06-23 22:47:37 +02:00
Lennart Poettering
57aee6d59f include proplist.h in pulseaudio.h 2008-06-23 22:46:22 +02:00
Lennart Poettering
8885ddf716 support file-based capabilities instead of SUID root for giving PA rights to acquire RT/HP scheduling: setcap cap_sys_nice=ep /usr/bin/pulseaudio 2008-06-22 01:48:46 +02:00
Lennart Poettering
ab93f2a087 fix deadlock when resuming oss sinks 2008-06-21 17:44:14 +02:00
Lennart Poettering
2199b8e1ad Properly check for home directory 2008-06-21 13:55:52 +02:00
Lennart Poettering
d0e26a519f Don't fail when we cannot determine the lock file path 2008-06-21 13:55:17 +02:00
Lennart Poettering
d1362b56b7 call the right function in the right context 2008-06-21 02:29:03 +02:00
Lennart Poettering
d9f8b6a503 since the sink is unlinked before the sink input we need to make sure we don't call any function for unlinked sinks from any sink input callback 2008-06-21 02:28:34 +02:00
Lennart Poettering
947d8b4c09 execute detach callback before we change the state to UNLINKED 2008-06-21 02:24:59 +02:00
Lennart Poettering
37bc240ee9 allow sinks to be created with max_request initialized to 0, so that the data can be filled in later when attaching to some piggybacked sink 2008-06-21 02:24:23 +02:00
Lennart Poettering
d3c1c920f0 Request a rewrite immediately after we have been linked, so that playback starts immediately 2008-06-20 23:04:12 +02:00
Lennart Poettering
add6c0361a Rework module-combine to work with glitch-free core; add new max_request field to pa_sink 2008-06-20 22:32:41 +02:00
Lennart Poettering
1420e1d1b5 fix interpretation of remix parameter 2008-06-20 22:29:30 +02:00
Lennart Poettering
6c980c2737 add new abstract device class 2008-06-20 22:18:03 +02:00
Lennart Poettering
2b112fe9db add new function pa_smoother_reset() 2008-06-20 22:17:40 +02:00
Lennart Poettering
11e55fe01f add new remix= parameter to remap sink 2008-06-19 19:23:14 +02:00
Lennart Poettering
c2fa11e179 make user of pa_channel_map_init_extend() wherever it makes sense 2008-06-18 23:44:26 +02:00
Lennart Poettering
132e73b2ef add new API pa_channel_map_init_extend() to synthesize a channel map if noone is known 2008-06-18 23:42:14 +02:00
Lennart Poettering
822366a653 remove remaining $ 2008-06-18 22:38:32 +02:00
Lennart Poettering
8ae83d618e get rid of svn $ keywords 2008-06-18 23:23:21 +03:00
Lennart Poettering
6c4edd159a add missing gitignore files 2008-06-18 00:51:50 +02:00
Lennart Poettering
b5a08021ed add another .gitignore file, this time for pulse/ 2008-06-18 00:47:32 +02:00
Lennart Poettering
3bf61ba88a Add a .gitignore file for the src/ directory. 2008-06-18 00:42:07 +02:00
Lennart Poettering
ba64de8f3c reset prebuf if it is too large
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2548 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-06-17 20:08:08 +00:00
Lennart Poettering
038a033c78 limit the prebuf value by tlength
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2547 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-06-17 20:07:51 +00:00
Lennart Poettering
b28c6e9890 bring module-tunnel back to life
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2546 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-06-17 18:29:15 +00:00