Commit graph

244 commits

Author SHA1 Message Date
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
Lennart Poettering
d4bda31ba1 include libcli.la in libprotocol-cli's dependencies 2009-01-15 21:29:18 +01:00
Lennart Poettering
c7fff97782 move alsa and oss modules into their own subdirectories 2009-01-15 21:02:01 +01:00
Lennart Poettering
29c7a28817 kill autoload stuff as planned 2009-01-15 20:07:13 +01:00
Lennart Poettering
b6deb0cc4c add new pa_card object as a way to logically combine multiple sinks and sources 2009-01-15 18:29:16 +01:00
Lennart Poettering
c2002dcd1f Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio 2009-01-08 21:18:15 +01:00
Lennart Poettering
9fc726c6d7 Add new test source module-sine-source 2009-01-08 21:17:58 +01:00
Marc-André Lureau
d096ad78d3 bluetooth: add update-sbc and friends
Grr.. You can't do:

SBC_FILES = a b c
libsbc_SOURCES = $(addprefix modules/bluetooth/,$(SBC_FILES))

With automake...

So I $(strip 'modules/bluetooth/') instead.
2009-01-08 19:16:59 +02:00
Marc-André Lureau
8e200ed0ce build: run some tests during make check (and distcheck)
Run simple core tests during 'check'.

I plan to add more automated tests, including pulseaudio instances. I
did some for maemo, they still need some love.

Note: it would be funky to enable Automake 'color-tests' option when
this will be released (1.10.2 and from automake git)
2009-01-08 17:21:10 +02:00
Marc-André Lureau
de57edd5d8 build: Use proper -disable-static instead of removing .a
Don't mess up with autofoo, to pass 'make distcheck' again.

Note: I am not convinced by the 'rm -f *.la', I know it can solve
issue, but it should be handled by distributions probably...
2009-01-08 15:12:25 +02:00
Marc-André Lureau
c8b3d8b79c build: add atomic.h and refcnt.h to libpulsecommon
I choose libpulsecommon over libpulsecore because some files
from libpulsecommon (eg. once.{c,h}) include them.
2009-01-08 15:12:25 +02:00
Marc-André Lureau
a206ac0fb5 build: Don't include builddir, but only srcdir.
I guess it used to be builddir because some of the files under
src/modules are generated. However, they are generated at dist time,
not at compile time.
2009-01-08 15:11:39 +02:00
Marc-André Lureau
dd9ca70759 build: use pkg-config for X11
According to Daniel, AC_PATH_XTRA is sort-of deprecated.

This patch changes the configure arguments, --x-includes=dir and
--x-libraries=dir, which are now removed and use standard pkg-config.

It also replaces --with{,out}-x with --{dis,en}able-x11, which is the
same as other optionnal dependencies.

