Commit graph

5023 commits

Author SHA1 Message Date
Lennart Poettering
168be3830a use pa_fopen_cloexec() where applicable 2009-10-30 04:54:19 +01:00
Lennart Poettering
88b72958be tdb: use O_CLOEXEC if available 2009-10-30 04:53:15 +01:00
Lennart Poettering
752727a13d core-util: introduce pa_fopen_cloexec() 2009-10-30 04:20:24 +01:00
Lennart Poettering
a698ee3f52 core-util: make sure to enable FD_CLOEXEC unconditionally to cope with kernels that silently accept but ignore O_CLOEXEC 2009-10-30 04:16:59 +01:00
Lennart Poettering
65e7bc18a9 use cloexec wrappers wherever applicable 2009-10-30 03:32:38 +01:00
Lennart Poettering
9c1a98953f core-util: introduce FD_CLOEXEC wrappers for open/socket/pipe/accept 2009-10-30 03:30:42 +01:00
Lennart Poettering
754644fa6e Merge remote branch 'origin/master' 2009-10-29 01:54:45 +01:00
Lennart Poettering
e7e4e4459e simd: update test cases 2009-10-29 01:52:39 +01:00
Lennart Poettering
2edb4df175 smoother: add comments about optimization recommendations from Jason Newton 2009-10-29 01:49:40 +01:00
Lennart Poettering
f27a50691c libpulse: introduce PA_STREAM_RELATIVE_VOLUME 2009-10-29 00:46:22 +01:00
Lennart Poettering
546bcf3f2f protocol-native: if a client set volume/mute/device store it since it is user input 2009-10-28 23:50:42 +01:00
Lennart Poettering
2501687579 libpulse: explain semantics of pa_stream_connect_playback() in more detail 2009-10-28 23:47:50 +01:00
Lennart Poettering
27c6a80ccb protocol-native: declare that user configured volumes are always absolute 2009-10-28 23:47:21 +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
4538523a29 libpulse: introduce pa_context_get_tile_size() call 2009-10-28 23:26:48 +01:00
Lennart Poettering
744490a681 memblock: decrease tile size to 64k again 2009-10-28 21:29:01 +01:00
Jason Newton
e9ccc61a2f module-equalizer-sink: drop source executable permissions configure.ac: add enable/disable + summary line for fftw 2009-10-20 04:09:34 +02:00
Jason Newton
16e77f3ab2 module-equalizer-sink:
*fixed SSE2 optimized dsp logic (default if available)
    *cleaned up whitespace formatting (again)
2009-10-20 04:09:34 +02:00
Jason Newton
ff903ef542 module-equalizer-sink: fixed equalizer state save/restore 2009-10-20 04:09:32 +02:00
Jason Newton
d25b9eab0f module-equalizer-sink: drop source executable permissions configure.ac: add enable/disable + summary line for fftw 2009-10-19 18:34:38 -07:00
Colin Guthrie
bec67cd75f device-manager: Fix compiler warning.
Do not use a variable called 'index' as it clashes with string.h
2009-10-19 21:50:03 +01:00
Jason Newton
8f2289c563 module-equalizer-sink:
*fixed SSE2 optimized dsp logic (default if available)
    *cleaned up whitespace formatting (again)
2009-10-18 15:08:05 -07:00
Jason Newton
781eb594bb module-equalizer-sink: fixed equalizer state save/restore 2009-10-18 14:58:43 -07:00
Lennart Poettering
c9375aa5e9 libpulse: add missing includes 2009-10-12 21:21:26 +02:00
Daniel Mack
e5ac4b5ee7 buil-sys: fix build w/o DBus
The current git head does not build without DBus libraries installed.
Does the patch below look suitable?

Thanks,
Daniel

>From f69145fc603c56cef02134ceeba10e1727fa217e Mon Sep 17 00:00:00 2001
From: Daniel Mack <daniel@caiaq.de>
Date: Thu, 8 Oct 2009 14:41:21 +0800
Subject: [PATCH] Makefile.am: fix builds without DBus

