summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* alsa-mixer: Remove passthrough profilesArun Raghavan2011-05-021-2/+1
| | | | | These aren't used any more - we handle passthrough mode in the iec958* profiles now.
* tests: Add a trivial test for the extended APIArun Raghavan2011-05-021-0/+6
| | | | | | This is just sync-playback.c modified to use the extended API. We need something more sophisticated for properly testing the compressed formats, but that is a non-trivial task in itself.
* core: Add a pa_format_info structureArun Raghavan2011-05-021-0/+2
| | | | | This will be used to represent the format of data provided by the client for both compressed and PCM formats in a new extended API.
* combine: Rename module-combine to module-combine-sink.Colin Guthrie2011-04-301-0/+6
| | | | | This also includes a compatibility module that will ultimately be removed in a future release.
* module-null-source: New null-source moduleMarc-André Lureau2011-04-281-0/+6
|
* filter-heuristics: New module that applies some basic heuristics regarding ↵Colin Guthrie2011-04-181-2/+8
| | | | | | | filters. At present the only heuristic is one to apply the echo-cancel filter when dealing with phone streams.
* filter-apply: New module to automatically load filter sinks (and move ↵Colin Guthrie2011-04-181-2/+8
| | | | | | | streams) based on sink-input property hints. This module does not yet deal with modules that need matched inputs/outputs (i.e. echo-cancel) but this will be added in due course.
* switch-on-connect: Add a new module to allow for hotplugged devices to be ↵Michael Terry2011-04-031-2/+8
| | | | | | | | | | | | | | | used by default. This module implements a simply policy decision that any newly plugged in devices should be used. This is a reasonable approach and paprefs will be updated to allow for this option to be turned on or off. This is more or less a stop-gap solution. When priority lists are implemented in the core, then policy modules may ultimately be re-engineered to adjust the priority lists rather than doing any of their own routing per-se.
* tests: add a connection stress testDaniel Mack2011-04-011-2/+9
| | | | | This test is based on a threaded main loop and was written to hunt an evil race condition.
* bluetooth: Pull a2dp-codecs.h from BlueZArun Raghavan2011-03-311-1/+3
| | | | | | This pulls a2dp-codecs.h from BlueZ which contains the capabilities structures for SBC and MPEG. We currently have these manually added to ipc.h, so pulling this header makes our files identical to upstream.
* Merge remote-tracking branch 'zonique/osx'Colin Guthrie2011-03-241-3/+7
|\
| * osx: add -headerpad_max_install_names to LDFLAGSDaniel Mack2011-03-211-0/+4
| | | | | | | | | | This is needed for sufficient padding of library names in linked binaries.
| * osx: re-order module locationsDaniel Mack2011-03-211-3/+3
| | | | | | | | move all Mac OS X related modules to own location.
* | build-sys: Make update-sbc, update-reserve and update-rtkit work in OOT buildsColin Guthrie2011-03-201-4/+4
| |
* | Merge remote-tracking branch 'mkbosmans/mingw32-build'Colin Guthrie2011-03-201-15/+23
|\ \ | |/ |/|
| * Use pulsecore/arpa-inet.h to make arpa/inet.h functionality availableMaarten Bosmans2011-03-191-2/+1
| | | | | | | | Automatically use replacement function on platforms (win32) where not all arpa/inet.h is available natively.
| * build: Protect some more variables by ifdefsMaarten Bosmans2011-03-191-1/+9
| | | | | | | | This avoids empty directories being created on builds without X11, ALSA, etc.
| * build: copy instead of link pacat to other utils on win32Maarten Bosmans2011-03-191-8/+13
| | | | | | | | This is necessary as symlinks are not supported on Windows. Also use the $(EXEEXT) variable.
| * Find modules and config files relative to the installed libraries.Maarten Bosmans2011-03-191-4/+0
| | | | | | | | Do not use replace %PULSE_ROOT% from the environment.
* | build-sys: Fix bluetooth update-sbc now that it's in a subfolder.Colin Guthrie2011-03-181-2/+2
| |
* | build-sys: Whitespace changesColin Guthrie2011-03-181-12/+26
| | | | | | | | | | | | | | This just makes some of the bluetooth stuff a little clearer and standardises on two-tab indents as this seems most common. Also added two headers to the bluetooth sbc source that were missing.
* | bluetooth: Fix build errors relating to SBCColin Guthrie2011-03-181-2/+2
| |
* | alsa: Add two more ALSA audio card profilesDaniel Mack2011-03-181-0/+2
| | | | | | | | | | This adds profiles for Native Instruments recently announced "Trator Audio 6" and "Traktor Audio 10".
* | Merge remote-tracking branch 'vudentz/master'Colin Guthrie2011-03-181-1/+1
|\ \
| * | sbc: add iwmmxt optimization for sbc for pxa series cpuSiarhei Siamashka2011-03-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Benchmarked on ARM PXA platform: === Before (4 bands) ==== $ time ./sbcenc_orig -s 4 long.au > /dev/null real 0m 2.44s user 0m 2.39s sys 0m 0.05s === After (4 bands) ==== $ time ./sbcenc -s 4 long.au > /dev/null real 0m 1.59s user 0m 1.49s sys 0m 0.10s === Before (8 bands) ==== $ time ./sbcenc_orig -s 8 long.au > /dev/null real 0m 4.05s user 0m 3.98s sys 0m 0.07s === After (8 bands) ==== $ time ./sbcenc -s 8 long.au > /dev/null real 0m 1.48s user 0m 1.41s sys 0m 0.06s === Before (a2dp usage) ==== $ time ./sbcenc_orig -b53 -s8 -j long.au > /dev/null real 0m 4.51s user 0m 4.41s sys 0m 0.10s === After (a2dp usage) ==== $ time ./sbcenc -b53 -s8 -j long.au > /dev/null real 0m 2.05s user 0m 1.99s sys 0m 0.06s
| * | sbc: ARMv6 optimized version of analysis filter for SBC encoderSiarhei Siamashka2011-03-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The optimized filter gets enabled when the code is compiled with -mcpu=/-march options set to target the processors which support ARMv6 instructions. This code is also disabled when NEON is used (which is a lot better alternative). For additional safety ARM EABI is required and thumb mode should not be used. Benchmarks from ARM11: == 8 subbands == $ time ./sbcenc -b53 -s8 -j test.au > /dev/null real 0m 35.65s user 0m 34.17s sys 0m 1.28s $ time ./sbcenc.armv6 -b53 -s8 -j test.au > /dev/null real 0m 17.29s user 0m 15.47s sys 0m 0.67s == 4 subbands == $ time ./sbcenc -b53 -s4 -j test.au > /dev/null real 0m 25.28s user 0m 23.76s sys 0m 1.32s $ time ./sbcenc.armv6 -b53 -s4 -j test.au > /dev/null real 0m 18.64s user 0m 15.78s sys 0m 2.22s
| * | build: move sbc related files to its own directoryLuiz Augusto von Dentz2011-03-141-1/+1
| | | | | | | | | | | | | | | This should make it easier to apply patches from BlueZ which also uses sbc subdir for this files.
* | | build-sys: No need to create folder for echo-cancel module.Colin Guthrie2011-03-141-1/+1
|/ / | | | | | | | | | | | | The ORCC stage does this anyway (and this was buggy anyway as it had an extra 'src/' prefix so never worked properly when it was introduced in d6cdd80). Thanks to Maarten Bosmans for pointing it out.
* | build: Use silent rules for generating filesMaarten Bosmans2011-03-111-10/+10
| |
* | volume: Add Orc-based optimised volume scalingArun Raghavan2011-03-051-0/+9
| | | | | | | | | | | | | | | | | | This adds volume scaling for 1- and 2-channel software volume scaling using Orc. While testing the MMX and SSE backends on a Core2, I see an ~2x performance benefit over the hand-rolled MMX and SSE code. Since I haven't been able to test on other architectures, the Orc code is only used when MMX/SSE* is present. This can be changed in the future after testing on AMD and ARM machines.
* | Remove remaining ramping/envelope referencesArun Raghavan2011-02-281-1/+0
| | | | | | | | (part of a patch series removing all ramping code)
* | Revert "Add new subsystem for applying envelopes (such as volume ramps) to ↵Arun Raghavan2011-02-281-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | audio signals" This reverts commit 95a98fe6f2002c9dd448b70bb6944541b5616df3. Conflicts: src/Makefile.am src/pulsecore/envelope.c src/pulsecore/envelope.h src/tests/envelope-test.c (part of a patch series removing all ramping code)
* | alsa-mixer: Add new paths for Internal Mic, Front Mic, Rear Mic and Dock MicDavid Henningsson2011-02-251-1/+4
| | | | | | | | Signed-off-by: David Henningsson <david.henningsson@canonical.com>
* | Merge remote-tracking branch 'mkbosmans/mingw32-build'Colin Guthrie2011-02-251-32/+52
|\|
| * Give module-waveout a configure switchMaarten Bosmans2011-02-171-3/+6
| | | | | | | | | | - Also disable the scary DBus and udev warnings when building for win32 - and only install some dbus/x11 specific files when appropriate
| * module-waveout: Adapted to updated APIMaarten Bosmans2011-02-171-9/+8
| | | | | | | | Waveout sink works again, Wavein source still needs some work.
| * Implement some functions for win32Maarten Bosmans2011-02-171-6/+16
| | | | | | | | And disable building binaries for win32 that make no sense there
| * Add AM_LDFLAGS more consistently to all commandsMaarten Bosmans2011-02-171-14/+14
| |
| * Fix dependencies and include necessary headersMaarten Bosmans2011-02-171-0/+8
| |
| * Use <pulsecore/socket.h> instead of <sys/socket.h>Maarten Bosmans2011-02-171-1/+1
| | | | | | | | | | | | | | | | The check whether POSIX socket.h or WIN32 winsock2.h must be included can be made centrally. The downside is that some functionality of e.g. arpa/inet.h is also implemented in winsock.h, so that some files that don't use socket functions, but do use inet.h functions, must also include pulsecore/socket.h. (as well as arpa/inet.h)
* | src/Makefile.am: add missing space to fix build using uClibcHenning Heinold2011-02-221-1/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using uClibc AM_LIBADD = $(PTHREAD_LIBS) $(INTLLIBS) is not empty because `$(INTLLIBS)` is set to `-lintl`. This uncovered a missing space in commit ef0cc745 which resulted in the following build error. […] CC libbluetooth_ipc_la-ipc.lo modules/bluetooth/ipc.c: In function 'bt_audio_service_open': modules/bluetooth/ipc.c:65:26: warning: dereferencing type-punned pointer might break strict-aliasing rules [-Wstrict-aliasing] modules/bluetooth/ipc.c: In function 'bt_audio_service_get_data_fd': modules/bluetooth/ipc.c:110:13: warning: cast increases required alignment of target type [-Wcast-align] modules/bluetooth/ipc.c:110:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] make[3]: *** No rule to make target `-lintl', needed by `libbluetooth-ipc.la'. Stop. make[3]: Leaving directory `/oe/build-minimal-uclibc/minimal-uclibc-dev/work/armv7a-oe-linux-uclibceabi/pulseaudio-0.9.22-r11.0+gitr0+051d82133f0ae6a57bf66fd200bc8e3591a7d5ca/git/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/oe/build-minimal-uclibc/minimal-uclibc-dev/work/armv7a-oe-linux-uclibceabi/pulseaudio-0.9.22-r11.0+gitr0+051d82133f0ae6a57bf66fd200bc8e3591a7d5ca/git/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/oe/build-minimal-uclibc/minimal-uclibc-dev/work/armv7a-oe-linux-uclibceabi/pulseaudio-0.9.22-r11.0+gitr0+051d82133f0ae6a57bf66fd200bc8e3591a7d5ca/git' make: *** [all] Error 2 This patch is taken from OpenEmbedded where it has been present since 2009 for PulseAudio 0.9.15 and greater [1]. [1] http://git.0pointer.de/?p=pulseaudio.git;a=commit;h=ef0cc74567b3bb98378c17f6a523bf18ba132ed7 [2] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=7c33f2e906a20e139d53b4f2d8fbc2773a4725b3 Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net> CC: Henning Heinold <heinold@inf.fu-berlin.de>
* echo-cancel: Make Orc file names less sillyArun Raghavan2011-02-011-3/+3
| | | | | The naming was what it was because of the way orc.mak was originally written. This has changed now.
* build: Simplify Orc-related make rulesArun Raghavan2011-02-011-9/+22
| | | | | | | This greatly simplifies the Orc-related make rules. The old system of distributing generated files is gone, which means that anyone who wants to build with Orc support enabled needs to have the orcc compiler installed (presumably the orc 'devel' package in most distros).
* build: Move orc.mak out of build/Arun Raghavan2011-01-311-1/+1
| | | | | That directory is commonly used by developers for out-of-tree builds, so don't keep the Makefile in there.
* build: Remove unnecessary flags in AM_CFLAGSMaarten Bosmans2011-01-311-15/+9
| | | | | | | | The CFLAGS and LIBS of libsamplerate, libspeex and libsndfile are added to the pulse libraries depending on those libraries. Also src/pulse/version.h is generated by configure, so it does not need to go in BUILT_SOURCES. (Slightly tweaked by Colin Guthrie to fix a merge problem relating to BUILT_SOURCES)
* build: Don't include empty Makefile.am in subdirsMaarten Bosmans2011-01-311-2/+0
|
* build: Generate module symdefs in src/modules directoryMaarten Bosmans2011-01-311-104/+88
| | | | | | | | | | | This will make it possible to remove the empty Makefile.am files. - module-...-symdef.h files are all generated in src/modules, instead of in the subdir of the module. - The default inclusion of src/modules subdirs in AM_CFLAGS can be removed, where necessary (raop) the subdir is included in the specific CFLAGS. - The src/daemon and src/modules directories are always created on make, to facilitate out of tree builds. - AM silent rules are used for the generation of symdef files by m4. - For echo-cancel, keep the build dir include for now (and mkdir it) although limit it to just the echo-cancel module's CFLAGS (Colin Guthrie)
* build: Use MODULE_LIBADD in Makefile.amMaarten Bosmans2011-01-231-84/+86
|
* jack: Add module-jackdbus-detectDavid Henningsson2010-12-051-0/+12
|
* build-sys: Replace dummy Makefiles with proper Makefile.am'sColin Guthrie2010-12-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | This is needed to better support out of tree builds (including distcheck) and to ensure the necessary folders are created in the build tree on configure and also works around an intl-tools bug (https://bugs.launchpad.net/intltool/+bug/605826) The Makefile.am's used are minimal (and in some cases completely blank). At present they do not include anything interesting with the majority of the real work still done by the monolitic src/Makefile.am It may make sense to start splitting out src/Makefile.am into smaller chunks but this commit makes the minimum changes to address the issues that result from using make distcheck and other out of tree builds. Note: This 'breaks' the ability to type make in e.g. the src/modules folder and have all of PA rebuilt accordingly (this is because the static Makefiles previously present just did a "make -C ..") which was purportedly for use in emacs. But I'm sure there will be a better and more robust way to configure emacs to do your builds properly if this behaviour is still desirable.