summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | 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
| | * | add new pa_pipe_close() API to close two fds at the same timeLennart Poettering2007-09-128-27/+21
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1812 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | consolidate close() calls to pa_close(), and make sure on every occasion ↵Lennart Poettering2007-09-1218-81/+89
| | | | | | | | | | | | | | | | | | | | | | | | that we handle failures of close() sensibly git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1811 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | on systems where we know that POSIX shm is mapped to /dev/shm, add the ↵Lennart Poettering2007-09-115-9/+134
| | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | remaining s/assert/pa_assert/ and refcnt.h modernizationsLennart Poettering2007-09-1159-724/+967
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1809 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | Rework core-error.c on top of PA_STATIC_TLS_DECLARE, the windows specific ↵Lennart Poettering2007-09-111-154/+26
| | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | explcitly initialize tls memory to NULLLennart Poettering2007-09-111-1/+1
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1807 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | more modernizations, s/assert/pa_assert/gLennart Poettering2007-09-119-189/+387
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1806 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | finish modernizations in pulse/, s/assert/pa_assert/gLennart Poettering2007-09-115-133/+151
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1805 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | More s/assert/pa_assert/ modernizationsLennart Poettering2007-09-114-245/+271
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1804 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | add 'wait' parameter to pa_rtpoll_run(), if zero pa_rtpoll_runn will only ↵Lennart Poettering2007-09-1110-12/+18
| | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | port client libs to refcnt.hLennart Poettering2007-09-117-127/+129
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1802 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | add globally defined PA_PATH_SEP macro, replacing private per-file macrosLennart Poettering2007-09-115-29/+17
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1801 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | add missing config.h includesLennart Poettering2007-09-113-0/+12
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1800 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | Instead of including config.h from header files, check whether PACKAGE is ↵Lennart Poettering2007-09-115-9/+13
| | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | more s/assert/pa_assert/ modernizationsLennart Poettering2007-09-116-125/+132
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1798 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | unify static TLS support, make use of gcc __thread attribute if availableLennart Poettering2007-09-107-32/+59
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1797 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | s/assert/pa_assert/ modernizationsLennart Poettering2007-09-101-19/+31
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1796 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | add new API pa_threaded_mainloop_in_thread(), update test case for itLennart Poettering2007-09-103-6/+16
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1795 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | simple modernizations: s/assert/pa_assertLennart Poettering2007-09-108-61/+83
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1794 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | make sure we send each memblock only once when recording, not twiceLennart Poettering2007-09-101-2/+1
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1793 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | minor cleanupLennart Poettering2007-09-102-2/+1
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1792 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | make the memchunk writeable before silencing itLennart Poettering2007-09-101-0/+1
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1791 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | beef up commentLennart Poettering2007-09-101-1/+3
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1790 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | make sure that the device volume is properly read before we call ↵Lennart Poettering2007-09-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | add pulseaudio logo with textLennart Poettering2007-09-101-0/+388
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1788 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | update todo file a littleLennart Poettering2007-09-101-8/+3
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1787 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | hide a couple of filesLennart Poettering2007-09-100-0/+0
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1786 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | document that the native amd64 atomic ops implementation is incompleteLennart Poettering2007-09-101-0/+2
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1785 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | don't call pa_source_process_msg() for PA_SOURCE_MESSAGE_GET_LATENCY, since ↵Lennart Poettering2007-09-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | it makes querying the latency always fail git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1784 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | posix_madvise and posix_fadvise aren't present on all systems.Pierre Ossman2007-09-104-5/+11
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1783 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | Remove mkdir_p again...Pierre Ossman2007-09-101-1/+3
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1782 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | TIOCINQ isn't present on all systems.Pierre Ossman2007-09-101-1/+3
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1781 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | Monotonic clock is optional so treat is as such.Pierre Ossman2007-09-101-1/+5
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1780 fefdeb5f-60dc-0310-8127-8f9354f1896f