summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* set is_hardware flag for a few hw pluginsLennart Poettering2006-07-166-0/+10
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1092 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add new PA_SOURCE_HARDWARE/PA_SINK_HARDWARE flagLennart Poettering2006-07-162-4/+12
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1091 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add a new boolean variable is_hardware to pa_sink/pa_source to denote wether ↵Lennart Poettering2006-07-164-0/+8
| | | | | | the specific device is a hardware device or virtual/software git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1090 fefdeb5f-60dc-0310-8127-8f9354f1896f
* improve latency calculation of NULL sinkLennart Poettering2006-07-141-7/+27
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1088 fefdeb5f-60dc-0310-8127-8f9354f1896f
* remove checking for SIGPIPE blocking from client code. Because we useLennart Poettering2006-07-141-4/+0
| | | | | | | | | | | send(,,MSG_NOSIGNAL) for most socket writes now the reason for SIGPIPE blocking is no longer give. We keep this check for the server side however, because pipes create SIGPIPE too but cannot be used with MSG_NOSIGNAL. Some modules use pipes for internal and external communication. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1086 fefdeb5f-60dc-0310-8127-8f9354f1896f
* don't send SCM_CREDENTIALS on every sendmsg(), instead do it only on handshakeLennart Poettering2006-07-141-5/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1085 fefdeb5f-60dc-0310-8127-8f9354f1896f
* don't set MSG_NOSIGNAL for recvmsg(), since it doesn't make sense thereLennart Poettering2006-07-141-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1084 fefdeb5f-60dc-0310-8127-8f9354f1896f
* try to use send(,,MSG_NOSIGNAL) instead of write() wherever possible (whichLennart Poettering2006-07-1417-58/+100
| | | | | | | | | | will allow us to drop the SIGPIPE check). Cache the results of the last write()/send() to make sure that we do not issue more than necessary system calls. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1083 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Make sure the win32 default conf gets shipped.Pierre Ossman2006-07-141-0/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1080 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add new test get-binary-name-test for testing pa_get_binary_name()Lennart Poettering2006-07-142-1/+43
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1079 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Don't call pa_path_get_filename() anymore since it is implicitly called by ↵Lennart Poettering2006-07-141-1/+1
| | | | | | pa_get_binary_name() anyway git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1078 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * fall back to prctl(PR_GET_NAME) in pa_get_binary_name() if readlink() failsLennart Poettering2006-07-141-18/+45
| | | | | | | * call pa_path_get_filename() in all cases before returning in pa_get_binary_name(). We already did so on Win32, but didn't on Linux. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1077 fefdeb5f-60dc-0310-8127-8f9354f1896f
* support time events with NULL timevals which are OK in avahi, but not in PA. ↵Lennart Poettering2006-07-131-3/+12
| | | | | | This makes padevchooser actually work on top of the new avahi browsing stuff git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1076 fefdeb5f-60dc-0310-8127-8f9354f1896f
* remove howl-wrap.[ch]Lennart Poettering2006-07-132-154/+0
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1073 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * add proper error handling to pabrowse.cLennart Poettering2006-07-131-1/+16
| | | | | | | * properly destroy pa_browser object on exit git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1071 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * port libpulse-browse to use the native avahi API instead of the HOWL cruftLennart Poettering2006-07-134-205/+327
| | | | | | | | * add new function pa_browser_set_error_callback() * add doxygen docs to browser.h git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1069 fefdeb5f-60dc-0310-8127-8f9354f1896f
* update module-zeroconf-publish to make use of the native AVAHI API, instead ↵Lennart Poettering2006-07-134-129/+537
| | | | | | of HOWL git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1068 fefdeb5f-60dc-0310-8127-8f9354f1896f
* make sure gccmacro.h and cdecl.h may be included at the same time as those ↵Lennart Poettering2006-07-132-4/+4
| | | | | | headers from the avahi project git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1067 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix typo.Pierre Ossman2006-07-081-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1061 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Make sure we print the file name we actually use.Pierre Ossman2006-06-302-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1054 fefdeb5f-60dc-0310-8127-8f9354f1896f
* increase the maxium number of concurrent esd and native connectionsLennart Poettering2006-06-212-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1053 fefdeb5f-60dc-0310-8127-8f9354f1896f
* include config.h in browser.c (closes #20)Lennart Poettering2006-06-211-0/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1052 fefdeb5f-60dc-0310-8127-8f9354f1896f
* only interpolate when the last timing info told us the stream is indeed playingLennart Poettering2006-06-211-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1051 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix segfault when module-alsa-source fails to loadLennart Poettering2006-06-202-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1049 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix handling of the io flags in duplex mode.Pierre Ossman2006-06-201-17/+21
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1048 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Warn when applications use SNDCTL_DSP_GET[IO]PTR even when they shouldn't.Pierre Ossman2006-06-201-1/+10
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1047 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Make fix_metrics() exit early so that it doesn't spam the output needlessly.Pierre Ossman2006-06-201-0/+7
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1046 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Make sure we do not use pthread_yield() on platforms that do not have them.Pierre Ossman2006-06-201-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1045 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Make interpol-test build on Win32 and non-pthread systems.Pierre Ossman2006-06-201-0/+9
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1043 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix the final few occurences of polyp.Pierre Ossman2006-06-205-6/+6
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1042 fefdeb5f-60dc-0310-8127-8f9354f1896f
* s/POLYP/PULSE/gLennart Poettering2006-06-199-76/+76
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1041 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * more s/pulseaudio/PulseAudio/ replacementsLennart Poettering2006-06-1918-37/+37
| | | | | | | * name the per-user dir ~/.pulse (instead of .pulseaudio), just like /etc/pulse/ git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1039 fefdeb5f-60dc-0310-8127-8f9354f1896f
* update references to the pkg-config files in the docsLennart Poettering2006-06-191-4/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1038 fefdeb5f-60dc-0310-8127-8f9354f1896f
* name the pkg-config files after the library namesLennart Poettering2006-06-191-10/+9
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1037 fefdeb5f-60dc-0310-8127-8f9354f1896f
* replace a few remaining uppercase "Polypaudio" occurences with "PulseAudio"Lennart Poettering2006-06-1920-53/+53
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1036 fefdeb5f-60dc-0310-8127-8f9354f1896f
* rename polypaudio.h to pulseaudio.hLennart Poettering2006-06-191-0/+0
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1034 fefdeb5f-60dc-0310-8127-8f9354f1896f
* big s/polyp/pulse/gLennart Poettering2006-06-19285-2574/+2574
| | | | 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
* * rework latency interpolation to make it smootherLennart Poettering2006-06-192-19/+12
| | | | | | | * increase latency update interval to 100ms git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1029 fefdeb5f-60dc-0310-8127-8f9354f1896f
* minor cleanupsLennart Poettering2006-06-191-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1028 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add new test "interpol-test"Lennart Poettering2006-06-192-0/+174
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1027 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * add new argument 'exit_on_eof' to module-cli and make use of it if "-C" is ↵Lennart Poettering2006-06-182-12/+48
| | | | | | passed to the daemon git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1026 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * implement volume adjusting and mixing for S16RELennart Poettering2006-06-171-3/+83
| | | | | | | * some optimizations git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1025 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * make hw param settings easier to debug by splitting up long ifLennart Poettering2006-06-171-6/+18
| | | | | | | | * actually set the sample rate * disable resampling done by ALSA git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1024 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
* 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