Lennart Poettering [Sun, 7 Oct 2007 13:57:35 +0000 (13:57 +0000)]
add missing poll.h inclusion
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1939
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sun, 7 Oct 2007 13:57:20 +0000 (13:57 +0000)]
add missing poll.h inclusion
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1938
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sun, 7 Oct 2007 13:56:50 +0000 (13:56 +0000)]
add missing poll.h inclusion
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1937
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sun, 7 Oct 2007 13:56:07 +0000 (13:56 +0000)]
s/timespec/timeval
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1936
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sun, 7 Oct 2007 13:55:37 +0000 (13:55 +0000)]
fix build
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1935
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sun, 7 Oct 2007 13:54:49 +0000 (13:54 +0000)]
add new API function pa_timeval_store()
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1934
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sun, 7 Oct 2007 13:54:15 +0000 (13:54 +0000)]
Fix build; change return value of pa_rtclock_hrtimer() to pa_bool
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1933
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Thu, 4 Oct 2007 22:41:33 +0000 (22:41 +0000)]
fix poll.h check, bad boy ossman broke
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1932
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Pierre Ossman [Wed, 3 Oct 2007 15:00:36 +0000 (15:00 +0000)]
Don't call pa_rtsig_configure() when we lack the necessary defines.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1931
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Pierre Ossman [Wed, 3 Oct 2007 15:00:13 +0000 (15:00 +0000)]
module_ladspa used libltdl so make sure it links against it.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1930
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Pierre Ossman [Wed, 3 Oct 2007 14:48:40 +0000 (14:48 +0000)]
Platform dependent semaphore implementation for Windows.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1929
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Pierre Ossman [Wed, 3 Oct 2007 14:47:26 +0000 (14:47 +0000)]
Assorted minor Windows compatibility fixes for recent code updates.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1928
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Pierre Ossman [Wed, 3 Oct 2007 14:46:36 +0000 (14:46 +0000)]
Add stubs when RT signals aren't available.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1927
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Pierre Ossman [Wed, 3 Oct 2007 14:43:56 +0000 (14:43 +0000)]
Adapt rtpoll and friends to Windows by replacing timespec with timeval and
add a fallback when clock_gettime() isn't available.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1926
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Pierre Ossman [Wed, 3 Oct 2007 14:41:21 +0000 (14:41 +0000)]
Replace all references to sys/poll.h with poll.h as that's what POSIX defines.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1925
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Mon, 1 Oct 2007 16:42:59 +0000 (16:42 +0000)]
update native protocol to make use of pa_memblockq_pop_missing
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1924
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Mon, 1 Oct 2007 16:41:50 +0000 (16:41 +0000)]
Move request size handling into pa_memblockq, function pa_memblockq_pop_missing()
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1923
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Mon, 1 Oct 2007 16:39:04 +0000 (16:39 +0000)]
Fix race condition between IO thread creation and pa_sink_put(). Move activation of rtpoll fds when we change the state INIT->IDLE.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1922
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Mon, 1 Oct 2007 00:44:29 +0000 (00:44 +0000)]
fix trivial typo
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1921
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Mon, 1 Oct 2007 00:16:24 +0000 (00:16 +0000)]
fix silence initializer for alaw and ulaw
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1920
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Tanu Kaskinen [Sun, 30 Sep 2007 13:19:26 +0000 (13:19 +0000)]
Fixed PA_GCC_CONST definition.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1919
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Pierre Ossman [Fri, 28 Sep 2007 14:01:25 +0000 (14:01 +0000)]
Update module-solaris to new structure.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1918
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Fri, 28 Sep 2007 13:15:11 +0000 (13:15 +0000)]
treat timer_enabled like a real, grown-up boolean variable
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1917
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Fri, 28 Sep 2007 13:02:28 +0000 (13:02 +0000)]
rework module-combine once again. We now run the data generation always in a seperate thread. This should help use to avoid all the awful race conditions we had in previously
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1916
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Fri, 28 Sep 2007 13:00:35 +0000 (13:00 +0000)]
Move the poll() call outside the #ifdef checking for ppoll, since we want the poll in all cases. Prior to this change the check for negative return values of poll/ppoll was never actually executed when ppoll() was available
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1915
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Fri, 28 Sep 2007 12:53:17 +0000 (12:53 +0000)]
use the full range of RTSIGS for our stuff
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1914
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Fri, 28 Sep 2007 12:52:47 +0000 (12:52 +0000)]
Allocate rtsigs from back to front, to avoid clashes with other libraries makeing use of rtsigs
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1913
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Fri, 28 Sep 2007 12:22:56 +0000 (12:22 +0000)]
only do IO if we are RUNNING or IDLE, but not when we are in INIT
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1912
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Pierre Ossman [Fri, 28 Sep 2007 09:23:05 +0000 (09:23 +0000)]
Incorrectly used str2sig() instead of sig2str().
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1911
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Fri, 28 Sep 2007 00:30:48 +0000 (00:30 +0000)]
don't free silence memblocks that don't exist
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1910
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Fri, 28 Sep 2007 00:29:51 +0000 (00:29 +0000)]
speed up semaphore allocation with an flist
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1909
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Wed, 26 Sep 2007 22:50:08 +0000 (22:50 +0000)]
Use Linux eventfd() if kernel supports it
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1908
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Wed, 26 Sep 2007 13:33:25 +0000 (13:33 +0000)]
fix build with compilers that lack __thread
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1907
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Tue, 25 Sep 2007 01:58:16 +0000 (01:58 +0000)]
make sure when can shutdown PA cleanly without segfault
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1906
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Tue, 25 Sep 2007 00:53:49 +0000 (00:53 +0000)]
work around newest open() magic in fedora glibc
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1905
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Tue, 25 Sep 2007 00:45:57 +0000 (00:45 +0000)]
fix make dist
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1904
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Mon, 24 Sep 2007 23:53:58 +0000 (23:53 +0000)]
fix suspending in module-combine.c
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1903
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Mon, 24 Sep 2007 23:32:52 +0000 (23:32 +0000)]
* decouple suspending of monitor sources and their sinks
* implement resume-on-uncork
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1902
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Mon, 24 Sep 2007 23:32:01 +0000 (23:32 +0000)]
only post data into the monitor source when it is not suspended
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1901
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Mon, 24 Sep 2007 23:31:22 +0000 (23:31 +0000)]
* add new state changed hook for streams
* update sink->n_corked properly when moving streams
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1900
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Mon, 24 Sep 2007 22:41:00 +0000 (22:41 +0000)]
fix IDLE vs. RUNNING state handling of sinks/sources when changing cork status for streams
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1899
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Mon, 24 Sep 2007 21:49:02 +0000 (21:49 +0000)]
rework zeroconf service publishing, to use synchronous hooks instead of asynchronous subscription events. Don't push autoload entries anymore.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1898
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Mon, 24 Sep 2007 21:47:22 +0000 (21:47 +0000)]
add hooks for name/description changes of sinks/source and streams
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1897
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Mon, 24 Sep 2007 17:14:00 +0000 (17:14 +0000)]
fix stream corking: ignore pa_sink_input() when we are in corked state
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1896
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Mon, 24 Sep 2007 16:24:23 +0000 (16:24 +0000)]
don't count streams using the monitor source in pa_sink_used_by(), because this would disallow suspending a sink ehn an rtp stream is connected
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1895
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Mon, 24 Sep 2007 16:10:43 +0000 (16:10 +0000)]
drop the PA_SOURCE_CAN_SUSPEND and PA_SINK_CAN_SUSPEND flags, since they were a bad idea in the first place. All sinks/sources are now *required* to handle suspending in one way or another. Luckily all current sink/source implementations handle it fine anyway.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1894
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sun, 23 Sep 2007 21:03:24 +0000 (21:03 +0000)]
instead of using the mixer ioctl()s on the dsp fd, open a seperate fd for the mixer. This allows us the keep the mixer fd open while closing the dsp device while suspending.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1893
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sun, 23 Sep 2007 19:30:56 +0000 (19:30 +0000)]
use O_NOFOLLOW when creating lock files, too
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1892
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sun, 23 Sep 2007 19:23:44 +0000 (19:23 +0000)]
use O_NOFOLLOW when creating PID file, to avoid symlink vulnerability
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1891
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Tanu Kaskinen [Sun, 23 Sep 2007 14:51:07 +0000 (14:51 +0000)]
Added an assertion for the case when the sink programmer hasn't installed the thread_mq properly.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1890
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Tanu Kaskinen [Sun, 23 Sep 2007 14:39:39 +0000 (14:39 +0000)]
Comment typo fix.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1889
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Tanu Kaskinen [Sat, 22 Sep 2007 08:39:07 +0000 (08:39 +0000)]
Fix the assignment of control values by using the right variable for indexing.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1888
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Tanu Kaskinen [Sat, 22 Sep 2007 07:31:29 +0000 (07:31 +0000)]
Correct the parameter positions with the pa_cvolume_set() call.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1887
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sat, 22 Sep 2007 02:00:32 +0000 (02:00 +0000)]
minor optimization
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1886
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sat, 22 Sep 2007 01:35:32 +0000 (01:35 +0000)]
include the name of the master sink in the name for piggy-backed virtual sinks
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1885
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sat, 22 Sep 2007 01:16:14 +0000 (01:16 +0000)]
prefix by order macros with PA_
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1884
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sat, 22 Sep 2007 00:26:18 +0000 (00:26 +0000)]
rework a couple of sample type converters, to actually work
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1883
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sat, 22 Sep 2007 00:25:17 +0000 (00:25 +0000)]
- rework volume adjustment code to not require fp
- don't hit an assert when we cannot do a volume adjustment, instead, print a warning and go on
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1882
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sat, 22 Sep 2007 00:22:36 +0000 (00:22 +0000)]
fix selection of working format
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1881
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sat, 22 Sep 2007 00:21:08 +0000 (00:21 +0000)]
make use of byte swap builtins of gcc if they are available
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1880
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Sat, 22 Sep 2007 00:19:56 +0000 (00:19 +0000)]
add test program for the resampler
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1879
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Fri, 21 Sep 2007 13:32:00 +0000 (13:32 +0000)]
allow _unlink() functions to be called as many times as people want, even before _put() was called
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1878
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Fri, 21 Sep 2007 00:16:34 +0000 (00:16 +0000)]
clamp sample data to -1 .. 1, before passing it to the plugin; if a control port data specification is left empty, initialize with the default value of the plugin
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1877
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Fri, 21 Sep 2007 00:14:20 +0000 (00:14 +0000)]
add CLAMP macro
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1876
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Thu, 20 Sep 2007 22:01:58 +0000 (22:01 +0000)]
don't segfault when the master changes
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1875
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Thu, 20 Sep 2007 22:01:07 +0000 (22:01 +0000)]
properly detach/attach when moving sink inputs
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1874
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Thu, 20 Sep 2007 20:33:34 +0000 (20:33 +0000)]
rework module-combine again
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1873
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Thu, 20 Sep 2007 20:30:03 +0000 (20:30 +0000)]
maintain the attach status in a boolean variable 'attach' accessible from the IO thread for sink_inputs/source_outputs
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1872
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Wed, 19 Sep 2007 22:21:55 +0000 (22:21 +0000)]
render new data always in the master sink's thread, fixing missing locking
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1871
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Wed, 19 Sep 2007 21:20:15 +0000 (21:20 +0000)]
make sure we initialize thread private data before we move our ghost sink to the rt thread, not after
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1870
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Wed, 19 Sep 2007 19:06:25 +0000 (19:06 +0000)]
fix trivial typo
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1869
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Wed, 19 Sep 2007 19:03:38 +0000 (19:03 +0000)]
fix check for lrintf, make resample2.c again identical to upstream ffmpeg
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1868
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Wed, 19 Sep 2007 00:12:01 +0000 (00:12 +0000)]
make O_CLOEXEC, O_NONBLOCK and socket low latency fd ops more uniform: always return void, name them similarly, only pass a single fd
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1867
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Wed, 19 Sep 2007 00:08:40 +0000 (00:08 +0000)]
copy free_cb into a temporary variable first, to avoid compiler warning
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1866
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Tue, 18 Sep 2007 23:35:05 +0000 (23:35 +0000)]
fall back to plughw:, if hw: doesn't work, in the alsa source, too
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1865
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Tue, 18 Sep 2007 23:24:13 +0000 (23:24 +0000)]
properly release memblock always abd as soon as possible
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1864
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Tue, 18 Sep 2007 23:21:06 +0000 (23:21 +0000)]
make use of pa_bool_t on a few places where applicable; really start work_cb
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1863
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Tue, 18 Sep 2007 22:29:24 +0000 (22:29 +0000)]
lower SO_PRIORITY priority to 6, since this is the best we get without being root
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1862
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Tue, 18 Sep 2007 22:25:18 +0000 (22:25 +0000)]
make rtp send socket low delay
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1861
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Tue, 18 Sep 2007 22:24:45 +0000 (22:24 +0000)]
add new pa_socket_udp_low_delay() API
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1860
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Tue, 18 Sep 2007 21:31:21 +0000 (21:31 +0000)]
add two missing header file inclusions
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1859
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Tue, 18 Sep 2007 19:52:45 +0000 (19:52 +0000)]
bug fixes for module-rtp-recv
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1858
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Tue, 18 Sep 2007 19:52:20 +0000 (19:52 +0000)]
make sure we don't call pa_source_post() for a monitor source after it was unlinked
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1857
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Tue, 18 Sep 2007 19:51:26 +0000 (19:51 +0000)]
If PTHREAD_PRIO_INHERIT mutexes are not available fall back to normal mutexes
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1856
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Tue, 18 Sep 2007 17:41:51 +0000 (17:41 +0000)]
port module-rtp-send.c to lock-free core
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1855
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Tue, 18 Sep 2007 12:53:42 +0000 (12:53 +0000)]
actually close the alsa device before we try to reopen it as plughw
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1854
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Pierre Ossman [Tue, 18 Sep 2007 10:47:03 +0000 (10:47 +0000)]
strtof() is a rather recent addition to C. Fall back to strtod() if it isn't
available.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1853
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Pierre Ossman [Tue, 18 Sep 2007 10:45:54 +0000 (10:45 +0000)]
NSIG seems to be more common than _NSIG.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1852
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Pierre Ossman [Tue, 18 Sep 2007 10:38:07 +0000 (10:38 +0000)]
Emulate lrintf with simple truncation if it isn't available.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1851
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Pierre Ossman [Tue, 18 Sep 2007 10:36:17 +0000 (10:36 +0000)]
Make sure the header file is only included on linux (as this is a linux-only
feature).
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1850
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Pierre Ossman [Tue, 18 Sep 2007 08:57:54 +0000 (08:57 +0000)]
NSIG is not defined by neither C99 nor POSIX so we can't rely on it.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1849
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Mon, 17 Sep 2007 22:42:20 +0000 (22:42 +0000)]
add LADSPA sink than can be piggy-backed ontop of another sink
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1848
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Mon, 17 Sep 2007 22:40:42 +0000 (22:40 +0000)]
print a message when we fall back on plughw
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1847
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Mon, 17 Sep 2007 22:39:51 +0000 (22:39 +0000)]
add a locale-independant pa_atof() implementation
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1846
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Mon, 17 Sep 2007 22:38:39 +0000 (22:38 +0000)]
hide sig2str-test
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1845
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Mon, 17 Sep 2007 17:00:50 +0000 (17:00 +0000)]
fall back to plughw: if hw: doesn't work
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1844
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Mon, 17 Sep 2007 15:26:18 +0000 (15:26 +0000)]
Rename pa_strsignal() to pa_sig2str(), since we return the symbolical signal name, not a human readable string. This follows the Solaris API of sig2str() a bit. Also, add all remaining signals to the list of signal names.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1843
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Mon, 17 Sep 2007 14:03:04 +0000 (14:03 +0000)]
drop a couple of WARNING prefixes in log messages, since we have pa_log_warn anyway for marking warnings especially
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1842
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Mon, 17 Sep 2007 13:50:13 +0000 (13:50 +0000)]
once.c is no longer POSIX specific. Since it is now considerably more advanced than it used to be, use it on windows, too
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1841
fefdeb5f-60dc-0310-8127-
8f9354f1896f
Lennart Poettering [Mon, 17 Sep 2007 13:32:46 +0000 (13:32 +0000)]
on Linu disable lazy binding altogether
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1840
fefdeb5f-60dc-0310-8127-
8f9354f1896f