summaryrefslogtreecommitdiffstats
path: root/src/polypcore
Commit message (Collapse)AuthorAgeFilesLines
* remove queue length field from latency request (server side)Lennart Poettering2006-04-071-6/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@647 fefdeb5f-60dc-0310-8127-8f9354f1896f
* change pa_gettimeofday() to return a pointer to the struct timeval*, instead ↵Lennart Poettering2006-04-062-16/+18
| | | | | | of an int git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@645 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * set IPV6_V6ONLY for IPv6 sockets, to avoid warning when both ipv6 and the ↵Lennart Poettering2006-04-061-3/+12
| | | | | | | | | ipv4 sockets try to bind to the same port * enable SO_REUSEADDR only on platforms that support it git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@643 fefdeb5f-60dc-0310-8127-8f9354f1896f
* remove some GCC warnings introduced by improperly casting to (char*) instead ↵Lennart Poettering2006-04-061-13/+13
| | | | | | of (const char*) git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@642 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix some warnings caused by size_t having varying size.Pierre Ossman2006-03-311-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@641 fefdeb5f-60dc-0310-8127-8f9354f1896f
* We filled the volume with the wrong channel count (we used the input, notPierre Ossman2006-03-081-4/+3
| | | | | | | | the output) causing static. Also swapped the comments since they were misplaced. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@636 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Trying to listen on an IPv6 socket by default and only do IPv4 if that failsPierre Ossman2006-03-072-22/+36
| | | | | | | | | (which it doesn't most of the time) is terribly confusing. What the user most likely wants is for it to listen to both IPv4 and IPv6 and gracefully continue if only of them succeed. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@633 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Alignment safe protocol handling in esound module.Pierre Ossman2006-03-041-126/+174
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@622 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Negotiate protocol version between server and client. Will allow smootherPierre Ossman2006-03-021-3/+16
| | | | | | | protocol modifications in the future. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@621 fefdeb5f-60dc-0310-8127-8f9354f1896f
* typo fixPierre Ossman2006-03-021-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@617 fefdeb5f-60dc-0310-8127-8f9354f1896f
* protocol changes for new latency API (partial!)Lennart Poettering2006-03-024-9/+39
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@616 fefdeb5f-60dc-0310-8127-8f9354f1896f
* 64-bit fixes.Pierre Ossman2006-02-273-4/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@611 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix some signed/unsigned warnings.Pierre Ossman2006-02-271-15/+17
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@610 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Function prototype didn't match actual definition.Pierre Ossman2006-02-271-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@609 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * Add new "auth-group=" parameter to protocol-native-unixLennart Poettering2006-02-244-14/+72
| | | | | | | * Rename "public=" argument of protocol-{esound,native} to "auth-anonymous" git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@601 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Do an explicit cast to shut up gcc.Pierre Ossman2006-02-241-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@600 fefdeb5f-60dc-0310-8127-8f9354f1896f
* This wasn't supposed to be checked in.Pierre Ossman2006-02-241-2/+0
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@599 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Wrong variable used for port.Pierre Ossman2006-02-242-1/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@598 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Tweak the handling of missing credential support so that we minimise non-POSIXPierre Ossman2006-02-242-5/+30
| | | | | | | headers in our headers. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@597 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add support for authentication using SCM_CREDENTIALSLennart Poettering2006-02-249-83/+334
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@596 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add a few more validity checks to protocol-esoundLennart Poettering2006-02-241-22/+20
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@589 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Mute switch for sinks and sources. This is independent of the volumePierre Ossman2006-02-239-13/+243
| | | | | | | setting (similar to ALSA). git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@587 fefdeb5f-60dc-0310-8127-8f9354f1896f
* inet_pton expects in[6]_addr structures, nothing else.Pierre Ossman2006-02-231-5/+5
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@583 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Add inet_pton emulation for platforms that lack it. Only support IPv4 atPierre Ossman2006-02-233-0/+78
| | | | | | | this point. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@582 fefdeb5f-60dc-0310-8127-8f9354f1896f
* change pa_log() and friends to not require a trailing \n on all logged stringsLennart Poettering2006-02-2332-211/+239
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@574 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix source volume adjustment: copy memchunk before changing the volume of itLennart Poettering2006-02-231-5/+10
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@572 fefdeb5f-60dc-0310-8127-8f9354f1896f
* enforce maximum memblockq length for clientsLennart Poettering2006-02-221-2/+5
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@571 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add listen= parameter to tcp protocol modulesLennart Poettering2006-02-222-0/+19
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@569 fefdeb5f-60dc-0310-8127-8f9354f1896f
* rework parameter validity checking in protocol-native server sideLennart Poettering2006-02-221-342/+180
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@563 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Support for setting volume on sources.Pierre Ossman2006-02-228-20/+169
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@560 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add new utility function pa_endswith()Lennart Poettering2006-02-212-1/+18
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@555 fefdeb5f-60dc-0310-8127-8f9354f1896f
* remove left-over log line in protocol-esound.cLennart Poettering2006-02-211-1/+0
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@554 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * Don't build seperate ipv4/ipv6 versions of the protocol pluginsLennart Poettering2006-02-212-9/+38
| | | | | | | * Instead try IPv6 and if that fails fall back to IPv4 git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@548 fefdeb5f-60dc-0310-8127-8f9354f1896f
* remove a superfluous log lineLennart Poettering2006-02-201-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@534 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * modify pa_context_exit_daemon() to return a pa_operation objectLennart Poettering2006-02-206-16/+14
| | | | | | | | | | * add callback prototypes to all introspection functions in client lib * add proper validity checking and error handling to all functions in the client lib * other minor cleanups * todo update git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@531 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix some warnings by making sure we have the right signedness on things.Pierre Ossman2006-02-201-6/+6
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@525 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * Make typdefs for the pa_context callback prototypesLennart Poettering2006-02-203-10/+10
| | | | | | | * s/pa_context_notify_cb/pa_context_notify_cb_t/g git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@521 fefdeb5f-60dc-0310-8127-8f9354f1896f
* 1) Add flexible seeking support (including absolute) for memory block queues ↵Lennart Poettering2006-02-2020-459/+1076
| | | | | | | | | | | | | | | | | | | | | | | | and playback streams 2) Add support to synchronize multiple playback streams 3) add two tests for 1) and 2) 4) s/PA_ERROR/PA_ERR/ 5) s/PA_ERROR_OK/PA_OK/ 6) update simple API to deal properly with new peek/drop recording API 7) add beginnings of proper validity checking on API calls in client libs (needs to be extended) 8) report playback buffer overflows/underflows to the client 9) move client side recording mcalign stuff into the memblockq 10) create typedefs for a bunch of API callback prototypes 11) simplify handling of HUP poll() events Yes, i know, it's usually better to commit a lot of small patches instead of a single big one. In this case however, this would have contradicted the other rule: never commit broken or incomplete stuff. *** This stuff needs a lot of additional testing! *** git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@511 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Cleaned up the includes after the restructuring. Indicate which headers arePierre Ossman2006-02-17101-358/+422
| | | | | | | public and which are internal through <> vs "". git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@500 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * rename polypcore/subscribe.[ch] to polypcore/core-subscribe.[ch] to avoid ↵Lennart Poettering2006-02-1618-24/+24
| | | | | | | | | confusion with polyp/subscribe.[ch] * same for scache.[ch] git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@496 fefdeb5f-60dc-0310-8127-8f9354f1896f
* drop polyplib- prefix from client library filesLennart Poettering2006-02-162-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@492 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add a bunch of simple Makefile in the subdirs, just to make compilation with ↵Lennart Poettering2006-02-161-0/+1
| | | | | | | | | emacs easier they are not intended to be distributed or anything. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@490 fefdeb5f-60dc-0310-8127-8f9354f1896f
* move alsa-util.[ch], oss-util.[ch] and howl-wrap.[ch] to the modules ↵Lennart Poettering2006-02-166-511/+0
| | | | | | directory since they are just helper source used exclusively by the modules git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@489 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Reorganised the source tree. We now have src/ with a couple of subdirs:Pierre Ossman2006-02-16145-0/+25847
* daemon/ - Contains the files specific to the polypaudio daemon. * modules/ - All loadable modules. * polyp/ - Files that are part of the public, application interface or are only used in libpolyp. * polypcore/ - All other shared files. * tests/ - Test programs. * utils/ - Utility programs. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@487 fefdeb5f-60dc-0310-8127-8f9354f1896f