summaryrefslogtreecommitdiffstats
path: root/src/polypcore
Commit message (Collapse)AuthorAgeFilesLines
* add support for parsing channel maps as module argumentsLennart Poettering2006-04-262-0/+58
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@802 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * rework reference counting in the client libraries: now refcounting goesLennart Poettering2006-04-242-3/+10
| | | | | | | | | | | | | | | strictly "one-way" - the "bigger" object refcounts the "smaller" one, never the other way round. * when registering for a reply packet in pdispatch, specify a function that is called when the pdispatch object is destroyed but the reply hasn't yet been recieved. * move prototype of pa_free_cb from stream.h to def.h git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@794 fefdeb5f-60dc-0310-8127-8f9354f1896f
* chown() and chmod() aren't available on Windows.Pierre Ossman2006-04-241-0/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@793 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix a segfault when uploading samples with esoundLennart Poettering2006-04-231-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@791 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * add validity checking for sample_spec, channel_map and cvolume structuresLennart Poettering2006-04-231-2/+15
| | | | | | | | * return PA_ERR_TOOLARGE when the user tries to upload a over-sized sample * notify the user if uploading a simple faield due to some reason git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@790 fefdeb5f-60dc-0310-8127-8f9354f1896f
* enforce maximum sample size in sample cacheLennart Poettering2006-04-234-6/+11
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@787 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * when playing back a sample from the sample cache, just take a pa_volume_t ↵Lennart Poettering2006-04-235-16/+15
| | | | | | | | | and not a pa_cvolume_t as argument for the volume. Usually it is not known to the player of theses samples how many channels it has, hence it doesn't make any sense to allow him to pass a by-channel volume structure here. * fix volume calculation when playing samples from the sample cache git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@784 fefdeb5f-60dc-0310-8127-8f9354f1896f
* allow recieving of invalid channel maps, volumes and sample specs. This ↵Lennart Poettering2006-04-231-10/+0
| | | | | | makes handling of uninitialized data better, e.g. when sending info about lazy-load sample chache entries, where the channel mapping and sample spec is still unknown. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@782 fefdeb5f-60dc-0310-8127-8f9354f1896f
* when loading sound files, initialize channel map data properlyLennart Poettering2006-04-223-5/+10
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@777 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix x11 handlingLennart Poettering2006-04-221-0/+9
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@776 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix sample cacheLennart Poettering2006-04-221-6/+18
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@775 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add new function pa_parent_dir()Lennart Poettering2006-04-222-5/+16
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@773 fefdeb5f-60dc-0310-8127-8f9354f1896f
* first unlink the socket, the close itLennart Poettering2006-04-221-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@772 fefdeb5f-60dc-0310-8127-8f9354f1896f
* try to remove the directory where the PID file resides in after removing the ↵Lennart Poettering2006-04-221-0/+7
| | | | | | PID file git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@771 fefdeb5f-60dc-0310-8127-8f9354f1896f
* chown() and chmod() /tmp/.esd/ before checking if everything is ok with itLennart Poettering2006-04-221-1/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@770 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Minor fixes for the way Windows handles sockets.Pierre Ossman2006-04-192-4/+12
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@760 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix a couple of issues I found when compiling polypaudio with gcc 2.95Lennart Poettering2006-04-182-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@754 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix code for pre-C99Lennart Poettering2006-04-181-2/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@746 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * fix pa_random_seet() function prototypeLennart Poettering2006-04-182-5/+5
| | | | | | | * drop pa_ prefix from pa_random_proper(), because it is a static function git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@745 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Make the probe for RNG sources at runtime since the configure script isn'tPierre Ossman2006-04-182-18/+60
| | | | | | | compatible with cross-compiling. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@744 fefdeb5f-60dc-0310-8127-8f9354f1896f
* initialize random seed globaly from $RANDOM_DEVICELennart Poettering2006-04-161-6/+0
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@719 fefdeb5f-60dc-0310-8127-8f9354f1896f
* correct some typesLennart Poettering2006-04-151-11/+12
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@714 fefdeb5f-60dc-0310-8127-8f9354f1896f
* minor beautificationLennart Poettering2006-04-141-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@711 fefdeb5f-60dc-0310-8127-8f9354f1896f
* include in-flux resampled chunk in latency calculations of playback streamsLennart Poettering2006-04-131-1/+7
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@705 fefdeb5f-60dc-0310-8127-8f9354f1896f
* hmm, nothing importantLennart Poettering2006-04-131-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@703 fefdeb5f-60dc-0310-8127-8f9354f1896f
* protocol change: don't send stream buffer size in latency update. This data ↵Lennart Poettering2006-04-121-2/+0
| | | | | | is redundant, since it can be calculated from write_index - read_index anyway git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@685 fefdeb5f-60dc-0310-8127-8f9354f1896f
* when flushin a memblockq, set the write index to the read indexLennart Poettering2006-04-121-0/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@683 fefdeb5f-60dc-0310-8127-8f9354f1896f
* when doing software volume adjustments, don't use the volume value as linear ↵Lennart Poettering2006-04-081-29/+15
| | | | | | factor, but pass it through pa_sw_volume_to_linear() first. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@664 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add new introspection data field for sinks/sources: a flags field which ↵Lennart Poettering2006-04-071-0/+2
| | | | | | specifies whether the sink/source supports hw volume control and latency querying git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@661 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Some memcpy arithmetic that wasn't removed when doing the redesign to updatePierre Ossman2006-04-071-1/+1
| | | | | | | the data pointer instead. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@654 fefdeb5f-60dc-0310-8127-8f9354f1896f
* 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