summaryrefslogtreecommitdiffstats
path: root/src/utils/pacat.c
Commit message (Collapse)AuthorAgeFilesLines
* AC3 passthrough supportPierre-Louis Bossart2010-08-121-0/+7
| | | | | | | | | | | | Second version after Tanu's feedback TODO: - notify client that volume control is disabled - change sink rate in passthrough mode if needed - automatic detection of passthrough mode instead of hard coded profile names Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@intel.com>
* pacat: pass buffer_attr to recording streams tooLennart Poettering2010-02-211-1/+1
| | | | | | Pointed out by Colin Guthrie. https://tango.0pointer.de/pipermail/pulseaudio-discuss/2010-February/006698.html
* pacat: always fully fulfill write requestsLennart Poettering2010-02-211-17/+30
| | | | | | | Make sure we always fulfill write requests from the server. If we don't the server won't ask us again and playback will stay stuck. https://tango.0pointer.de/pipermail/pulseaudio-discuss/2010-February/006611.html
* Revert "pacat: Don't use any buffer attr if we don't set any latency/process ↵Lennart Poettering2010-02-211-9/+4
| | | | | | time params" This reverts commit ff2091b2c47dfa7d9f1397627b72d9366b60f566.
* pacat: Don't use any buffer attr if we don't set any latency/process time paramsColin Guthrie2010-02-111-4/+9
|
* pacat: allow configuration of latency in msecLennart Poettering2010-02-091-9/+37
|
* use cloexec wrappers wherever applicableLennart Poettering2009-10-301-1/+1
|
* pacat: use fully automatic buffer sizes if possibleLennart Poettering2009-09-171-5/+9
|
* 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