summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* don't free silence memblocks that don't existLennart Poettering2007-09-281-3/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1910 fefdeb5f-60dc-0310-8127-8f9354f1896f
* speed up semaphore allocation with an flistLennart Poettering2007-09-281-7/+14
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1909 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Use Linux eventfd() if kernel supports itLennart Poettering2007-09-261-19/+100
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1908 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix build with compilers that lack __threadLennart Poettering2007-09-261-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1907 fefdeb5f-60dc-0310-8127-8f9354f1896f
* make sure when can shutdown PA cleanly without segfaultLennart Poettering2007-09-251-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1906 fefdeb5f-60dc-0310-8127-8f9354f1896f
* work around newest open() magic in fedora glibcLennart Poettering2007-09-251-24/+35
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1905 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix make distLennart Poettering2007-09-251-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1904 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix suspending in module-combine.cLennart Poettering2007-09-241-4/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1903 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * decouple suspending of monitor sources and their sinksLennart Poettering2007-09-241-13/+48
| | | | | | | * implement resume-on-uncork git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1902 fefdeb5f-60dc-0310-8127-8f9354f1896f
* only post data into the monitor source when it is not suspendedLennart Poettering2007-09-241-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1901 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * add new state changed hook for streamsLennart Poettering2007-09-243-0/+18
| | | | | | | * 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
* fix IDLE vs. RUNNING state handling of sinks/sources when changing cork ↵Lennart Poettering2007-09-242-0/+10
| | | | | | status for streams git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1899 fefdeb5f-60dc-0310-8127-8f9354f1896f
* rework zeroconf service publishing, to use synchronous hooks instead of ↵Lennart Poettering2007-09-241-340/+198
| | | | | | 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
* add hooks for name/description changes of sinks/source and streamsLennart Poettering2007-09-245-6/+22
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1897 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix stream corking: ignore pa_sink_input() when we are in corked stateLennart Poettering2007-09-241-1/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1896 fefdeb5f-60dc-0310-8127-8f9354f1896f
* don't count streams using the monitor source in pa_sink_used_by(), because ↵Lennart Poettering2007-09-242-9/+14
| | | | | | 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
* drop the PA_SOURCE_CAN_SUSPEND and PA_SINK_CAN_SUSPEND flags, since they ↵Lennart Poettering2007-09-2412-214/+196
| | | | | | 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
* instead of using the mixer ioctl()s on the dsp fd, open a seperate fd for ↵Lennart Poettering2007-09-233-192/+290
| | | | | | 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
* use O_NOFOLLOW when creating lock files, tooLennart Poettering2007-09-231-38/+41
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1892 fefdeb5f-60dc-0310-8127-8f9354f1896f
* use O_NOFOLLOW when creating PID file, to avoid symlink vulnerabilityLennart Poettering2007-09-231-4/+8
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1891 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Added an assertion for the case when the sink programmer hasn't installed ↵Tanu Kaskinen2007-09-231-1/+3
| | | | | | the thread_mq properly. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1890 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Comment typo fix.Tanu Kaskinen2007-09-231-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1889 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix the assignment of control values by using the right variable for indexing.Tanu Kaskinen2007-09-221-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1888 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Correct the parameter positions with the pa_cvolume_set() call.Tanu Kaskinen2007-09-221-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1887 fefdeb5f-60dc-0310-8127-8f9354f1896f
* minor optimizationLennart Poettering2007-09-221-2/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1886 fefdeb5f-60dc-0310-8127-8f9354f1896f
* include the name of the master sink in the name for piggy-backed virtual sinksLennart Poettering2007-09-222-23/+30
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1885 fefdeb5f-60dc-0310-8127-8f9354f1896f
* prefix by order macros with PA_Lennart Poettering2007-09-228-93/+96
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1884 fefdeb5f-60dc-0310-8127-8f9354f1896f
* rework a couple of sample type converters, to actually workLennart Poettering2007-09-222-45/+16
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1883 fefdeb5f-60dc-0310-8127-8f9354f1896f
* - rework volume adjustment code to not require fpLennart Poettering2007-09-221-43/+33
| | | | | | | - 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
* fix selection of working formatLennart Poettering2007-09-221-60/+63
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1881 fefdeb5f-60dc-0310-8127-8f9354f1896f
* make use of byte swap builtins of gcc if they are availableLennart Poettering2007-09-222-31/+43
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1880 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add test program for the resamplerLennart Poettering2007-09-222-4/+237
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1879 fefdeb5f-60dc-0310-8127-8f9354f1896f
* allow _unlink() functions to be called as many times as people want, even ↵Lennart Poettering2007-09-214-35/+87
| | | | | | before _put() was called git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1878 fefdeb5f-60dc-0310-8127-8f9354f1896f
* clamp sample data to -1 .. 1, before passing it to the plugin; if a control ↵Lennart Poettering2007-09-211-33/+123
| | | | | | 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
* add CLAMP macroLennart Poettering2007-09-211-1/+5
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1876 fefdeb5f-60dc-0310-8127-8f9354f1896f
* don't segfault when the master changesLennart Poettering2007-09-201-15/+9
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1875 fefdeb5f-60dc-0310-8127-8f9354f1896f
* properly detach/attach when moving sink inputsLennart Poettering2007-09-201-0/+20
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1874 fefdeb5f-60dc-0310-8127-8f9354f1896f
* rework module-combine againLennart Poettering2007-09-201-187/+245
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1873 fefdeb5f-60dc-0310-8127-8f9354f1896f
* maintain the attach status in a boolean variable 'attach' accessible from ↵Lennart Poettering2007-09-206-89/+109
| | | | | | 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
* render new data always in the master sink's thread, fixing missing lockingLennart Poettering2007-09-191-65/+133
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1871 fefdeb5f-60dc-0310-8127-8f9354f1896f
* make sure we initialize thread private data before we move our ghost sink to ↵Lennart Poettering2007-09-191-3/+4
| | | | | | the rt thread, not after git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1870 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix trivial typoLennart Poettering2007-09-191-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1869 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix check for lrintf, make resample2.c again identical to upstream ffmpegLennart Poettering2007-09-192-7/+11
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1868 fefdeb5f-60dc-0310-8127-8f9354f1896f
* make O_CLOEXEC, O_NONBLOCK and socket low latency fd ops more uniform: ↵Lennart Poettering2007-09-1916-119/+101
| | | | | | 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
* copy free_cb into a temporary variable first, to avoid compiler warningLennart Poettering2007-09-191-1/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1866 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fall back to plughw:, if hw: doesn't work, in the alsa source, tooLennart Poettering2007-09-182-16/+42
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1865 fefdeb5f-60dc-0310-8127-8f9354f1896f
* properly release memblock always abd as soon as possibleLennart Poettering2007-09-181-5/+6
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1864 fefdeb5f-60dc-0310-8127-8f9354f1896f
* make use of pa_bool_t on a few places where applicable; really start work_cbLennart Poettering2007-09-182-30/+30
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1863 fefdeb5f-60dc-0310-8127-8f9354f1896f
* 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