Commit graph

171 commits

Author SHA1 Message Date
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
Lennart Poettering
5f6641cfdd Beef pactl output up a bit 2009-01-19 23:07:34 +01:00
Lennart Poettering
edf88a5150 don't show autoload flag anymore since it is obsolete 2009-01-15 20:48:29 +01:00
Lennart Poettering
29c7a28817 kill autoload stuff as planned 2009-01-15 20:07:13 +01:00
Lennart Poettering
b9e96e00cf for record streams fill in the latency as the fragsize 2009-01-12 19:34:12 +01:00
Lennart Poettering
b6804eefea Make sure we don't drop any data on the client side 2009-01-10 03:33:27 +01:00
Lennart Poettering
63fc26ed03 Allow access("/dev/dsp", W_OK) succeed
Some stupid apps (such as X-lite Softphone) check for W_OK on /dev/dsp.
This is of course crazy but easy for us to support.

Closes rhbz #474313
2008-12-18 15:24:02 +01:00
Lennart Poettering
6ff9c1fb62 don't set the volume of pacat unless it is explicitly set 2008-10-22 22:48:53 +02:00
Lennart Poettering
54afcf2598 inform dsp_empty_socket() *after* we emptied the dsp socket, that it is now empty 2008-10-02 01:02:31 +02:00
Lennart Poettering
a609e4a700 check for errors returned by pa_context_connect() 2008-09-05 01:31:39 +02:00
Lennart Poettering
3f6f13f902 use pa_channel_map_compatible() where applicable 2008-09-05 01:31:17 +02:00
Lennart Poettering
456284918a update documentation and help texts for s32le/s32be sample types 2008-09-05 00:39:36 +02:00
Lennart Poettering
cbd8e60f6c use PA_STREAM_EARLY_REQUESTS for OSS streams 2008-09-03 19:51:12 +02:00
Lennart Poettering
13018d62c1 fix a few compiler warnings on older gcc 2008-08-29 23:53:55 +02:00
Lennart Poettering
b7026bf248 add a few more gcc warning flags and fix quite a few problems found by doing so 2008-08-19 22:39:54 +02:00
Lennart Poettering
432b4e5f7d don't use PA_GCC_UNUSED anymore 2008-08-09 16:20:29 +02:00
Lennart Poettering
756fac8d04 add new switch --disallow-exit 2008-08-06 19:39:12 +02:00