Commit graph

287 commits

Author SHA1 Message Date
Tanu Kaskinen
c94e7421aa Create module-dbus-protocol with "Hello, world!" functionality. 2009-06-03 15:21:50 +03: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
Diego Elio 'Flameeyes' Pettenò
99f2541038 Add missing include directory path for OSS modules. 2009-05-15 23:42:29 +02:00
Lennart Poettering
b7e2223186 database: port restore modules to new database API 2009-05-14 01:24:26 +02:00
Lennart Poettering
c95cc9e55f rygel: add module that interfaces with Rygel UPnP 2009-04-29 23:23:25 +02:00
Lennart Poettering
390fe02aa9 http: split out mime type handling calls 2009-04-29 23:22:08 +02:00
Lennart Poettering
0368d6e22b build-system: move x11 and jack modules into subdirectories 2009-04-28 02:29:01 +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
684b4c116c memtrap: hook up core to memtrap system 2009-04-21 22:56:08 +02:00
Lennart Poettering
6224fac921 memtrap: add new logic to trap and handle SIGBUS 2009-04-21 21:33:32 +02:00
Erich Boleyn
b03a650160 reserve-device: allow building without D-Bus
Lennart Poettering <lennart@poettering.net> wrote:

> On Wed, 15.04.09 16:26, Erich Boleyn (erich@uruk.org) wrote:
>
> > Just noticed the new 0.9.15 release, got it building on Gentoo, and then
> > found that the non-dbus build's ALSA modules appear to be broken:
...
> > Is this something that can stubbed out (relatively) safely?
>
> Hmm, yes. As it seems I broke the build for non-dbus builds. Should be
> easy to fix. Best way is probably to make the reserver wrapper mostly
> a noop if D-Bus is not available.
>
> Please understand that I don't really focus on making every weird
> combination of build deps work. So I won't fix this for you. But I am
> happy to merge good patches!

No problem, I was mainly looking for a hint that to your knowledge there
should be no wierd side-effects from stubbing out the reserve and dbus
functions inside reserve_wrapper.  Thanks for said hint.  ;-)

Attached is a patch to include "reserve_wrapper.[ch]" in the non-dbus
builds, and do said stubbing when HAVE_DBUS is not defined.  It has
passed moderate testing:  built both versions, both pass
"pulseaudio --dump-modules" with no weird messages, and the
"--disable-dbus" build works and produces audio as expected in some
simple tests including RTP.
2009-04-19 02:06:33 +02:00
Marc-André Lureau
eb93e2537a dbus: split dbus-util into dbus-shared
modules: fix dbus-util include
pulse: get dbus at context connection
2009-03-30 20:56:55 +03:00
Diego Elio 'Flameeyes' Pettenò
21547d7e1d Properly check for versioning flags.
Instead of checking for GNU ld presence, check if the linker knows about
the -version-script flag. Non-GNU linkers may export the same interface.

It also allows to check for alternative syntax for symbol versioning.
2009-03-05 13:59:59 +01:00
Lennart Poettering
81323b539b Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio 2009-03-05 04:34:56 +01:00
Lennart Poettering
3122008704 try to detect when stupid clients forks and refuse all service from then on 2009-03-05 04:33:40 +01:00
Lennart Poettering
dcee888865 Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio 2009-03-04 22:07:56 +01:00
Lennart Poettering
3dd8800e6d fix typo in FOREIGN_CFLAGS 2009-03-04 22:07:41 +01:00
Finn Thain
0329edd179 revive solaris module
Hi All,

This patch fixes the solaris audio device source and sink, and fixes some
portability issues that break the build on solaris. Questions and comments
welcomed.

I've tested this patch only with OpenSolaris Express snv 103. Eventually I
hope to be able to test a few older releases and older hardware (though it
is hard to say whether there is much interest in those).

This is my first brush with pulseaudio and so I read the wiki docs and
some of the source code but I'm still unsure of a few things. In
particular I'm wondering about rewind processing, corking and what (if
anything) the module needs for those. I'm also unclear on the implications
of thread_info.buffer_size, .fragment_size and .max_request, and whether
my code is correct or not.

This patch disables link map/library versioning unless ld is GNU ld.
Another approach for solaris would be to use that linker's -M option, but
I couldn't make that work (due to undefined mainloop, browse and simple
symbols when linking pacat. I can post the errors if anyone is intested.)

