summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | Platform dependent semaphore implementation for Windows.Pierre Ossman2007-10-031-0/+65
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1929 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | Assorted minor Windows compatibility fixes for recent code updates.Pierre Ossman2007-10-0315-39/+98
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1928 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | Add stubs when RT signals aren't available.Pierre Ossman2007-10-031-0/+20
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1927 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | Adapt rtpoll and friends to Windows by replacing timespec with timeval andPierre Ossman2007-10-037-152/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | Replace all references to sys/poll.h with poll.h as that's what POSIX defines.Pierre Ossman2007-10-033-8/+5
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1925 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | update native protocol to make use of pa_memblockq_pop_missingLennart Poettering2007-10-011-88/+89
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1924 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | Move request size handling into pa_memblockq, function ↵Lennart Poettering2007-10-012-31/+108
| | | | | | | | | | | | | | | | | | | | | | | | pa_memblockq_pop_missing() git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1923 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | Fix race condition between IO thread creation and pa_sink_put(). Move ↵Lennart Poettering2007-10-017-102/+158
| | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | fix trivial typoLennart Poettering2007-10-011-1/+1
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1921 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | fix silence initializer for alaw and ulawLennart Poettering2007-10-011-2/+4
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1920 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | Fixed PA_GCC_CONST definition.Tanu Kaskinen2007-09-301-2/+2
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1919 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | Update module-solaris to new structure.Pierre Ossman2007-09-282-307/+395
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1918 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | treat timer_enabled like a real, grown-up boolean variableLennart Poettering2007-09-281-3/+3
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1917 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | rework module-combine once again. We now run the data generation always in a ↵Lennart Poettering2007-09-281-336/+208
| | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | Move the poll() call outside the #ifdef checking for ppoll, since we want ↵Lennart Poettering2007-09-281-61/+60
| | | | | | | | | | | | | | | | | | | | | | | | 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
| | * | use the full range of RTSIGS for our stuffLennart Poettering2007-09-281-10/+10
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1914 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | Allocate rtsigs from back to front, to avoid clashes with other libraries ↵Lennart Poettering2007-09-281-12/+13
| | | | | | | | | | | | | | | | | | | | | | | | makeing use of rtsigs git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1913 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | only do IO if we are RUNNING or IDLE, but not when we are in INITLennart Poettering2007-09-281-2/+2
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1912 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | Incorrectly used str2sig() instead of sig2str().Pierre Ossman2007-09-281-1/+1
| | | | | | | | | | | | | | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1911 fefdeb5f-60dc-0310-8127-8f9354f1896f
| | * | 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