Commit graph

187 commits

Author SHA1 Message Date
Lennart Poettering
f6f957b53c Revert "pacat: Don't use any buffer attr if we don't set any latency/process time params"
This reverts commit ff2091b2c4.
2010-02-21 17:40:44 +01:00
Lennart Poettering
2c631dfe9a pactl: implement pactl subscribe
This is a simple debugging tool which prints out subscription events
2010-02-21 17:39:47 +01:00
Colin Guthrie
ff2091b2c4 pacat: Don't use any buffer attr if we don't set any latency/process time params 2010-02-11 23:33:19 +00:00
Lennart Poettering
fb55798a3e pacat: allow configuration of latency in msec 2010-02-09 22:44:30 +00:00
Daniel Mack
17d34462ea poll() is totally broken on Mac OS X
Even on 10.5.8, poll() does not do the right thing. Haven't checked on
newer versions. Hence, wrap all occurences of poll() to pa_poll and
emulate that call with select() on OSX. This is totally embarassing.
2009-12-16 16:11:36 +08:00
Jason Newton
4eb65a0a46 src/utils/qpaeq: added more friendly error messages to common errors 2009-11-20 15:56:46 -08:00
Jason Newton
77c6b69656 remove .py extension from qpaeq 2009-11-20 15:07:47 -08:00
Jason Newton
41853cc7c0 added qpaeq script for GUI equalizer control to src/util 2009-11-20 14:56:07 -08:00
Lennart Poettering
65e7bc18a9 use cloexec wrappers wherever applicable 2009-10-30 03:32:38 +01:00
Lennart Poettering
78984e4395 pactl: format cookie a little bit nicer 2009-10-28 23:28:12 +01:00
Lennart Poettering
8678f56532 pactl: include information about client context in pactl stat output 2009-10-28 23:27:50 +01:00
Lennart Poettering
7c55d6e91d clients: drop definition of BUFSIZE which is unused 2009-10-28 23:27:14 +01:00
Lennart Poettering
7b76ea3784 core-util: unify how we determine the temporary directory 2009-09-17 21:06:54 +02:00
Lennart Poettering
2d9168ceb3 Improve TMPDIR handling
Patch from 'jnelson',

http://pulseaudio.org/ticket/653
2009-09-17 20:58:36 +02:00
Lennart Poettering
1a6974a1e2 pacat: use fully automatic buffer sizes if possible 2009-09-17 01:22:48 +02:00
Lennart Poettering
7cc100d9e1 padsp: properly return return values (llvm-clang-analyzer) 2009-09-08 23:54:53 +02:00
Lennart Poettering
b51f5e58cc pacat: don't convert stream name twice (llvm-clang-analyzer) 2009-09-08 23:54:31 +02:00
Lennart Poettering
f5046759cd llvm-clang-analyzer: drop a few unnecessary assignments and other trivial fixes 2009-09-08 23:46:23 +02:00
Lennart Poettering
b2606cf641 i18n: move \r out of translatable string
https://bugzilla.redhat.com/show_bug.cgi?id=521552
2009-09-07 23:34:31 +02:00
Lennart Poettering
e6a666d8d5 libpulse: introduce PA_BYTES_SNPRINT_MAX and make use of it wherever applicable 2009-09-06 22:33:04 +02:00
Lennart Poettering
dee2aa3f05 pactl: drop unnecessary newlines from pa_log() invocations 2009-08-31 21:45:19 +02:00
Lennart Poettering
5b61a1991c pactl: implement pactl commands for changing volumes/mute stati 2009-08-31 21:42:54 +02:00
Lennart Poettering
aae7054b1c pacmd: handle multi word commands in argv[] properly 2009-08-14 04:12:36 +02:00
Lennart Poettering
5fcb8a3c08 pacmd: port pacmd from select() to poll() so that we notice writer side hangups 2009-08-12 21:42:02 +02:00
Lennart Poettering
49fd8ee72e core-util: replace remaining fixed size destination string functions by _malloc() versions
This helps portability to GNU/Hurd.

Patch originally from Samuel Thibault but modified.

Closes ticket #546
2009-08-01 02:03:22 +02:00
Lennart Poettering
a81244a726 pacat: use zero-copy write calls when playing audio file 2009-07-23 20:01:40 +02:00
Marc-André Lureau
0955e3d45b Base mainloop on pa_rtclock_now()
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>
2009-06-20 17:29:31 +03:00
Lennart Poettering
75256fb671 pactl: show list of supported ports 2009-06-17 23:40:46 +02:00
Lennart Poettering
6b2ca094ae pactl: implement pactl set-{sink|source}-port 2009-06-17 04:54:39 +02:00
Lennart Poettering
4d874753f5 utils: use pa_path_get_filename() where applicable 2009-06-04 23:19:48 +02:00
Lennart Poettering
5c10b84e0f sndfile: big rework of libsndfile interfacing code
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.
2009-05-26 00:05:28 +02:00
Lennart Poettering
759a9d0cc5 core-util: introduce pa_disable_sigpipe() 2009-05-26 00:02:29 +02:00
Lennart Poettering
2d94c93957 pacat: add missing newline 2009-04-14 01:03:34 +02:00
Lennart Poettering
aa1ad0df18 in verbose mode log buffer attr changes 2009-04-01 00:35:37 +02:00
Lennart Poettering
ff38eaf677 Merge commit 'coling/lgpl21' 2009-03-03 21:44:56 +01:00
Colin Guthrie
86dee05aec Use LGPL 2.1 on all files previously using LGPL 2 2009-03-03 20:23:02 +00:00
Lennart Poettering
297515a39e pass profile priority value to clients 2009-03-03 00:32:10 +01:00
Lennart Poettering
4505bc9cc6 introduce default channel map in addition to the default sample spec 2009-02-21 16:32:42 +01:00
Marc-André Lureau
bb52a6753b padsp: don't use si if it's NULL 2009-02-19 04:55:28 +01:00
Marc-André Lureau
67b0baecc4 pacat: remove unused variable 2009-02-19 04:55:11 +01:00
Marc-André Lureau
c3eb9086b8 pactl: return in case of error reading file (avoid using freed d) 2009-02-19 04:54:18 +01:00
Marc-André Lureau
93ed27d561 pactl: check if pa_context_connect succeed 2009-02-19 04:53:33 +01:00
Marc-André Lureau
2aeab75c68 paplay: check if pa_context_connect() succeed 2009-02-19 04:53:20 +01:00
Lennart Poettering
823431e447 allow sending meta/policy events to clients 2009-02-12 03:18:05 +01:00
Lennart Poettering
ae06517286 make pacmd work in a pipe 2009-02-04 21:22:18 +01:00
Lennart Poettering
5449d793ae swap argument order of pa_cvolume_get_balance() to be a bit more systematic 2009-01-27 02:45:37 +01:00
Lennart Poettering
601293d346 implement pactl set-card-profile 2009-01-21 03:04:19 +01:00
Lennart Poettering
86f3fb8b12 show active profile 2009-01-20 20:33:28 +01:00
Lennart Poettering
a65c2c7336 add client API for querying card information 2009-01-20 03:25:29 +01:00
Lennart Poettering
8c4e2be05b include sink/source state in pactl output 2009-01-19 23:55:22 +01:00