Thanks,
Finn Thain
2009-03-03 22:27:00 +01:00
Lennart Poettering
784ac5b0da get additional device data from udev 2009-03-01 21:38:22 +01:00
Colin Guthrie
07f98425ba bluetooth: Fix under linked module-bluetooth-device 2009-02-26 09:02:52 +00:00
Colin Guthrie
dd3c96dede Fix a very strange 'file not found' error in module-alsa-card.
This fixes a regression introduced by commit c341010304
2009-02-26 00:55:01 +00:00
Lennart Poettering
c341010304 implement device reservation scheme 2009-02-24 06:13:39 +01:00
Kelemen Gábor
9372733c98 Make .desktop and .policy file in src/daemon translatable 2009-02-24 00:10:07 +01:00
Lennart Poettering
e4e6e28bad split off foreign code into a convenience library to make gcc warnings go away 2009-02-21 04:13:41 +01:00
Lennart Poettering
fa2e07a0bd add test tool for debugging broken timing in sound drivers 2009-02-20 03:19:33 +01:00
Lennart Poettering
e954a89d89 properly read icon/application name/display from gtk/glib/gdk 2009-02-13 18:19:10 +01:00
Lennart Poettering
433751ff25 add a module that forwards cork/uncork requests to X11 as fake pause/resume key events 2009-02-13 02:39:07 +01:00
Lennart Poettering
a729786637 implement a module that corks music/video streams automatically when a phone call is active 2009-02-12 03:19:40 +01:00
Lennart Poettering
9f39a44488 add new module-augment-properties module for augmenting properties from .desktop files 2009-02-05 04:14:30 +01:00
Colin Guthrie
871389ac5d A couple of dependancy ordering fixes.
Make sure libdbus-util.so is installed/relinked prior to libalsa-util.so
Make sure libbluetooth-util.so is installed/relinked prior to module-bluetooth-discover.so
2009-02-03 23:49:43 +00:00
Lennart Poettering
f8190be2e6 make update-sbc should also update other BT related sources 2009-02-03 01:34:38 +01:00
Lennart Poettering
390133f2dc big module-bluetooth-device.c rework 2009-02-02 01:58:48 +01:00
Lennart Poettering
a41d72bb2e update sbc stuff 2009-02-02 01:44:37 +01:00
Lennart Poettering
04acc232ec download everything from gitweb twice to make sure we don't get a 'Generating...' message 2009-02-02 00:23:21 +01:00
Lennart Poettering
a71fa021a3 temporary commit of lennarts new bt changes 2009-01-29 16:27:27 +01:00
Lennart Poettering
eca32235fb get rid of module-flat-volumes since we are moving this into the core 2009-01-27 04:29:25 +01:00
Lennart Poettering
24b3a743bd add a bitset implementation 2009-01-27 00:44:45 +01:00
Lennart Poettering
a365c8212d include a few HAL properties in our card/sink/source properties for ALSA devices 2009-01-24 01:25:11 +01:00
Lennart Poettering
3dfe70cf78 add generic rate limiting implementation 2009-01-23 23:58:36 +01:00
Lennart Poettering
f6fcbed6d0 Merge commit 'flameeyes/flameeyes' 2009-01-23 19:46:52 +01:00
Lennart Poettering
5cb29f3a60 add a simple abstraction for SIMD operations 2009-01-23 19:45:11 +01:00
Diego E. 'Flameeyes' Pettenò
c65d3a9fb0 Remove support for internal distributing and bundling of libltdl.
Standing to what the libtool documentation says, the LTDL_INIT macro and
the related configure options are only useful when intending to distribute
libltdl, and is superfluous if the system copy were always to be used.

Which makes it very easy to just drop the internal copy and use the system
library, just do it like any other library lacking pkg-config files to
identify its presence.

If this tries to build against an older libtool version it might fail at
link time, so for now this is not an user-proof solution. But it at least
should provide a working environment for packagers.
2009-01-22 16:37:40 +01:00
Lennart Poettering
13315a7e4c add a card profile restore module 2009-01-21 02:49:42 +01:00
Lennart Poettering
16d200e369 add an API to create arbitrary alsa sinks/sources dynamically without having to load/unload modules 2009-01-21 00:23:18 +01:00
Diego E. 'Flameeyes' Pettenò
bc41fdb20d Include the alsa/ subdirectory for modules in the search path.
Without this, out of tree builds fails.
2009-01-20 00:55:42 +01:00
Diego E. 'Flameeyes' Pettenò
bd70e80531 Allow to opt-out from building tests.
Since the tests are only useful either if you're hacking at pulseaudio as
a developer, or when running "make check", allow users to opt-out from
their build.

This for instance allows for Gentoo users not to build the tests when
installing the ebuild with tests disabled, and also allow for skipping over
eventually broken tests when trying to get the basic build going on a port.
2009-01-20 00:55:39 +01:00
Lennart Poettering
96f01bf73f Merge commit '7104d54bbc' 2009-01-19 23:09:58 +01:00
Diego E. 'Flameeyes' Pettenò
7104d54bbc Add proper -I directives for out-of-tree builds.
When building out of tree, the generated files are put in builddir rather
than srcdir, so handle that properly.
2009-01-19 17:30:41 +01:00
Diego E. 'Flameeyes' Pettenò
348c2cab71 Create only the directory the current target should be created into.
With this change, instead of running multiple `mkdir -p` commands in all
the rules for all the generated definition files, only the call for the
current generated file is executed.

Not only it should shorten build time (especially for parallel make) but it
also fixes out-of-tree builds when new directories are added.

The $(dir $@) construct is GNU make-specific, but the rest of the
buildsystem is already GNU make-dependent so there should be no problem.
2009-01-19 17:20:18 +01:00
Lennart Poettering
b4d80462bf add card profile prober 2009-01-16 23:33:15 +01:00