Commit graph

1460 commits

Author SHA1 Message Date
Lennart Poettering
3e10f3f4e3 tdb: include signal.h before tdb.h for compat reasons 2009-06-04 23:50:43 +02:00
Lennart Poettering
c224aace42 modules: introduce PA_MODULE_DEPRECATED() macro for marking modules deprecated 2009-05-28 02:47:36 +02:00
Lennart Poettering
19d7ced40d modargs: introduce pa_modargs_get_proplist() 2009-05-27 23:18:17 +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
ebce3185ef cli: allow easy repeating of commands with '/' 2009-05-25 23:56:38 +02:00
Lennart Poettering
e2aba1521a core-util: fall back to sysconf(_SC_OPEN_MAX) to find maximum file descriptor 2009-05-22 01:31:56 +02:00
Diego Elio 'Flameeyes' Pettenò
ff5b7fb222 Add missing headers' include to build on FreeBSD 7.1. 2009-05-15 23:42:43 +02:00
Diego Elio 'Flameeyes' Pettenò
d45c909ab3 When MAP_ANONYMOUS is missing, fallback to MAP_ANON.
While the latter is deprecated on modern systems like glibc-based ones,
FreeBSD (and probably others) still use it, so make sure it falls back if
the new one is missing.
2009-05-15 23:09:59 +02:00
Lennart Poettering
0921b1b4a3 shm: rework alignment when punching memory 2009-05-14 19:51:05 +02:00
Lennart Poettering
003e03d233 macro: include string.h because we need it for memset 2009-05-14 01:23:12 +02:00
Lennart Poettering
6df14e0161 database: add tdb backend 2009-05-14 01:22:49 +02:00
Lennart Poettering
46bceedc98 database: add gdbm backend 2009-05-14 01:22:36 +02:00
Lennart Poettering
c69ed91239 database: add abstracted database API 2009-05-14 01:21:56 +02:00
Lennart Poettering
28069ef0f7 core: automatically add icons for headsets/headphones/speakers for devices 2009-05-13 01:00:39 +02:00
Lennart Poettering
21ab720dd1 http: fix segfault on connection termination 2009-05-12 17:08:34 +02:00
Lennart Poettering
eb205646ae mime: drop additional whitespace from mime types 2009-05-11 19:56:13 +02:00
Jyri Sarha
35faedb6e8 core: Take samples from silence cache rather than write zeros
If the only stream to render from is muted take samples from the
silence cache. This should shrink memory/cache bandwidth. Again the
gain was not what I hoped for.
2009-05-09 00:06:47 +02:00
Jyri Sarha
d7b8947a5e core: optimize pa_sink_render_full()
I have used this fix for quite a while and I am pretty confident about
it. However, the performance gain was not what I expected.
2009-05-08 23:59:16 +02:00
Lennart Poettering
7f767e5fe6 core: liberalize 99a6a4 a bit
While flags should generally be initialized by passing them to
pa_{sink|source}_new() we make an exception for the volume related flags
which may be initilized afterwards, but before _put().
2009-05-08 02:16:10 +02:00
Lennart Poettering
8d9c26e3b6 core: cache requested latency only when we are running, not while we are still constructing 2009-05-08 02:04:48 +02:00
Lennart Poettering
99a6a4742f core: make sure we fix up flags/monitor flags already in pa_sink_new() instead of pa_sink_put() 2009-05-08 02:04:48 +02:00
Lennart Poettering
3766850c8b core: introduce pa_{sink,source}_set_fixed_latency()
This allows us to forward the fixed latency directly from the sink to
the monitor source withut having to wait for pa_sink_put().
2009-05-08 02:04:48 +02:00
Lennart Poettering
92a6141888 macro: add macros for initializing memory 2009-05-08 02:04:33 +02:00
Lennart Poettering
e0f08219bb sconv: fix a few minor conversion issues 2009-05-01 04:22:08 +02:00
Lennart Poettering
d2b5ae5525 sample-util: fix iteration loop when adjusting volume of s24 samples 2009-05-01 04:14:40 +02:00
Lennart Poettering
3a7b287c7e sample-util: properly allocate silence block for s24-32 formats 2009-05-01 04:14:02 +02:00
Lennart Poettering
076830af19 endian: fix LE/BE order for 24 bit accessor functions 2009-05-01 04:13:15 +02:00
Lennart Poettering
d6964160d5 headers: minor cleanups 2009-04-30 02:33:49 +02:00
Lennart Poettering
8dfdfd4e1b http: export information about currently active server strings 2009-04-30 01:35:18 +02:00
Lennart Poettering
23a798caf6 strlist: add new calls pa_strlist_{next|data}() 2009-04-30 01:33:56 +02:00
Lennart Poettering
9208b86b5e parseaddr: add new call pa_is_ip_address() 2009-04-30 01:33:21 +02:00
Lennart Poettering
390fe02aa9 http: split out mime type handling calls 2009-04-29 23:22:08 +02:00
Lennart Poettering
84a92f2a88 protocol-http: allow listening into sinks/sources via HTTP 2009-04-29 04:15:24 +02:00
Lennart Poettering
c2150118bf ioline: add new calls pa_ioline_detach_iochannel() and pa_ioline_is_drained() 2009-04-29 04:14:52 +02:00
Lennart Poettering
a64097ab1f ioline: add callback that can be called when the ioline object is fully drained 2009-04-29 04:14:23 +02:00
Lennart Poettering
4cb6ea2d96 simple-protocol: don't hit an assert when we call connection_unlink() early 2009-04-29 04:13:07 +02:00
Lennart Poettering
0b2d96d6c0 protocol-http: substantial modernizations 2009-04-29 02:00:19 +02:00
Lennart Poettering
ad5a1f312a protocol-native,proplist-util: port to pa_get_{user|host}_name_malloc() 2009-04-29 01:56:02 +02:00
Lennart Poettering
a8f0d7ec1e core-util: introduce pa_get_host_name_malloc() and pa_get_user_name_malloc() 2009-04-29 01:54:44 +02:00
Lennart Poettering
4abd5fae14 memtrap: implicitly page align memory areas 2009-04-29 01:53:28 +02:00
Lennart Poettering
bd0e4ceb85 macro: make pa_page_align roung up instead of down 2009-04-29 01:52:28 +02:00
Lennart Poettering
68f3ca9831 macro: add new macro pa_align_ptr() 2009-04-29 01:52:11 +02:00
Lennart Poettering
8247e4555b shm: minor modernizations 2009-04-29 01:49:22 +02:00
Lennart Poettering
595c22a3ad shm: page align shm size when mmap()ing it 2009-04-29 01:49:02 +02:00
Lennart Poettering
9745483cdd strbuf: add new call pa_strbuf_putc() 2009-04-29 01:46:51 +02:00
Lennart Poettering
5d39b8d22d idxset: add enumeration macro PA_IDXSET_FOREACH 2009-04-29 01:46:12 +02:00
Lennart Poettering
ad12d7d4b0 memtrap,aupdate: split atomic update from memtrap into seperate aupdate framework 2009-04-22 19:10:09 +02:00
Lennart Poettering
26383c6f14 memtrap: add a bit of documentation for memtrap 2009-04-21 23:02:17 +02:00
Lennart Poettering
67efc76abc memtrap: fix parameter type 2009-04-21 23:02:02 +02:00