summaryrefslogtreecommitdiffstats
path: root/src/utils
Commit message (Collapse)AuthorAgeFilesLines
...
* replace a few remaining uppercase "Polypaudio" occurences with "PulseAudio"Lennart Poettering2006-06-197-17/+17
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1036 fefdeb5f-60dc-0310-8127-8f9354f1896f
* big s/polyp/pulse/gLennart Poettering2006-06-199-58/+58
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1033 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Handle clients that just want to set fragment size (and not count).Pierre Ossman2006-06-191-1/+5
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1030 fefdeb5f-60dc-0310-8127-8f9354f1896f
* /dev/dsp should default to U8, not mulaw.Pierre Ossman2006-06-161-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1023 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Creating a stream might take some time, so check that it's in the right statePierre Ossman2006-06-161-2/+2
| | | | | | | before transferring data. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1022 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Record support.Pierre Ossman2006-06-161-132/+435
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1021 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Make debug output in padsp a bit less verbose. Specifying -d twice will givePierre Ossman2006-06-152-118/+146
| | | | | | | original output. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1018 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Catch the access() system call as some applications do this to test if theyPierre Ossman2006-06-131-0/+28
| | | | | | | can open /dev/dsp. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1016 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix the fix_metrics() function so that we don't get a tiny buffer by default.Pierre Ossman2006-05-261-6/+16
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@981 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix typos.Pierre Ossman2006-05-261-3/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@980 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Returned buffer attr is const.Pierre Ossman2006-05-261-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@979 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * add new API function pa_stream_get_buffer_attr().Lennart Poettering2006-05-251-1/+19
| | | | | | | | | * modify pacat.c to make use of that new API * extend protocol to allow transfer of the necessary information * update protocol version accordingly git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@976 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Wrong prefix used in the padsp script.Pierre Ossman2006-05-251-10/+10
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@975 fefdeb5f-60dc-0310-8127-8f9354f1896f
* really fix a superfluous warning when building padsp.cLennart Poettering2006-05-251-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@973 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * split pa_cstrerror() into its own file polypcore/core-error.[ch]Lennart Poettering2006-05-252-9/+9
| | | | | | | | * fix building of padsp * remove a warning when compiling padsp.c git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@972 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix padsp script so that it accepts parameters, setting relevant environmentPierre Ossman2006-05-251-0/+51
| | | | | | | variables as needed. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@970 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Use only the basename of libpolypdsp.so so that it will work on multi-archPierre Ossman2006-05-251-2/+2
| | | | | | | systems. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@969 fefdeb5f-60dc-0310-8127-8f9354f1896f
* read stream and client name from $PADSP_STREAM_NAME resp. ↵Lennart Poettering2006-05-251-4/+17
| | | | | | $PADSP_CLIENT_NAME, if available git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@965 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add support to disable emulation of /dev/dsp,/dev/mixer,/dev/sndstat ↵Lennart Poettering2006-05-251-3/+58
| | | | | | selectively by either passing an environment variable or by defining a symbol __padsp_disable__ in the process git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@964 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix evil, evil typo that cause all gtk2 based apps to crashLennart Poettering2006-05-251-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@963 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * issue volume updates syncrhonouslyLennart Poettering2006-05-251-5/+18
| | | | | | | * correct channel order of OSS volumes (swap left,right) git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@962 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix warnings.Pierre Ossman2006-05-241-7/+14
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@959 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix stray \Pierre Ossman2006-05-241-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@957 fefdeb5f-60dc-0310-8127-8f9354f1896f
* implement a /dev/mixer interfaceLennart Poettering2006-05-241-25/+261
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@956 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix playback of small sound filesLennart Poettering2006-05-241-2/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@955 fefdeb5f-60dc-0310-8127-8f9354f1896f
* implement emulation of /dev/sndstatLennart Poettering2006-05-231-15/+102
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@954 fefdeb5f-60dc-0310-8127-8f9354f1896f
* - 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-232-0/+1314
| | | | | | polypaudio git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@950 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Wrap strerror() in a function that makes it thread safe and converts thePierre Ossman2006-05-221-7/+8
| | | | | | | output to UTF-8. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@945 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix some missing headers.Pierre Ossman2006-05-191-0/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@937 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
* Don't include util.h from core-util.h as it is not needed by many users.Pierre Ossman2006-05-181-0/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@929 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix include line for "core-util.h"Lennart Poettering2006-05-173-3/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@923 fefdeb5f-60dc-0310-8127-8f9354f1896f
* split polypcore/util.[ch] into polypcore/core-util.[ch] and polyp/util.[ch]Lennart Poettering2006-05-171-3/+1
| | | | 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
* * 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
* bump version number to 0.9Lennart Poettering2006-05-163-3/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@886 fefdeb5f-60dc-0310-8127-8f9354f1896f
* take the filename specified on the command line as default stream nameLennart Poettering2006-05-141-7/+11
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@863 fefdeb5f-60dc-0310-8127-8f9354f1896f
* allow the user to specify an alternative channel map in paplay tooLennart Poettering2006-04-261-4/+25
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@809 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix volume range printed on --helpLennart Poettering2006-04-261-2/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@808 fefdeb5f-60dc-0310-8127-8f9354f1896f
* allow specifying the channel map to use on the command lineLennart Poettering2006-04-261-3/+24
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@805 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix a couple of issues I found when compiling polypaudio with gcc 2.95Lennart Poettering2006-04-181-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@754 fefdeb5f-60dc-0310-8127-8f9354f1896f
* when storing recording data in file, create file with proper access rightsLennart Poettering2006-04-121-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@693 fefdeb5f-60dc-0310-8127-8f9354f1896f
* yet anotrher fix for slow linksLennart Poettering2006-04-121-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@692 fefdeb5f-60dc-0310-8127-8f9354f1896f
* small fix to deal properly with slow linksLennart Poettering2006-04-121-4/+7
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@691 fefdeb5f-60dc-0310-8127-8f9354f1896f
* beefup pacat a little: Lennart Poettering2006-04-121-13/+46
| | | | | | | | * when -v is passed, show current playback time and latency * modify SIGUSR1 behaviour to show only playback time and latency git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@687 fefdeb5f-60dc-0310-8127-8f9354f1896f
* when using record mode, allow file to save data to to be passed on the ↵Lennart Poettering2006-04-101-17/+17
| | | | | | command line git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@675 fefdeb5f-60dc-0310-8127-8f9354f1896f