summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
* if S16NE is not supported, fall back to S16RE. If FLOAT32NE is not ↵Lennart Poettering2006-06-161-14/+70
| | | | | | supported, fall back to FLOAT32NE. If still nothing is supported, try everything else in order git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1020 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
* Make a copy of the va_list as vsnprintf() is free to change it.Pierre Ossman2006-06-131-1/+7
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1017 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
* Make sure our inet_ntop() implementation gets linked into the new users.Pierre Ossman2006-06-131-1/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1015 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Tweak the printing of client connections a bit so that it's more apparentPierre Ossman2006-06-133-3/+10
| | | | | | | what and who it is that's connecting. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1014 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Handle pretty printing of IPv6 socket names.Pierre Ossman2006-06-131-0/+17
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1013 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Use AM_ICONV to determine what needs to be done for iconv support. (closes #19)Pierre Ossman2006-06-122-6/+7
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1012 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Add all the preopen libs to the polypaudio binary's dependency list as theyPierre Ossman2006-06-111-0/+2
| | | | | | | aren't automatically detected. (Closes #17) git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1008 fefdeb5f-60dc-0310-8127-8f9354f1896f
* rework ioline EOF handling to actually work properlyLennart Poettering2006-06-031-32/+55
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1007 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix pa_xstrndup() implementation to not access potentially uninitialized memoryLennart Poettering2006-06-031-10/+9
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1006 fefdeb5f-60dc-0310-8127-8f9354f1896f
* actually build cpulimit support if SIGXCPU is availableLennart Poettering2006-06-021-3/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1005 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix ugly access-after-free bug when doing asyncronous NS lookupsLennart Poettering2006-06-021-6/+8
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1004 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Try the ltdl mangled name ourselves so that .la files for modules are optional.Pierre Ossman2006-06-011-2/+36
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@998 fefdeb5f-60dc-0310-8127-8f9354f1896f
* remove superfluous prefixes from service namesLennart Poettering2006-05-311-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@997 fefdeb5f-60dc-0310-8127-8f9354f1896f
* decrease maximum allowed sample frequency for ALSA devices to 5%, since ↵Lennart Poettering2006-05-311-1/+1
| | | | | | 48000 would otherwise match with 44100 git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@995 fefdeb5f-60dc-0310-8127-8f9354f1896f
* downgrade a log messageLennart Poettering2006-05-301-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@994 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * alsa-sink: if "PCM" is not found as mixer track name, fallback to "Master"Lennart Poettering2006-05-304-9/+20
| | | | | | | * alsa-source: if "Capture" is not found as mixer track name, fallback to "Mic" git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@993 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * if an ALSA device doesn't support the channel count requested, use what ↵Lennart Poettering2006-05-304-11/+36
| | | | | | | | | | ALSA suggests instead * if an ALSA device doesn't support the sampling freq requested, use what ALSA suggests and resample if this deviates more than 10% from what we requested * fix segfault freeing an unitialized mixer_fdl field git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@992 fefdeb5f-60dc-0310-8127-8f9354f1896f
* load alsa modules with device string hw:0 instead of hw:0,0Lennart Poettering2006-05-301-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@990 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix amd64 portability issuesLennart Poettering2006-05-301-3/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@989 fefdeb5f-60dc-0310-8127-8f9354f1896f
* merge patch from Igor Zubkov, fixing linking of the HOWL modulesLennart Poettering2006-05-291-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@988 fefdeb5f-60dc-0310-8127-8f9354f1896f
* drop the .sh suffix from esdcompatLennart Poettering2006-05-292-4/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@986 fefdeb5f-60dc-0310-8127-8f9354f1896f
* disable padsp for the polypaudio daemon itself by defining the ↵Lennart Poettering2006-05-261-0/+7
| | | | | | __padsp_disabled__ symbol git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@983 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
* Explicitly check version number when determining which fields are in a streamPierre Ossman2006-05-262-20/+10
| | | | | | | create response. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@978 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * add new API function pa_stream_get_buffer_attr().Lennart Poettering2006-05-257-4/+108
| | | | | | | | | * 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
* We only need the so for libpolypdsp.Pierre Ossman2006-05-251-0/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@974 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-2548-253/+324
| | | | | | | | * 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-252-11/+5
| | | | | | | systems. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@969 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Move libpolypdsp in the makefile to avoid the libtool bug where it must comePierre Ossman2006-05-251-19/+24
| | | | | | | after any things it depends on. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@968 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-248-18/+42
| | | | 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