Commit graph

4099 commits

Author SHA1 Message Date
Lennart Poettering
d2198c9ba1 alsa: fix wording, we are speaking of card profiles, not output profiles 2009-05-26 22:29:33 +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
8b180b6368 volume: implement pa_cvolume_{scale|max|avg}_mask() 2009-05-25 23:55:44 +02:00
Lennart Poettering
5f2d848d8e map-file: add missing channel map/cvolume position functions 2009-05-25 23:54:08 +02:00
Lennart Poettering
8f23a2edb5 proplist: add two new generic properties, media.copyright and media.software 2009-05-25 23:52:31 +02:00
Lennart Poettering
01fa34ba8a channelmap: introduce pa_channel_map_mask() and pa_channel_position_mask_t 2009-05-25 23:51:34 +02:00
Lennart Poettering
261a4830fb sample: introduce pa_proplist_setp() 2009-05-25 23:50:18 +02:00
Lennart Poettering
346a708c2c sample: introduce pa_sample_format_is_{le,be,ne,re}() 2009-05-25 23:49:47 +02:00
Lennart Poettering
3533599579 upnp: s/org.Rygel./org.gnome.UPnP/ following the newest version of the spec 2009-05-25 23:47:09 +02:00
Lennart Poettering
f80928495a channelmap: document how apple's/microsoft's channel names map to ours 2009-05-24 01:03:34 +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
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