]> code.delx.au - pulseaudio/log
pulseaudio
16 years agoport module-rtp-send.c to lock-free core
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

16 years agoactually close the alsa device before we try to reopen it as plughw
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

16 years agostrtof() is a rather recent addition to C. Fall back to strtod() if it isn't
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

16 years agoNSIG seems to be more common than _NSIG.
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

16 years agoEmulate lrintf with simple truncation if it isn't available.
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

16 years agoMake sure the header file is only included on linux (as this is a linux-only
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

16 years agoNSIG is not defined by neither C99 nor POSIX so we can't rely on it.
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

16 years agoadd LADSPA sink than can be piggy-backed ontop of another sink
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

16 years agoprint a message when we fall back on plughw
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

16 years agoadd a locale-independant pa_atof() implementation
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

16 years agohide sig2str-test
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

16 years agofall back to plughw: if hw: doesn't work
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

16 years agoRename pa_strsignal() to pa_sig2str(), since we return the symbolical signal name...
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

16 years agodrop a couple of WARNING prefixes in log messages, since we have pa_log_warn anyway...
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

16 years agoonce.c is no longer POSIX specific. Since it is now considerably more advanced than...
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

16 years agoon Linu disable lazy binding altogether
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

16 years agoadd missing initialization
Lennart Poettering [Mon, 17 Sep 2007 13:01:04 +0000 (13:01 +0000)]
add missing initialization

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

16 years agoAdd a special ltdl .so loader that avoids lazy frelocations during runtime
Lennart Poettering [Mon, 17 Sep 2007 12:31:06 +0000 (12:31 +0000)]
Add a special ltdl .so loader that avoids lazy frelocations during runtime

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

16 years agouse priority inheritance on mutexes where applicable
Lennart Poettering [Mon, 17 Sep 2007 00:32:51 +0000 (00:32 +0000)]
use priority inheritance on mutexes where applicable

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

16 years agoadd proper boolean type pa_bool_t
Lennart Poettering [Sun, 16 Sep 2007 23:28:56 +0000 (23:28 +0000)]
add proper boolean type pa_bool_t

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

16 years agouse gcc const and pure function attributes wherever applicable
Lennart Poettering [Sun, 16 Sep 2007 22:42:03 +0000 (22:42 +0000)]
use gcc const and pure function attributes wherever applicable

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

16 years agoadd a new module module-remap-sink which can be used to remap the channel maps of...
Lennart Poettering [Sun, 16 Sep 2007 22:03:19 +0000 (22:03 +0000)]
add a new module module-remap-sink which can be used to remap the channel maps of an already existant sink. one use case is to create a virtual sink that redirects stereo data to the rear speakers of a surround card.

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

16 years agoadd a "length" argument to the seek functions, as an optimization to request a certai...
Lennart Poettering [Sun, 16 Sep 2007 22:00:38 +0000 (22:00 +0000)]
add a "length" argument to the seek functions, as an optimization to request a certain block size if any data needs to be generated. this is merely a hint.

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

16 years agosplit memblocks into multiples of the mempool tile size
Lennart Poettering [Sun, 16 Sep 2007 21:58:04 +0000 (21:58 +0000)]
split memblocks into multiples of the mempool tile size

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

16 years agoadd new API pa_mempool_block_size_max() to query the maximum tile size
Lennart Poettering [Sun, 16 Sep 2007 21:57:15 +0000 (21:57 +0000)]
add new API pa_mempool_block_size_max() to query the maximum tile size

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

16 years ago* add a new resampler "copy" which is does not change sample rates but copies data...
Lennart Poettering [Sun, 16 Sep 2007 21:56:38 +0000 (21:56 +0000)]
* add a new resampler "copy" which is does not change sample rates but copies data unmodified from input to output.
* add a new API pa_resampler_max_block_size() which can be used to determine the maximum input buffer size for the resampler so that the bounce buffers don't grow larger then the mempool tile size

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

16 years agoproperly define MAX/MIN macros
Lennart Poettering [Sun, 16 Sep 2007 21:54:12 +0000 (21:54 +0000)]
properly define MAX/MIN macros

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

16 years agoadd missing header file changes for frame alignment apis
Lennart Poettering [Sun, 16 Sep 2007 15:10:16 +0000 (15:10 +0000)]
add missing header file changes for frame alignment apis

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

16 years agobe a little bit more elaborate on the reason why we drop to software volume control...
Lennart Poettering [Sun, 16 Sep 2007 15:09:45 +0000 (15:09 +0000)]
be a little bit more elaborate on the reason why we drop to software volume control if hw is not featureful enough for us

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

16 years agoadd frame alignment APIs; don't require memory to be writable when silencing it ...
Lennart Poettering [Sun, 16 Sep 2007 15:05:26 +0000 (15:05 +0000)]
add frame alignment APIs; don't require memory to be writable when silencing it (required of the mmap modes drivers where the hw data needs to be silenced, although it is not writable to others)

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

16 years agotrivial typo
Lennart Poettering [Sat, 15 Sep 2007 14:57:18 +0000 (14:57 +0000)]
trivial typo

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

16 years agocount corked streams per sink/source and make pa_sink_used_by() return only the numbe...
Lennart Poettering [Sat, 15 Sep 2007 14:21:05 +0000 (14:21 +0000)]
count corked streams per sink/source and make pa_sink_used_by() return only the number of streams that are not corked. Introduce pa_sink_linked_by() returning the number of streams connected at all. This will allow suspending of sinks/sources when all streams connected to a sink are corked.

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

16 years agoMove attaching/detaching from a pa_rtpoll into pa_sink proper, remove it from module...
Lennart Poettering [Fri, 14 Sep 2007 23:26:17 +0000 (23:26 +0000)]
Move attaching/detaching from a pa_rtpoll into pa_sink proper, remove it from module-combine

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

16 years agosimplify rt loops a bit by moving more code into pa_rtpoll. It is now possible to...
Lennart Poettering [Fri, 14 Sep 2007 21:51:05 +0000 (21:51 +0000)]
simplify rt loops a bit by moving more code into pa_rtpoll. It is now possible to attach "work" functions to a pa_rtpoll_item, which will be called in each loop iteration. This allows us to hide the message processing in the RT loops and to drop the seperate sink_input->process hooks. Basically, only the driver-specific code remains in the RT loops.

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

16 years agoexplicitly destory TLS data before destroying TLS
Lennart Poettering [Fri, 14 Sep 2007 21:05:47 +0000 (21:05 +0000)]
explicitly destory TLS data before destroying TLS

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

16 years agoadd two new macros PA_ONCE_BEGIN and PA_ONCE_END which allow usage of pa_once without...
Lennart Poettering [Fri, 14 Sep 2007 21:04:08 +0000 (21:04 +0000)]
add two new macros PA_ONCE_BEGIN and PA_ONCE_END which allow usage of pa_once without declaring a function to be called

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

16 years agocall dbus_shutdown() before exiting, to make valgrind output more useful
Lennart Poettering [Fri, 14 Sep 2007 21:02:18 +0000 (21:02 +0000)]
call dbus_shutdown() before exiting, to make valgrind output more useful

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

16 years agofix two typos in reference count handling
Lennart Poettering [Fri, 14 Sep 2007 21:01:00 +0000 (21:01 +0000)]
fix two typos in reference count handling

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

16 years agomake newer gcc shut up
Lennart Poettering [Fri, 14 Sep 2007 17:12:25 +0000 (17:12 +0000)]
make newer gcc shut up

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

16 years agoextend rtpoll API to allow registration of arbitray functions to be executed in the...
Lennart Poettering [Wed, 12 Sep 2007 22:57:29 +0000 (22:57 +0000)]
extend rtpoll API to allow registration of arbitray functions to be executed in the event loop. Add priority system for specifying the order of these functions.

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

16 years agoadd missing config.h inclusion
Lennart Poettering [Wed, 12 Sep 2007 22:54:22 +0000 (22:54 +0000)]
add missing config.h inclusion

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

16 years agoreindent, and s/assert/pa_assert/g
Lennart Poettering [Wed, 12 Sep 2007 22:50:44 +0000 (22:50 +0000)]
reindent, and s/assert/pa_assert/g

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

16 years agochange pa_modargs_get_channel_map() to take an extra argument for specifying the...
Lennart Poettering [Wed, 12 Sep 2007 20:12:13 +0000 (20:12 +0000)]
change pa_modargs_get_channel_map() to take an extra argument for specifying the name of the modargs attribute to parse

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

16 years agoadd new pa_pipe_close() API to close two fds at the same time
Lennart Poettering [Wed, 12 Sep 2007 00:17:51 +0000 (00:17 +0000)]
add new pa_pipe_close() API to close two fds at the same time

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

16 years agoconsolidate close() calls to pa_close(), and make sure on every occasion that we...
Lennart Poettering [Wed, 12 Sep 2007 00:04:21 +0000 (00:04 +0000)]
consolidate close() calls to pa_close(), and make sure on every occasion that we handle failures of close() sensibly

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

16 years agoon systems where we know that POSIX shm is mapped to /dev/shm, add the ability to...
Lennart Poettering [Tue, 11 Sep 2007 23:12:24 +0000 (23:12 +0000)]
on systems where we know that POSIX shm is mapped to /dev/shm, add the ability to cleanup stale SHM segments. (Right now only Linux)

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

16 years agoremaining s/assert/pa_assert/ and refcnt.h modernizations
Lennart Poettering [Tue, 11 Sep 2007 20:48:33 +0000 (20:48 +0000)]
remaining s/assert/pa_assert/ and refcnt.h modernizations

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

16 years agoRework core-error.c on top of PA_STATIC_TLS_DECLARE, the windows specific parts need...
Lennart Poettering [Tue, 11 Sep 2007 15:27:32 +0000 (15:27 +0000)]
Rework core-error.c on top of PA_STATIC_TLS_DECLARE, the windows specific parts need to be moved to thread-win32.c

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

16 years agoexplcitly initialize tls memory to NULL
Lennart Poettering [Tue, 11 Sep 2007 15:14:46 +0000 (15:14 +0000)]
explcitly initialize tls memory to NULL

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

16 years agomore modernizations, s/assert/pa_assert/g
Lennart Poettering [Tue, 11 Sep 2007 14:58:25 +0000 (14:58 +0000)]
more modernizations, s/assert/pa_assert/g

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

16 years agofinish modernizations in pulse/, s/assert/pa_assert/g
Lennart Poettering [Tue, 11 Sep 2007 14:23:38 +0000 (14:23 +0000)]
finish modernizations in pulse/, s/assert/pa_assert/g

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

16 years agoMore s/assert/pa_assert/ modernizations
Lennart Poettering [Tue, 11 Sep 2007 14:04:38 +0000 (14:04 +0000)]
More s/assert/pa_assert/ modernizations

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

16 years agoadd 'wait' parameter to pa_rtpoll_run(), if zero pa_rtpoll_runn will only update...
Lennart Poettering [Tue, 11 Sep 2007 13:15:39 +0000 (13:15 +0000)]
add 'wait' parameter to pa_rtpoll_run(), if zero pa_rtpoll_runn will only update the struct pollfd but not wait for an event

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

16 years agoport client libs to refcnt.h
Lennart Poettering [Tue, 11 Sep 2007 12:42:17 +0000 (12:42 +0000)]
port client libs to refcnt.h

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

16 years agoadd globally defined PA_PATH_SEP macro, replacing private per-file macros
Lennart Poettering [Tue, 11 Sep 2007 01:00:33 +0000 (01:00 +0000)]
add globally defined PA_PATH_SEP macro, replacing private per-file macros

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

16 years agoadd missing config.h includes
Lennart Poettering [Tue, 11 Sep 2007 00:56:21 +0000 (00:56 +0000)]
add missing config.h includes

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

16 years agoInstead of including config.h from header files, check whether PACKAGE is defined...
Lennart Poettering [Tue, 11 Sep 2007 00:30:53 +0000 (00:30 +0000)]
Instead of including config.h from header files, check whether PACKAGE is defined and if not, fail (thus using PACKAGE as a check for inclusion of config.h)

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

16 years agomore s/assert/pa_assert/ modernizations
Lennart Poettering [Tue, 11 Sep 2007 00:24:10 +0000 (00:24 +0000)]
more s/assert/pa_assert/ modernizations

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

16 years agounify static TLS support, make use of gcc __thread attribute if available
Lennart Poettering [Mon, 10 Sep 2007 23:57:10 +0000 (23:57 +0000)]
unify static TLS support, make use of gcc __thread attribute if available

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

16 years agos/assert/pa_assert/ modernizations
Lennart Poettering [Mon, 10 Sep 2007 22:17:30 +0000 (22:17 +0000)]
s/assert/pa_assert/ modernizations

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

16 years agoadd new API pa_threaded_mainloop_in_thread(), update test case for it
Lennart Poettering [Mon, 10 Sep 2007 21:58:01 +0000 (21:58 +0000)]
add new API pa_threaded_mainloop_in_thread(), update test case for it

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

16 years agosimple modernizations: s/assert/pa_assert
Lennart Poettering [Mon, 10 Sep 2007 21:48:45 +0000 (21:48 +0000)]
simple modernizations: s/assert/pa_assert

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

16 years agomake sure we send each memblock only once when recording, not twice
Lennart Poettering [Mon, 10 Sep 2007 20:57:17 +0000 (20:57 +0000)]
make sure we send each memblock only once when recording, not twice

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

16 years agominor cleanup
Lennart Poettering [Mon, 10 Sep 2007 20:56:36 +0000 (20:56 +0000)]
minor cleanup

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

16 years agomake the memchunk writeable before silencing it
Lennart Poettering [Mon, 10 Sep 2007 20:56:13 +0000 (20:56 +0000)]
make the memchunk writeable before silencing it

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

16 years agobeef up comment
Lennart Poettering [Mon, 10 Sep 2007 20:55:46 +0000 (20:55 +0000)]
beef up comment

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

16 years agomake sure that the device volume is properly read before we call pa_sink_put() and...
Lennart Poettering [Mon, 10 Sep 2007 20:55:01 +0000 (20:55 +0000)]
make sure that the device volume is properly read before we call pa_sink_put() and thus make the pa_sink available

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

16 years agoadd pulseaudio logo with text
Lennart Poettering [Mon, 10 Sep 2007 19:01:33 +0000 (19:01 +0000)]
add pulseaudio logo with text

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

16 years agoupdate todo file a little
Lennart Poettering [Mon, 10 Sep 2007 19:01:09 +0000 (19:01 +0000)]
update todo file a little

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

16 years agohide a couple of files
Lennart Poettering [Mon, 10 Sep 2007 18:56:03 +0000 (18:56 +0000)]
hide a couple of files

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

16 years agodocument that the native amd64 atomic ops implementation is incomplete
Lennart Poettering [Mon, 10 Sep 2007 18:55:36 +0000 (18:55 +0000)]
document that the native amd64 atomic ops implementation is incomplete

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

16 years agodon't call pa_source_process_msg() for PA_SOURCE_MESSAGE_GET_LATENCY, since it makes...
Lennart Poettering [Mon, 10 Sep 2007 14:23:00 +0000 (14:23 +0000)]
don't call pa_source_process_msg() for PA_SOURCE_MESSAGE_GET_LATENCY, since it makes querying the latency always fail

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

16 years agoposix_madvise and posix_fadvise aren't present on all systems.
Pierre Ossman [Mon, 10 Sep 2007 11:35:30 +0000 (11:35 +0000)]
posix_madvise and posix_fadvise aren't present on all systems.

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

16 years agoRemove mkdir_p again...
Pierre Ossman [Mon, 10 Sep 2007 11:34:35 +0000 (11:34 +0000)]
Remove mkdir_p again...

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

16 years agoTIOCINQ isn't present on all systems.
Pierre Ossman [Mon, 10 Sep 2007 11:33:47 +0000 (11:33 +0000)]
TIOCINQ isn't present on all systems.

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

16 years agoMonotonic clock is optional so treat is as such.
Pierre Ossman [Mon, 10 Sep 2007 11:27:56 +0000 (11:27 +0000)]
Monotonic clock is optional so treat is as such.

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

16 years agoPOSIX realtime clock functions are in time.h so make sure to include it.
Pierre Ossman [Mon, 10 Sep 2007 11:19:53 +0000 (11:19 +0000)]
POSIX realtime clock functions are in time.h so make sure to include it.

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

16 years agoChanged PA_SAMPLE_S16_NE to PA_SAMPLE_S16NE in the example code in the Simple API...
Tanu Kaskinen [Sun, 9 Sep 2007 09:39:26 +0000 (09:39 +0000)]
Changed PA_SAMPLE_S16_NE to PA_SAMPLE_S16NE in the example code in the Simple API Doxygen documentation.

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

16 years agofix an assert when runnig module-oss in record only-mode. optimize allocation of...
Lennart Poettering [Thu, 6 Sep 2007 23:29:16 +0000 (23:29 +0000)]
fix an assert when runnig module-oss in record only-mode. optimize allocation of memblocks on playback

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

16 years agoinstall libpulsecore again, since libtool otherwise links it statically into every...
Lennart Poettering [Thu, 6 Sep 2007 23:11:22 +0000 (23:11 +0000)]
install libpulsecore again, since libtool otherwise links it statically into every single module

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

16 years agofix copynpaste error
Lennart Poettering [Thu, 6 Sep 2007 23:10:34 +0000 (23:10 +0000)]
fix copynpaste error

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

16 years agodowngrade realtime group membership warning to 'info' at be a little bit more elaborate
Lennart Poettering [Thu, 6 Sep 2007 20:45:43 +0000 (20:45 +0000)]
downgrade realtime group membership warning to 'info' at be a little bit more elaborate

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

16 years agoupdate default config:
Lennart Poettering [Thu, 6 Sep 2007 20:38:10 +0000 (20:38 +0000)]
update default config:
- check for existance of modules before loading them
- disable all event sounds except hotplug by default

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

16 years agoexplicitly test for the availability of dbus_watch_get_unix_fd() before using it...
Lennart Poettering [Thu, 6 Sep 2007 20:06:02 +0000 (20:06 +0000)]
explicitly test for the availability of dbus_watch_get_unix_fd() before using it. The previous version-based check didn't work anyway since the constants checked for weren't set.

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

16 years agoupdate libltdl copy
Lennart Poettering [Tue, 4 Sep 2007 21:34:04 +0000 (21:34 +0000)]
update libltdl copy

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

16 years agoadd native amd64 atomic int implementation
Lennart Poettering [Tue, 4 Sep 2007 21:25:26 +0000 (21:25 +0000)]
add native amd64 atomic int implementation

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

16 years agodetect whether gcc atomic builtins are available
Lennart Poettering [Tue, 4 Sep 2007 21:24:45 +0000 (21:24 +0000)]
detect whether gcc atomic builtins are available

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

16 years agofix a couple of compiler warnings
Lennart Poettering [Tue, 4 Sep 2007 20:01:19 +0000 (20:01 +0000)]
fix a couple of compiler warnings

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

16 years agoif available, use native gcc atomicity builtins
Lennart Poettering [Tue, 4 Sep 2007 20:00:19 +0000 (20:00 +0000)]
if available, use native gcc atomicity builtins

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

16 years agocreate config.rpath to fix build on fedora
Lennart Poettering [Tue, 4 Sep 2007 16:19:07 +0000 (16:19 +0000)]
create config.rpath to fix build on fedora

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

16 years agoadd a few missing files for make dist
Lennart Poettering [Tue, 4 Sep 2007 02:41:15 +0000 (02:41 +0000)]
add a few missing files for make dist

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

16 years agodrop initial libtool_lock() call since this is a debian-specific borkage
Lennart Poettering [Tue, 4 Sep 2007 02:31:15 +0000 (02:31 +0000)]
drop initial libtool_lock() call since this is a debian-specific borkage

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

16 years agoinitialize libltdl for multi-thread support
Lennart Poettering [Tue, 4 Sep 2007 02:25:44 +0000 (02:25 +0000)]
initialize libltdl for multi-thread support

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

16 years agoWhen in PA_STREAM_AUTO_TIMING_UPDATE mode, delay completion of initialization until...
Lennart Poettering [Tue, 4 Sep 2007 01:37:34 +0000 (01:37 +0000)]
When in PA_STREAM_AUTO_TIMING_UPDATE mode, delay completion of initialization until we have the first timing data

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

16 years agoactually add source code of module-default-device-restore
Lennart Poettering [Mon, 3 Sep 2007 20:53:44 +0000 (20:53 +0000)]
actually add source code of module-default-device-restore

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

16 years agoadd a new module module-default-device-restore which automatically saves and restores...
Lennart Poettering [Mon, 3 Sep 2007 20:53:07 +0000 (20:53 +0000)]
add a new module module-default-device-restore which automatically saves and restores the selected default device. Enable it by default.

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

16 years agoheader file cleanup
Lennart Poettering [Mon, 3 Sep 2007 20:51:17 +0000 (20:51 +0000)]
header file cleanup

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

16 years agoonly list supported resampling methods when --dump-resample-methods is executed
Lennart Poettering [Mon, 3 Sep 2007 20:50:55 +0000 (20:50 +0000)]
only list supported resampling methods when --dump-resample-methods is executed

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

16 years agoadd new API function pa_resample_method_supported() which tests whether a resampling...
Lennart Poettering [Mon, 3 Sep 2007 20:50:03 +0000 (20:50 +0000)]
add new API function pa_resample_method_supported() which tests whether a resampling method is supported. Fix building with libsamplerate enabled

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

16 years agoactually define HAVE_LIBSAMPLERATE with AC_DEFINE
Lennart Poettering [Mon, 3 Sep 2007 20:39:55 +0000 (20:39 +0000)]
actually define HAVE_LIBSAMPLERATE with AC_DEFINE

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