summaryrefslogtreecommitdiffstats
path: root/polyp/protocol-native.c
Commit message (Collapse)AuthorAgeFilesLines
* Reorganised the source tree. We now have src/ with a couple of subdirs:Pierre Ossman2006-02-161-2216/+0
| | | | | | | | | | | | | * 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
* * add variadic function pa_tagstruct_get() and pa_tagstruct_put() for ↵Lennart Poettering2006-01-281-23/+30
| | | | | | | | | parsing/constructing tagstruct records * convert some of the tagstruct uses to this new API git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@466 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Mega patch:Lennart Poettering2006-01-271-38/+70
| | | | | | | | | | | | * implement inner loops using liboil * drop "typeid" stuff * add support for channel maps * add support for seperate volumes per channel * add support for hardware mixer settings (only module-oss implements this for now) * fix a lot of types for _t suffix git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@463 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * remove a lot of compiler warnings introduced by using some new GCC flagsLennart Poettering2006-01-111-320/+320
| | | | | | | * add typedefs for public structs and enums and drop the struct/enum prefixs from all uses where it makes sense git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@447 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Merge Pierre's changesLennart Poettering2006-01-101-3/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@445 fefdeb5f-60dc-0310-8127-8f9354f1896f
* git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@352 ↵Lennart Poettering2005-09-161-0/+1
| | | | fefdeb5f-60dc-0310-8127-8f9354f1896f
* * fix include file names in installed header filesLennart Poettering2004-12-121-4/+13
| | | | | | | | | | | | * add browsing API * add new tool pabrowse * add typeid subsystem * bump API version * split off random.c * add an identification cookie git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@320 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * add first part of zeroconf publisherLennart Poettering2004-12-111-3/+3
| | | | | | | | | | | * bump version to 0.7.1. * improve logging subsystem (introducing log levels) * remove verbose flag on cli * add new API pa_sample_format_to_string() * replace strtol() by usages of pa_atou() and pa_atoi() git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@317 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Comment some more filesLennart Poettering2004-11-211-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@309 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * add µlaw/alaw supportLennart Poettering2004-11-201-0/+2
| | | | | | | | | | * abstracted resampler API * add integer-only resampler ("trivial") * show used resampler wherever useful * add mixing/volume adjusting for float32ne and u8 git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@294 fefdeb5f-60dc-0310-8127-8f9354f1896f
* limit the number of concurrent connections for all four protocolsLennart Poettering2004-11-181-0/+37
| | | | | | | kick a client if it doesn't authenticate within 5s on ESD and native protocol git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@292 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * some commenting workLennart Poettering2004-11-171-1/+1
| | | | | | | | | | | | | | | | | | | * add new field "read_only" to memory blocks * add new API function pa_context_get_server() * filter capture data through mcalign on client * make module-tunnel use pa_socket_client_new_string() instead of using pa_resolve_server() directly. * remove pa_resolve_server() * remove debug.h and replace it by a macro definition on the gcc command line * some strbuf cleanups * small fixes in pa_stream for cleanup when server dies * new CLI command "load-sample-dir-lazy" * send FQDN as part of server info * rework mcalign, this time with memory block merging * fix iochannel cleanup when connection dies * check getaddrinfo() results git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@286 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Make the whole stuff LGPL onlyLennart Poettering2004-11-141-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@284 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add username to runtime directory name in /tmp/Lennart Poettering2004-11-111-2/+26
| | | | | | | | | rework autospawning code and x11 credential publishing add support for IPv6 reenable LOWDELAY for tcp sockets git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@280 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * Look for M4 in configure.acLennart Poettering2004-11-071-6/+37
| | | | | | | | | * Share auth cookies in module-tunnel.c, module-x11-publish.c and native-protocol.c * disable TCP_NODELAY * publish auth cookie in module-x11-publish git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@274 fefdeb5f-60dc-0310-8127-8f9354f1896f
* some updates for pa_hashmapLennart Poettering2004-10-301-1/+1
| | | | | | | | | | add property infrastructure add module module-x11-publish allow ldpreloading of all modules abstract x11wrap from module-x11-bell git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@268 fefdeb5f-60dc-0310-8127-8f9354f1896f
* make autoload list use idxsetLennart Poettering2004-10-271-14/+40
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@262 fefdeb5f-60dc-0310-8127-8f9354f1896f
* support for latency interpolationLennart Poettering2004-10-271-0/+6
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@256 fefdeb5f-60dc-0310-8127-8f9354f1896f
* renamed module-tunnel to module-tunnel-sinkLennart Poettering2004-09-291-0/+4
| | | | | | | | new module module-tunnel-source fix recording git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@248 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add new tool paplayLennart Poettering2004-09-261-4/+6
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@241 fefdeb5f-60dc-0310-8127-8f9354f1896f
* bum version numberLennart Poettering2004-09-261-3/+73
| | | | | | | | | | | | | | | | | | | add new macro PA_API_VERSION for preprocessor level conditional compiling add new native APIs: - counter - cork & flush for record streams - add flags parameters to pa_stream_connect_xx() - new prebuf command - time api, and total latency calculator - return sample spec ability to cork source output streams dump server status on SIGHUP to syslog show sink input/source outputs status in cli-text.c don't flush esound output buffer when client disconnects move version api to polyplib-version.h git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@240 fefdeb5f-60dc-0310-8127-8f9354f1896f
* remove obnoxious assert from module-combineLennart Poettering2004-09-191-36/+30
| | | | | | | | | | | tagstruct: add support for NULL strings improve pactl correct pa_bytes_snprint() pa_sample_spec_snprint(): don't fail on invalid sample spec rename PA_SAMPLE_SNPRINT_MAX_LENGTH to PA_SAMPLE_SPEC_SNPRINT_MAX git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@222 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add resample_method option module-combineLennart Poettering2004-09-171-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@215 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add input latency measurementLennart Poettering2004-09-161-2/+60
| | | | | | | add GETOSPACE support to module-oss git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@205 fefdeb5f-60dc-0310-8127-8f9354f1896f
* work around C99/GCC incompatibilityLennart Poettering2004-09-151-6/+307
| | | | | | | | | | | | | | native protocol: add "local" field to pa_context add volume paramter to pa_stream_connect_playback add support for renaming streams/clients support lazy samples add functions to kill clients/source inputs/sink outputs add functions for loading/unloading modules add autoload management API git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@204 fefdeb5f-60dc-0310-8127-8f9354f1896f
* remove auto-load-sample stuffLennart Poettering2004-09-151-1/+1
| | | | | | | introduce "lazy samples" git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@203 fefdeb5f-60dc-0310-8127-8f9354f1896f
* make module-combine autoloadableLennart Poettering2004-09-141-3/+4
| | | | | | | | clean up cli language introduce lazy sample cache git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@201 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add refernce counting for sinks, sources, sink-inputs and source-outputsLennart Poettering2004-09-141-2/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@200 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add module-combineLennart Poettering2004-09-141-1/+1
| | | | | | | | remove option "stay-root" clean up pa_conf git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@199 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix public= on native and esound protocolLennart Poettering2004-09-121-7/+10
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@195 fefdeb5f-60dc-0310-8127-8f9354f1896f
* extend pa_usec_t to 64 bitLennart Poettering2004-09-121-8/+8
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@192 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add support for module search path as command line argumentLennart Poettering2004-09-101-3/+9
| | | | | | | | | | | | protocol-native: move first data request into ack of stream creation improve mainloop API: return the number of dispatched sources on iterate() fix a resampling bug introduce network latency measurement WARNING: all these changes together may break some applications git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@189 fefdeb5f-60dc-0310-8127-8f9354f1896f
* change the way the default sink/source is selectedLennart Poettering2004-09-071-2/+6
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@183 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add support for setting/getting default sink/source via native protocolLennart Poettering2004-09-061-0/+27
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@182 fefdeb5f-60dc-0310-8127-8f9354f1896f
* correct a recording bug in native protocolLennart Poettering2004-09-061-5/+7
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@181 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add module-pipe-sourceLennart Poettering2004-09-061-5/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@180 fefdeb5f-60dc-0310-8127-8f9354f1896f
* implement proper loggingLennart Poettering2004-09-051-13/+14
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@179 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add support for automatic termination of the daemon after the last client quitLennart Poettering2004-09-041-4/+4
| | | | | | | | remove all gcc warnings add boolean types for tagstruct and modargs git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@178 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add total sample cache size to statisticsLennart Poettering2004-09-011-0/+2
| | | | | | | add size to sample cache entry info git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@175 fefdeb5f-60dc-0310-8127-8f9354f1896f
* daemon auto spawnLennart Poettering2004-09-011-6/+30
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@173 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add support for SCHED_FIFOLennart Poettering2004-09-011-2/+6
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@163 fefdeb5f-60dc-0310-8127-8f9354f1896f
* minor cleanupsLennart Poettering2004-08-271-0/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@155 fefdeb5f-60dc-0310-8127-8f9354f1896f
* latency workLennart Poettering2004-08-271-7/+24
| | | | | | | major main loop bugfix git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@154 fefdeb5f-60dc-0310-8127-8f9354f1896f
* new features:Lennart Poettering2004-08-221-6/+62
| | | | | | | | | | future cancellation corking flushing for playback streams in native protocol git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@152 fefdeb5f-60dc-0310-8127-8f9354f1896f
* build fixesLennart Poettering2004-08-201-18/+20
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@142 fefdeb5f-60dc-0310-8127-8f9354f1896f
* move sample cache to nameregLennart Poettering2004-08-191-11/+34
| | | | | | | documentation git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@141 fefdeb5f-60dc-0310-8127-8f9354f1896f
* remove global memblock statistic variables in favor of memblock_stat objectsLennart Poettering2004-08-171-6/+8
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@137 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix x11 buildLennart Poettering2004-08-171-0/+4
| | | | | | | disable prebuf on drain git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@136 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix sink iunput and source output stuffLennart Poettering2004-08-161-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@127 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add sink input/source output support to the native protocolLennart Poettering2004-08-161-10/+60
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@126 fefdeb5f-60dc-0310-8127-8f9354f1896f