summaryrefslogtreecommitdiffstats
path: root/src/utils/pacat.c
Commit message (Collapse)AuthorAgeFilesLines
* pacat: don't convert stream name twice (llvm-clang-analyzer)Lennart Poettering2009-09-081-1/+0
|
* llvm-clang-analyzer: drop a few unnecessary assignments and other trivial fixesLennart Poettering2009-09-081-3/+2
|
* i18n: move \r out of translatable stringLennart Poettering2009-09-071-1/+2
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=521552
* pacat: use zero-copy write calls when playing audio fileLennart Poettering2009-07-231-61/+65
|
* Base mainloop on pa_rtclock_now()Marc-André Lureau2009-06-201-14/+5
| | | | | | | | | | | | | | | | Move the mainloop to monotonic based time events. Introduces 4 helper functions: pa_{context,core}_rttime_{new,restart}(), that fill correctly a timeval with the rtclock flag set if the mainloop supports it. Both mainloop-test and mainloop-test-glib works with rt and timeval based time events. PulseAudio and clients should be fully functional. This patch has received several iterations, and this one as been largely untested. Signed-off-by: Marc-André Lureau <marca-andre.lureau@nokia.com>
* sndfile: big rework of libsndfile interfacing codeLennart Poettering2009-05-261-223/+494
| | | | | | | | | This adds proper channel map handling when reading/writing audio files. This allows surround .WAV files to be played with the right channel setup automatically. This also merges paplay into pacat and adds recording into formatted files to pacat.
* pacat: add missing newlineLennart Poettering2009-04-141-1/+1
|
* in verbose mode log buffer attr changesLennart Poettering2009-04-011-0/+8
|
* Use LGPL 2.1 on all files previously using LGPL 2Colin Guthrie2009-03-031-1/+1
|
* pacat: remove unused variableMarc-André Lureau2009-02-191-2/+1
|
* allow sending meta/policy events to clientsLennart Poettering2009-02-121-0/+13
|
* for record streams fill in the latency as the fragsizeLennart Poettering2009-01-121-0/+1
|
* Make sure we don't drop any data on the client sideLennart Poettering2009-01-101-9/+8
|
* don't set the volume of pacat unless it is explicitly setLennart Poettering2008-10-221-1/+3
|
* check for errors returned by pa_context_connect()Lennart Poettering2008-09-051-1/+4
|
* use pa_channel_map_compatible() where applicableLennart Poettering2008-09-051-1/+1
|
* update documentation and help texts for s32le/s32be sample typesLennart Poettering2008-09-051-1/+1
|
* add a few more gcc warning flags and fix quite a few problems found by doing soLennart Poettering2008-08-191-11/+11
|
* add i18n supportLennart Poettering2008-08-061-54/+55
|
* use (uint32_t) -1 to signify default buffer_attr values instead of 0, to ↵Lennart Poettering2008-06-271-0/+2
| | | | allow prebuf=0
* get rid of svn $ keywordsLennart Poettering2008-06-181-2/+0
|
* merge glitch-free branch back into trunkLennart Poettering2008-05-151-31/+87
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2445 fefdeb5f-60dc-0310-8127-8f9354f1896f
* - Check process name when dealing with PID filesLennart Poettering2007-11-211-11/+90
| | | | | | | | | | | | - Add new PA_STREAM_FIX_CHANNELS, FIX_RATE, FIX_FORMAT, DONT_MOVE, VARIABLE_RATES to pa_sream_flags_t adn implement it - Expose those flags in pacat - Add notifications about device suspend/resume to the protocol and expose them in libpulse - Allow changing of buffer_attr during playback - allow disabling for remixing globally - hookup polkit support git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2067 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Add copyright notices to all relevant files. (based on svn log)Pierre Ossman2007-02-131-0/+3
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1426 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Huge trailing whitespace cleanup. Let's keep the tree pure from here on,Pierre Ossman2007-01-041-43/+43
| | | | | | | mmmkay? git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1418 fefdeb5f-60dc-0310-8127-8f9354f1896f
* bump API and protocol version. Return PA_ERR_NOTSUPPORTED if ↵Lennart Poettering2006-08-011-1/+1
| | | | | | pa_context_move_sink_input_by_*()is called for servers that don't support it git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1179 fefdeb5f-60dc-0310-8127-8f9354f1896f
* handle EOF correctly if it is read before the stream was createdLennart Poettering2006-07-291-9/+13
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1164 fefdeb5f-60dc-0310-8127-8f9354f1896f
* replace a few remaining uppercase "Polypaudio" occurences with "PulseAudio"Lennart Poettering2006-06-191-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1036 fefdeb5f-60dc-0310-8127-8f9354f1896f
* big s/polyp/pulse/gLennart Poettering2006-06-191-6/+6
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1033 fefdeb5f-60dc-0310-8127-8f9354f1896f
* Returned buffer attr is const.Pierre Ossman2006-05-261-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@979 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * add new API function pa_stream_get_buffer_attr().Lennart Poettering2006-05-251-1/+19
| | | | | | | | | * modify pacat.c to make use of that new API * extend protocol to allow transfer of the necessary information * update protocol version accordingly git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@976 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix include line for "core-util.h"Lennart Poettering2006-05-171-1/+0
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@923 fefdeb5f-60dc-0310-8127-8f9354f1896f
* replace memory allocation function calls with pa_xXXXX() Lennart Poettering2006-05-171-25/+21
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@916 fefdeb5f-60dc-0310-8127-8f9354f1896f
* bump version number to 0.9Lennart Poettering2006-05-161-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@886 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
* fix volume range printed on --helpLennart Poettering2006-04-261-2/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@808 fefdeb5f-60dc-0310-8127-8f9354f1896f
* allow specifying the channel map to use on the command lineLennart Poettering2006-04-261-3/+24
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@805 fefdeb5f-60dc-0310-8127-8f9354f1896f
* when storing recording data in file, create file with proper access rightsLennart Poettering2006-04-121-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@693 fefdeb5f-60dc-0310-8127-8f9354f1896f
* yet anotrher fix for slow linksLennart Poettering2006-04-121-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@692 fefdeb5f-60dc-0310-8127-8f9354f1896f
* small fix to deal properly with slow linksLennart Poettering2006-04-121-4/+7
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@691 fefdeb5f-60dc-0310-8127-8f9354f1896f
* beefup pacat a little: Lennart Poettering2006-04-121-13/+46
| | | | | | | | * when -v is passed, show current playback time and latency * modify SIGUSR1 behaviour to show only playback time and latency git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@687 fefdeb5f-60dc-0310-8127-8f9354f1896f
* when using record mode, allow file to save data to to be passed on the ↵Lennart Poettering2006-04-101-17/+17
| | | | | | command line git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@675 fefdeb5f-60dc-0310-8127-8f9354f1896f
* * update docs for reworked latency APILennart Poettering2006-04-071-5/+4
| | | | | | | * rename pa_latency_info to pa_timing_info, since that describes better what it is. Most people will only use pa_stream_get_time() anyway git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@651 fefdeb5f-60dc-0310-8127-8f9354f1896f
* update pacat.c for new latency APILennart Poettering2006-04-071-6/+34
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@649 fefdeb5f-60dc-0310-8127-8f9354f1896f
* fix pacatLennart Poettering2006-02-211-13/+51
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@550 fefdeb5f-60dc-0310-8127-8f9354f1896f
* change calls of pa_context_connect() to pass flags arugment correctlyLennart Poettering2006-02-201-1/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@533 fefdeb5f-60dc-0310-8127-8f9354f1896f
* 1) Add flexible seeking support (including absolute) for memory block queues ↵Lennart Poettering2006-02-201-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Have a memblock queue on the client side during recording. This makes thePierre Ossman2006-02-171-2/+8
| | | | | | | | | | record callback optional in stead of mandatory. For applications that wish to retain the old behaviour, simply call pa_stream_peek() followed by pa_stream_drop() in the callback. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@507 fefdeb5f-60dc-0310-8127-8f9354f1896f
* shorten include list of utils a littleLennart Poettering2006-02-161-3/+1
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@495 fefdeb5f-60dc-0310-8127-8f9354f1896f
* drop polyplib- prefix from client library filesLennart Poettering2006-02-161-2/+2
| | | | git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@492 fefdeb5f-60dc-0310-8127-8f9354f1896f