Signed-off-by: Daniel Mack <daniel@caiaq.de>
2009-10-12 21:21:26 +02:00
Colin Guthrie
0ff2a6b434 device-manager: Rather than flagging the device as available, just include the sink/source index with PA_INVALID_INDEX meaning unavailable 2009-10-10 15:45:49 +01:00
Diego Elio 'Flameeyes' Pettenò
8ec304d2d1 Fix build when using -fweb, accept both register and memory constraints.
This was reported as Gentoo bug #287391 by Torsten Kaiser, and the fix was
suggested by Mike Frysinger.
2009-10-07 19:31:11 +02:00
Diego Elio 'Flameeyes' Pettenò
f55357cd0b Add check for FFTW, and add option to disable it at build-time.
This way there will be a message at configure if FFTW is not found, and
this gets in-line with the rest of the modules' dependencies.
2009-10-07 19:30:11 +02:00
Diego Elio 'Flameeyes' Pettenò
b64b6bbf4c Fix out-of-tree builds when dbus module is enabled. 2009-10-07 19:29:33 +02:00
Lennart Poettering
d0b478e9a6 Merge remote branch 'coling/history' 2009-10-07 03:46:06 +02:00
Lennart Poettering
9f226d25d6 Merge remote branch 'phish3/master' 2009-10-07 03:43:24 +02:00
Lennart Poettering
692ce73899 Merge remote branch 'tanuk/dbus-work' 2009-10-07 03:39:30 +02:00
Lennart Poettering
b3592a160f position-event-sounds: never position test sounds in space 2009-10-06 23:34:22 +02:00
Lennart Poettering
c96d2d1117 alsa: disable period event only with tsched=1 2009-10-06 00:17:54 +02:00
Tor-Björn Claesson
7b682c9690 loopback: Setting latency of module-loopback
I checked the source code, and latency_msec is missing from the list
of valid module arguments. Attaching a patch to add it.
2009-10-05 23:24:20 +02:00
Lennart Poettering
40c1ca76c4 bluetooth: don't set auto_connect flag when discovering bt devices 2009-10-04 13:00:51 +02:00
Colin Guthrie
9d7a27ec88 device-manager: Play nice with module-stream-restore.
If m-s-r sets the device we let it do so. Otherwise we handle the routing. We run before
module-intended-roles as the priority list will likely be configured appropriately
to do the same job, albeit with manual setup.
2009-10-02 22:44:56 +01:00
Colin Guthrie
cc31d7c35a device-manager: Make use of PA_IDXSET_FOREACH when applying entries. 2009-10-02 21:04:03 +01:00
Colin Guthrie
fdbb550063 device-manager: Keep track as to whether or not the user specifically renamed the device.
If the user has not (via our protocol extension) renamed a device, but it happens to now have
a different name (e.g. module-combine automatically updating the description for us or udev-db
getting better etc.) then make sure we update our cache with this updated version.

If the user has set a name, enforce it's use, even if the description is updated by some other
means (e.g. the user manually editing the proplist or another module doing it for them).
2009-10-02 21:01:19 +01:00
Colin Guthrie
6468dcf9d1 device-manager: No need to check the version after calling read_entry() 2009-10-02 19:12:10 +01:00
Tanu Kaskinen
019331d25b Merge branch 'master' into dbus-work
Conflicts:
	src/daemon/daemon-conf.c
2009-10-02 17:24:44 +03:00
Jason Newton
e895200169 module-equalizer-sink: disable active profile name restoration as something in pack/unpack is funky and I don't have time for a
proper fix
2009-10-02 02:14:56 -07:00
Jason Newton
97056d2a0e module-equalizer-sink: *added client initiated sync support for filter state *added note of possible unstable behavior with next-power-of-2 sample rate calculation 2009-10-02 02:14:56 -07:00
Jason Newton
a434f4c6af module-equalizer-sink: resyncing with head and fix invalid writes
* pa_log->debug for default equalizer notification
    * partially fixed infinite rewind bug
    * set max_request to window_size first iteration
    * swap order inside ROUND_UP calls
    * resync pa_sink_input_new changes
    * change pa_sample_clamp parameters to be correct to fix invalid writes
    * reenable proper reset logic + proper request size
2009-10-02 02:14:20 -07:00
Colin Guthrie
50db81c860 device-manager: Fix typo in module loading script. 2009-10-02 00:49:50 +01:00
Colin Guthrie
42e28ce31c device-manager: Add some scripts that are only run under KDE to load/initialise module-device-manager with routing turned on. 2009-10-01 22:33:22 +01:00
Colin Guthrie
20eedb2416 device-manager: Misc fixes to co-exist with other stream management/routing modules.
* Do not read or set the save_sink/save_source flags. This seems to be for module-stream-restore only...
 * Even if a sink is already set by an earlier module, still move it to the sink we dictate.
2009-10-01 22:12:16 +01:00
Colin Guthrie
3a20cf0b9f device-manager: Misc fixes.
* Fix a s/sink/source/ copy paste issue when dumping the database.
 * Only show priority list when routing is enabled (as the list is not updated if not)
 * Fix a memory access issue when finding the highest priority sinks/sources
 * key name->device name efficiency fix.
 * Silence noisy debug on reorder - it seems to work :)
 * Reroute after reordering.
 * Initialise preferred lists to PA_INVALID_INDEX
2009-10-01 21:30:24 +01:00