summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* - use pthread_atfork() to disable open sound streams in the child after a fork.Lennart Poettering2006-05-231-6/+122
| | | | | | | | | | | Obviusly sound won't work in child process but at least we don't leak fds from the parent. Now any operation on the device fd in the child will result in an EBADF error, which seems somewhat clean to me. - flush our unix socket properly on RESET ioctl git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@953 fefdeb5f-60dc-0310-8127-8f9354f1896f
* pass the binary name as client name to polypaudioLennart Poettering2006-05-231-1/+13
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@952 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Cast size_t to long to be more compatible with 64-bit systems.Pierre Ossman2006-05-231-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@951 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add new padsp utility: a $LD_PRELOAD wrapper for using the OSS API with ↵Lennart Poettering2006-05-233-2/+1335
| | | | | | polypaudio git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@950 fefdeb5f-60dc-0310-8127-8f9354f1896f
* change return type of pa_cstrerror() to "const char*"Lennart Poettering2006-05-232-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@949 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix some warnings.Pierre Ossman2006-05-232-1/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@948 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix TLS on Win32 to something a bit more safe and portable (compiler-wise).Pierre Ossman2006-05-221-1/+85
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@947 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add missing #includeLennart Poettering2006-05-221-0/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@946 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Wrap strerror() in a function that makes it thread safe and converts thePierre Ossman2006-05-2248-169/+334
| | | | | | | output to UTF-8. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@945 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add missing #includeLennart Poettering2006-05-211-0/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@943 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add new function pa_usec_to_bytes() as inverse of pa_bytes_to_usec()Lennart Poettering2006-05-212-0/+9
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@942 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix long-standing buf that could cause polypaudio to eat 100% CPU: fix ↵Lennart Poettering2006-05-201-4/+4
| | | | | | handling of event bits for pa_iochannel git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@940 fefdeb5f-60dc-0310-8127-8f9354f1896f
* rename pa_simple_get_playback_latency() to pa_simple_get_latency() and allow ↵Lennart Poettering2006-05-203-6/+4
| | | | | | its usage on capture streams git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@939 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix some missing headers.Pierre Ossman2006-05-193-1/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@937 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix which headers get installed for libpolyp.Pierre Ossman2006-05-191-1/+11
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@936 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Sort source files.Pierre Ossman2006-05-191-28/+28
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@935 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Convert log text to current locale before passing it on to stderr or syslog.Pierre Ossman2006-05-182-5/+33
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@933 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Make paplay convert names to UTF-8 before sending to the server.Pierre Ossman2006-05-181-4/+18
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@932 fefdeb5f-60dc-0310-8127-8f9354f1896f
* And functions for convertion to and from current locale and UTF-8.Pierre Ossman2006-05-182-0/+78
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@931 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Missing include of util.h.Pierre Ossman2006-05-181-0/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@930 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Don't include util.h from core-util.h as it is not needed by many users.Pierre Ossman2006-05-1811-4/+12
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@929 fefdeb5f-60dc-0310-8127-8f9354f1896f
* PATH_MAX needs limits.h.Pierre Ossman2006-05-181-0/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@928 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Move timeval calculation functions into their own file.Pierre Ossman2006-05-1822-148/+233
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@926 fefdeb5f-60dc-0310-8127-8f9354f1896f
* modify lirc module to use pa_sink_mute() for muting and unmutingLennart Poettering2006-05-171-23/+35
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@924 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix include line for "core-util.h"Lennart Poettering2006-05-1727-28/+26
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@923 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add C++ macros to utf8.hLennart Poettering2006-05-171-0/+6
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@922 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add C++ macros to xmalloc.hLennart Poettering2006-05-171-0/+5
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@921 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * add doxygen docs to header fileLennart Poettering2006-05-172-18/+36
| | | | | | | * add C++ macros to header file git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@920 fefdeb5f-60dc-0310-8127-8f9354f1896f
* include util.h in polypaudio.hLennart Poettering2006-05-171-1/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@918 fefdeb5f-60dc-0310-8127-8f9354f1896f
* split polypcore/util.[ch] into polypcore/core-util.[ch] and polyp/util.[ch]Lennart Poettering2006-05-1753-375/+469
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@917 fefdeb5f-60dc-0310-8127-8f9354f1896f
* replace memory allocation function calls with pa_xXXXX() Lennart Poettering2006-05-173-63/+54
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@916 fefdeb5f-60dc-0310-8127-8f9354f1896f
* include more files in polypaudio.hLennart Poettering2006-05-171-2/+8
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@915 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add doxygen docs for utf8.hLennart Poettering2006-05-171-0/+7
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@914 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * make pa_xfree() a real functionLennart Poettering2006-05-172-1/+22
| | | | | | | * update doxygen docs for xmalloc.h git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@913 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add new channel map argument to pa_simple_new()Lennart Poettering2006-05-174-6/+11
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@911 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix svn tagLennart Poettering2006-05-171-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@910 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Move utf8 to the public part (libpolyp).Pierre Ossman2006-05-1710-13/+13
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@909 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Move xmalloc to the public side (libpolyp).Pierre Ossman2006-05-17105-109/+193
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@908 fefdeb5f-60dc-0310-8127-8f9354f1896f
* more sensible default.pa fileLennart Poettering2006-05-171-22/+27
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@907 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add proper locking when accessing the file match.tableLennart Poettering2006-05-171-1/+6
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@906 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add proper locking when accessing the file volume.table Lennart Poettering2006-05-171-3/+12
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@905 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * support native ULAW/ALAW file streamsLennart Poettering2006-05-171-13/+26
| | | | | | | * fix shutdown of file streams git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@901 fefdeb5f-60dc-0310-8127-8f9354f1896f
* support loading ULAW/ALAW files into ULAW/ALAW memchunksLennart Poettering2006-05-171-15/+36
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@900 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * use S16NE for SF_FORMAT_PCM_S8 formats, tooLennart Poettering2006-05-171-2/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@899 fefdeb5f-60dc-0310-8127-8f9354f1896f
* when playing an ULAW or ALAW audio file, do not convert to S16NE ↵Lennart Poettering2006-05-171-22/+35
| | | | | | unconditionally, instead use sf_read_raw() to read raw audio data git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@898 fefdeb5f-60dc-0310-8127-8f9354f1896f
* increase PA_CHANNELS_MAX to 32Lennart Poettering2006-05-172-1/+17
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@897 fefdeb5f-60dc-0310-8127-8f9354f1896f
* use PA_CHANNEL_MAP_OSS in module-oss, module-oss-mmapLennart Poettering2006-05-172-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@896 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add new channel mapping standard PA_CHANNEL_MAP_OSSLennart Poettering2006-05-172-3/+39
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@895 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Update documentation to contain the UTF-8 requirement.Pierre Ossman2006-05-171-0/+5
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@893 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Documentation for the threaded main loop API.Pierre Ossman2006-05-173-5/+215
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@892 fefdeb5f-60dc-0310-8127-8f9354f1896f