summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* lower SO_PRIORITY priority to 6, since this is the best we get without being ↵Lennart Poettering2007-09-181-1/+1
| | | | | | root git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1862 fefdeb5f-60dc-0310-8127-8f9354f1896f
* make rtp send socket low delayLennart Poettering2007-09-182-1/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1861 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add new pa_socket_udp_low_delay() APILennart Poettering2007-09-182-1/+36
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1860 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add two missing header file inclusionsLennart Poettering2007-09-182-0/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1859 fefdeb5f-60dc-0310-8127-8f9354f1896f
* bug fixes for module-rtp-recvLennart Poettering2007-09-181-9/+22
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1858 fefdeb5f-60dc-0310-8127-8f9354f1896f
* make sure we don't call pa_source_post() for a monitor source after it was ↵Lennart Poettering2007-09-181-2/+2
| | | | | | unlinked git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1857 fefdeb5f-60dc-0310-8127-8f9354f1896f
* If PTHREAD_PRIO_INHERIT mutexes are not available fall back to normal mutexesLennart Poettering2007-09-181-2/+22
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1856 fefdeb5f-60dc-0310-8127-8f9354f1896f
* port module-rtp-send.c to lock-free coreLennart Poettering2007-09-187-265/+352
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1855 fefdeb5f-60dc-0310-8127-8f9354f1896f
* actually close the alsa device before we try to reopen it as plughwLennart Poettering2007-09-181-0/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1854 fefdeb5f-60dc-0310-8127-8f9354f1896f
* strtof() is a rather recent addition to C. Fall back to strtod() if it isn'tPierre Ossman2007-09-182-1/+5
| | | | | | | available. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1853 fefdeb5f-60dc-0310-8127-8f9354f1896f
* NSIG seems to be more common than _NSIG.Pierre Ossman2007-09-181-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1852 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Emulate lrintf with simple truncation if it isn't available.Pierre Ossman2007-09-182-0/+10
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1851 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Make sure the header file is only included on linux (as this is a linux-onlyPierre Ossman2007-09-181-1/+4
| | | | | | | feature). git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1850 fefdeb5f-60dc-0310-8127-8f9354f1896f
* NSIG is not defined by neither C99 nor POSIX so we can't rely on it.Pierre Ossman2007-09-181-2/+7
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1849 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add LADSPA sink than can be piggy-backed ontop of another sinkLennart Poettering2007-09-173-1/+1176
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1848 fefdeb5f-60dc-0310-8127-8f9354f1896f
* print a message when we fall back on plughwLennart Poettering2007-09-171-0/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1847 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add a locale-independant pa_atof() implementationLennart Poettering2007-09-173-3/+61
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1846 fefdeb5f-60dc-0310-8127-8f9354f1896f
* hide sig2str-testLennart Poettering2007-09-170-0/+0
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1845 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fall back to plughw: if hw: doesn't workLennart Poettering2007-09-171-15/+37
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1844 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Rename pa_strsignal() to pa_sig2str(), since we return the symbolical signal ↵Lennart Poettering2007-09-177-21/+129
| | | | | | 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
* drop a couple of WARNING prefixes in log messages, since we have pa_log_warn ↵Lennart Poettering2007-09-1713-24/+22
| | | | | | anyway for marking warnings especially git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1842 fefdeb5f-60dc-0310-8127-8f9354f1896f
* once.c is no longer POSIX specific. Since it is now considerably more ↵Lennart Poettering2007-09-174-75/+3
| | | | | | 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
* on Linu disable lazy binding altogetherLennart Poettering2007-09-171-1/+17
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1840 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add missing initializationLennart Poettering2007-09-171-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1839 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Add a special ltdl .so loader that avoids lazy frelocations during runtimeLennart Poettering2007-09-175-35/+197
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1838 fefdeb5f-60dc-0310-8127-8f9354f1896f
* use priority inheritance on mutexes where applicableLennart Poettering2007-09-1710-15/+48
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1837 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add proper boolean type pa_bool_tLennart Poettering2007-09-1610-56/+83
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1836 fefdeb5f-60dc-0310-8127-8f9354f1896f
* use gcc const and pure function attributes wherever applicableLennart Poettering2007-09-1610-36/+73
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1835 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add a new module module-remap-sink which can be used to remap the channel ↵Lennart Poettering2007-09-162-1/+337
| | | | | | 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
* add a "length" argument to the seek functions, as an optimization to request ↵Lennart Poettering2007-09-1611-50/+94
| | | | | | 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
* split memblocks into multiples of the mempool tile sizeLennart Poettering2007-09-161-3/+6
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1832 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add new API pa_mempool_block_size_max() to query the maximum tile sizeLennart Poettering2007-09-162-1/+9
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1831 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * add a new resampler "copy" which is does not change sample rates but ↵Lennart Poettering2007-09-162-3/+67
| | | | | | | | | 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
* properly define MAX/MIN macrosLennart Poettering2007-09-161-2/+7
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1829 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add missing header file changes for frame alignment apisLennart Poettering2007-09-161-0/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1828 fefdeb5f-60dc-0310-8127-8f9354f1896f
* be a little bit more elaborate on the reason why we drop to software volume ↵Lennart Poettering2007-09-161-5/+6
| | | | | | 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
* add frame alignment APIs; don't require memory to be writable when silencing ↵Lennart Poettering2007-09-161-2/+21
| | | | | | 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
* trivial typoLennart Poettering2007-09-151-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1825 fefdeb5f-60dc-0310-8127-8f9354f1896f
* count corked streams per sink/source and make pa_sink_used_by() return only ↵Lennart Poettering2007-09-157-7/+64
| | | | | | 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
* Move attaching/detaching from a pa_rtpoll into pa_sink proper, remove it ↵Lennart Poettering2007-09-146-30/+150
| | | | | | from module-combine git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1823 fefdeb5f-60dc-0310-8127-8f9354f1896f
* simplify rt loops a bit by moving more code into pa_rtpoll. It is now ↵Lennart Poettering2007-09-1419-270/+180
| | | | | | 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
* explicitly destory TLS data before destroying TLSLennart Poettering2007-09-141-2/+8
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1821 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add two new macros PA_ONCE_BEGIN and PA_ONCE_END which allow usage of ↵Lennart Poettering2007-09-142-19/+64
| | | | | | 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
* call dbus_shutdown() before exiting, to make valgrind output more usefulLennart Poettering2007-09-144-6/+13
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1819 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix two typos in reference count handlingLennart Poettering2007-09-142-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1818 fefdeb5f-60dc-0310-8127-8f9354f1896f
* make newer gcc shut upLennart Poettering2007-09-142-3/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1817 fefdeb5f-60dc-0310-8127-8f9354f1896f
* extend rtpoll API to allow registration of arbitray functions to be executed ↵Lennart Poettering2007-09-1211-61/+139
| | | | | | 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
* add missing config.h inclusionLennart Poettering2007-09-121-0/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1815 fefdeb5f-60dc-0310-8127-8f9354f1896f
* reindent, and s/assert/pa_assert/gLennart Poettering2007-09-121-57/+66
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1814 fefdeb5f-60dc-0310-8127-8f9354f1896f
* change pa_modargs_get_channel_map() to take an extra argument for specifying ↵Lennart Poettering2007-09-123-7/+7
| | | | | | 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