Commit graph

4087 commits

Author SHA1 Message Date
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
Lennart Poettering
ce3fbb5268 tests: show dB in volume-ui.py 2009-05-22 01:31:26 +02:00
Lennart Poettering
000bdb8d25 volume: change pa_volume_t mapping to cubic 2009-05-22 01:30:54 +02:00
Lennart Poettering
e7bca90775 upnp: s/url/URL/ in GetAll() D-Bus call 2009-05-19 18:18:36 +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ò
99f2541038 Add missing include directory path for OSS modules. 2009-05-15 23:42:29 +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
Diego Elio 'Flameeyes' Pettenò
0de6877934 Don't use == for comparison in tests. Fix build with non-bash shells. 2009-05-15 22:43:56 +02:00
Lennart Poettering
862a05f8c8 upnp: update to newest spec 2009-05-15 18:38:55 +02:00
Lennart Poettering
0921b1b4a3 shm: rework alignment when punching memory 2009-05-14 19:51:05 +02:00
Lennart Poettering
763954c467 upnp: convert all property names to CamelCase to follow D-Bus spec 2009-05-14 19:50:36 +02:00
Lennart Poettering
1a39acce41 rescue: make we don't end up in an endless loop when we can't move a sink input 2009-05-14 03:52:13 +02:00
Lennart Poettering
234c61b638 upnp: implement item-count/container-count properties 2009-05-14 01:43:12 +02:00
Lennart Poettering
0cb383717e alsa: be a bit more verbose when a hwparam call fails 2009-05-14 01:25:07 +02:00
Lennart Poettering
b7e2223186 database: port restore modules to new database API 2009-05-14 01:24:26 +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
905c8004a0 volume: introduce pa_cvolume_{get|set}_position() 2009-05-13 15:20:45 +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
dfd6b61cd1 alsa: include mixer name in sink/source properties 2009-05-12 22:55:50 +02:00
Lennart Poettering
21ab720dd1 http: fix segfault on connection termination 2009-05-12 17:08:34 +02:00
Marc-André Lureau
86caf4520f context: don't fail if session bus is not there
Also invert the order of bus tracking since we expect session_bus to
be present when we check for it. Although that should not change
anything in practise.
2009-05-12 01:33:37 +02:00
Marc-André Lureau
4c3aef367b suspend-on-idle: add per-device timeout property 2009-05-12 01:33:37 +02:00
Lennart Poettering
a7a7358fb3 git: activate default commit hook 2009-05-11 21:18:32 +02:00
Lennart Poettering
37c36202c6 upnp: rework property handling 2009-05-11 20:01:05 +02:00
Lennart Poettering
35b7ce56ed upnp: use new rygel @HOSTNAME@ wildcard for server name 2009-05-11 20:00:43 +02:00
Lennart Poettering
dc5dce50ea upnp: properly issue method not found exception when we don't now it 2009-05-11 20:00:02 +02:00
Lennart Poettering
98a6454166 upnp: update to newest spec, generate 'Updated' signal 2009-05-11 19:59:14 +02:00
Lennart Poettering
6c4c61de2c upnp: fix URL of MediaServer spec 2009-05-11 19:57:00 +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
a714861cc1 channelmap: add pa_channel_map_has_position() 2009-05-08 22:49:47 +02:00
Jyri Sarha
44e566ade8 bluetooth-device: Add safe guard against BT streaming irregularities.
Some bad quality BT-headsets block bluez socket sometimes for hundreds
of milliseconds, especially when changing mode. When the module tries
catch up the lost time it may SBC encode up to half a second of audio
without yielding. On slow machine this may cause maximum RT time slice
to be exceeded. Cleaned out the minor fix that slipped into first version
of the patch.
2009-05-08 22:49:42 +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
5caf09d4ea resampler-test: add tests for 24bit sample formats 2009-05-01 04:18:21 +02:00
Lennart Poettering
76caa270ce resampler-test: use global PA_FLOAT32_SWAP implementation 2009-05-01 04:17:34 +02:00
Lennart Poettering
4bffc7849f alsa: initialize buffer size before number of periods to improve compat with some backends 2009-05-01 04:16:17 +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
947bf5de6c zeroconf: properly unref native protocol object 2009-05-01 04:12:45 +02:00
Lennart Poettering
d4b10d838a sample: correctly pass s24-32 formats 2009-05-01 04:12:24 +02:00