summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* add notification callback which is called when new latency data becomes ↵Lennart Poettering2006-05-153-1/+19
| | | | | | available git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@873 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Add function to filter a string of any invalid UTF-8 sequences. User mustPierre Ossman2006-05-152-8/+54
| | | | | | | free() the result. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@872 fefdeb5f-60dc-0310-8127-8f9354f1896f
* undo r868Lennart Poettering2006-05-151-3/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@871 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Clean up the UTF-8 validation code.Pierre Ossman2006-05-151-78/+76
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@870 fefdeb5f-60dc-0310-8127-8f9354f1896f
* remove regex.h from include, since it is actually not usedLennart Poettering2006-05-151-1/+0
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@869 fefdeb5f-60dc-0310-8127-8f9354f1896f
* module-volume-restore uses regexp() so make sure it's only built on systemsPierre Ossman2006-05-151-3/+3
| | | | | | | that have it. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@868 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Include utf8.h for the validation function.Pierre Ossman2006-05-151-0/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@867 fefdeb5f-60dc-0310-8127-8f9354f1896f
* update TODOLennart Poettering2006-05-141-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@866 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add utf8 validity checking to esound protocolLennart Poettering2006-05-141-0/+8
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@865 fefdeb5f-60dc-0310-8127-8f9354f1896f
* remove superfluous log lineLennart Poettering2006-05-141-2/+0
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@864 fefdeb5f-60dc-0310-8127-8f9354f1896f
* take the filename specified on the command line as default stream nameLennart Poettering2006-05-141-7/+11
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@863 fefdeb5f-60dc-0310-8127-8f9354f1896f
* check for valid utf8 strings Lennart Poettering2006-05-141-20/+24
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@862 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add utf8 validity checking APILennart Poettering2006-05-143-1/+145
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@861 fefdeb5f-60dc-0310-8127-8f9354f1896f
* update todoLennart Poettering2006-05-142-3/+5
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@860 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add new module module-volume-restore which saves and restores volume of ↵Lennart Poettering2006-05-142-2/+371
| | | | | | playback streams git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@859 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * add new parameter to pa_open_config_file() to specify open modeLennart Poettering2006-05-1415-34/+43
| | | | | | | | * modify pa_sink_input_new() to take initial volume settings as argument * call pa_sink_input_set_volume() when changing stream volume in protocol-esound.c to make sure that subscribe events are issued properly git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@858 fefdeb5f-60dc-0310-8127-8f9354f1896f
* modify argument order of pa_client_new() to actually match how it is usually ↵Lennart Poettering2006-05-142-2/+2
| | | | | | called git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@857 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix esound sample cache namesLennart Poettering2006-05-131-1/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@856 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * set default fragment metrics depending on the sample specs of the device ↵Lennart Poettering2006-05-133-15/+21
| | | | | | | | | in OSS and ALSA * fix fragment size calculation in module-alsa-sink git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@855 fefdeb5f-60dc-0310-8127-8f9354f1896f
* first set buffer size, and afterwards period sizeLennart Poettering2006-05-131-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@854 fefdeb5f-60dc-0310-8127-8f9354f1896f
* don't hit an assert when trying to resample data for 6channel audioLennart Poettering2006-05-131-1/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@853 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix fragment size calculation for module-alsa-sourceLennart Poettering2006-05-131-5/+9
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@852 fefdeb5f-60dc-0310-8127-8f9354f1896f
* use default alsa channel map for alsa devicesLennart Poettering2006-05-134-2/+74
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@851 fefdeb5f-60dc-0310-8127-8f9354f1896f
* remove superfluous log messageLennart Poettering2006-05-131-2/+0
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@850 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix hangup detection for recording streamsLennart Poettering2006-05-111-5/+7
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@849 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix iochannel for hangup signalsLennart Poettering2006-05-111-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@848 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Windows support for the threaded API.Pierre Ossman2006-05-111-14/+202
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@847 fefdeb5f-60dc-0310-8127-8f9354f1896f
* update doxygen docsLennart Poettering2006-05-111-7/+20
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@846 fefdeb5f-60dc-0310-8127-8f9354f1896f
* don't signal the accept_cond automatically when waiting for a signal eventLennart Poettering2006-05-111-1/+0
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@845 fefdeb5f-60dc-0310-8127-8f9354f1896f
* split of signal releasing into its own function and name it ↵Lennart Poettering2006-05-113-10/+24
| | | | | | pa_threaded_mainloop_accept() git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@844 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add thread-mainloop.h to doxygen docsLennart Poettering2006-05-111-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@843 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Remove some debug code that wasn't supposed to be committed.Pierre Ossman2006-05-111-5/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@842 fefdeb5f-60dc-0310-8127-8f9354f1896f
* pa_write() should use a const pointer.Pierre Ossman2006-05-112-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@841 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Handle pipes on platforms where they are non-existant of broken.Pierre Ossman2006-05-119-107/+249
| | | | | | | | | We do this by creating a TCP socket pair instead of a normal pipe. Since Windows isn't UNIX-y enough to support read()/write() on sockets, we also need a wrapper to handle read() vs recv() and write() vs send(). git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@840 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Include log header to get rid of warnings.Pierre Ossman2006-05-111-0/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@839 fefdeb5f-60dc-0310-8127-8f9354f1896f
* ANSI codes aren't supported on Windows terminals.Pierre Ossman2006-05-111-1/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@838 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Do WSAStartup() in the DLL entry routine instead of at context creation.Pierre Ossman2006-05-112-15/+13
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@837 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix handling of timing status requestsLennart Poettering2006-05-091-2/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@836 fefdeb5f-60dc-0310-8127-8f9354f1896f
* update todoLennart Poettering2006-05-091-3/+4
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@835 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Add stubs for the threaded main loop so that we can compile it onPierre Ossman2006-05-092-11/+48
| | | | | | | non-supported platforms (still can't run it though). git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@834 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Use pa_msleep() to get platform independence.Pierre Ossman2006-05-091-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@833 fefdeb5f-60dc-0310-8127-8f9354f1896f
* rework the simple API to make use of the new threaded mainloop implementationLennart Poettering2006-05-061-226/+226
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@832 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * optionally, make pa_threaded_mainloop_signal() wait until the main thread ↵Lennart Poettering2006-05-063-6/+42
| | | | | | | | | took over control * more header file comments git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@831 fefdeb5f-60dc-0310-8127-8f9354f1896f
* add support for reading audio data from a file instead of plain STDIN in ↵Lennart Poettering2006-05-061-0/+18
| | | | | | pacat-simple.c git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@830 fefdeb5f-60dc-0310-8127-8f9354f1896f
* remove bogus check that disallowed latency interpolation and stuff for ↵Lennart Poettering2006-05-061-1/+0
| | | | | | record streams git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@829 fefdeb5f-60dc-0310-8127-8f9354f1896f
* allow signalling from event loop threadLennart Poettering2006-05-061-3/+0
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@828 fefdeb5f-60dc-0310-8127-8f9354f1896f
* update todoPierre Ossman2006-05-031-0/+5
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@827 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Fix control flow in pa_oss_open(). Also fall back to half duplex when device ↵Pierre Ossman2006-05-021-2/+6
| | | | | | | | | doesn't support full. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@826 fefdeb5f-60dc-0310-8127-8f9354f1896f
* We need to read the cookie in binary mode for things to work correctly.Pierre Ossman2006-05-021-2/+7
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@825 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Windows doesn't have POSIX thread. ifdef out things for now.Pierre Ossman2006-05-022-3/+23
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@824 fefdeb5f-60dc-0310-8127-8f9354f1896f