(this patch was done in an attempt to solve a build issue on maemo, it
turns out it didn't help)
2009-01-08 11:52:02 +02:00
Luiz Augusto von Dentz
5db081a898 Disable warnings for bluetooth-device-module. 2008-12-22 14:24:06 -03:00
Lennart Poettering
84cd233035 Make sure libpulse never gets unloaded
When an .so is unloaded during runtime all TLS keys it has registered
need to be freed because the destructor callbacks of the TLS key might
otherwise point to invalid code. Hence it would appear sensible to
destruct the TLS keys from a function marked as __attribute__
((destructor)). However functions marked like that are also called when
an application terminates, on exit(). If a thread continues to run until
the very exit it might still want to access that TLS data. The
destructor functions are called while all other threads are still
running. If __attribute ((destructor)) is used to destruct TLS keys for
such threads this might hence cause a crash when the application shuts
down.

To circumvent this problem we'll now compile libpulse with -z nodelete,
to make it unnecessary to delete the TLS data ever and thus avoiding the
problem. It's suboptimal, but for now I see no better solution.
2008-11-01 21:11:48 +01:00
Lennart Poettering
1d978cea85 Merge branch 'new-world-order'
Conflicts:
	src/Makefile.am
2008-10-25 01:23:02 +02:00
Lennart Poettering
1cd25f1485 reorder setting of AM_CFLAGS a bit 2008-10-22 20:37:58 +02:00
Lennart Poettering
ef0cc74567 a lot more build system updates 2008-10-22 20:36:21 +02:00
Lennart Poettering
695d300156 make new build logic actually work 2008-10-22 02:22:40 +02:00
Lennart Poettering
df6e38bfd2 temporary commit to allow flameeyes a look 2008-10-21 23:55:33 +02:00
Lennart Poettering
260fc50b36 reorder setting of AM_CFLAGS a bit 2008-10-21 22:05:13 +02:00
Lennart Poettering
8e3e88df8b Merge commit 'coling/airtunes-0.9.13' 2008-10-08 23:03:16 +02:00
Colin Guthrie
8715121755 Modularise the RAOP stuff that requires OpenSSL and make it optional at compile time 2008-10-08 20:37:43 +01:00
Colin Guthrie
729bbaf884 Automatic discovery of airtunes devices via Bonjour/Avahi.
This also does some minor reordering in the Makefile.am
Refs #69

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2519 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-10-08 20:35:47 +01:00
Colin Guthrie
264a1c2ffc Add more libraries to librtp now that it's doing a lot more.
This currently hacks in -lssl rather than writing a configure hook to detect it as I want to replace this with nss before official release.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2397 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-10-08 20:32:07 +01:00
Colin Guthrie
41e31ab204 Rename rtsp.{c,h} to rtsp_client.{c,h}.
Renate pa_rtsp_context to pa_rtsp_client.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2376 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-10-08 20:32:07 +01:00
Colin Guthrie
20478a4544 Add a skeleton raop client which builds on the rtsp client.
It still requires a socket client and callback system to be added before it will be functional.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2366 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-10-08 20:32:06 +01:00
Colin Guthrie
6570620cc3 Start the raop sink. It's based on pipe sink and isn't anywhere near finished. It does however compile.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2335 fefdeb5f-60dc-0310-8127-8f9354f1896f
2008-10-08 20:32:06 +01:00
Marc-Andre Lureau
80a79b15df flat-volume thingy
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2008-10-07 01:54:35 +02:00
Lennart Poettering
fa93cb71e8 make distcheck pass 2008-10-06 03:35:46 +02:00
Lennart Poettering
9e79c875a5 Merge commit 'coling/master' 2008-10-01 01:52:14 +02:00
Lennart Poettering
644f39d261 a few FreeBSD fixes, from alexis
Signed-off-by: Lennart Poettering <lennart@poettering.net>
2008-10-01 01:31:56 +02:00
Lennart Poettering
3ad8c04564 add a generic priority queue implementation 2008-09-26 09:49:52 -07:00
João Paulo Rechi Vita
4ae124b1c9 Move bluetooth proximity module to src/modules/bluetooth/ 2008-09-11 01:12:10 +03:00
João Paulo Rechi Vita
78a3c72f60 Move bluetooth discover and device modules to src/modules/bluetooth 2008-09-11 01:12:10 +03:00
Russ Dill
447e027217 Fix "file not found" error on load of module-bt-device for Ubuntu Intrepid Ibex 2008-09-11 01:12:09 +03:00
João Paulo Rechi Vita
e7b0839d17 Adds SBC Codec to pa tree 2008-09-11 01:12:04 +03:00
João Paulo Rechi Vita
c62c2ff4ad Add module-bt-device and dependencies to automake 2008-09-11 01:12:03 +03:00
João Paulo Rechi Vita
9d18b90d05 Adding module-bt-discover to Makefile.am 2008-09-11 01:12:01 +03:00
Lennart Poettering
821dc1797f move autospawn lock to pulsecore/ since we don't need it in the client anymore 2008-09-08 17:22:27 +03:00
Colin Guthrie
cd704f8a84 Linking fix for rtclock on libpulsedsp 2008-09-06 12:25:46 +01:00
Lennart Poettering
5a9a6021f1 update map-file script to ignore gcc malloc attributes 2008-09-05 01:28:08 +02:00
Lennart Poettering
bdcb3a493c optionally add timestampts to every line logged 2008-08-29 19:33:06 +02:00
Colin Guthrie
2a78f865c1 Fix more linking issues in x11-publish and stream-restore 2008-08-22 10:58:21 +01:00