Commit graph

6733 commits

Author SHA1 Message Date
Deng Zhengrong
a74795f9e3 tests: modify hook-list-test to use 'check' framework 2012-08-20 07:05:59 +05:30
Deng Zhengrong
ef5cf81ff8 tests: modify memblockq-test to use 'check' framework 2012-08-20 07:05:59 +05:30
Deng Zhengrong
d10009fc97 tests: modify proplist-test to use 'check' framework 2012-08-20 07:05:59 +05:30
Deng Zhengrong
67df8223b0 tests: modify memblock-test to use 'check' framework 2012-08-20 07:05:59 +05:30
Deng Zhengrong
2b7fb50935 tests: modify connect-stress to use 'check' framework 2012-08-20 07:05:59 +05:30
Deng Zhengrong
f270fead58 tests: modify queue-test to use 'check' framework 2012-08-20 07:05:59 +05:30
Deng Zhengrong
5f8c22e6f1 tests: modify cpulimit-test to use 'check' framework 2012-08-20 07:05:59 +05:30
Deng Zhengrong
dbf176acbd tests: modify channelmap-tets to use 'check' framework 2012-08-20 07:05:59 +05:30
Deng Zhengrong
d746225b98 tests: modify asyncq-test to use 'check' framework 2012-08-20 07:05:59 +05:30
Deng Zhengrong
8628990365 tests: modify asyncmsgq-test to new 'check' framework 2012-08-20 07:05:59 +05:30
Deng Zhengrong
1569601864 tests: modify alsa-time-test to use 'check' framework 2012-08-20 07:05:59 +05:30
Deng Zhengrong
4d5c85cfa2 tests: modify thread-mainloop-test to use 'check' framework 2012-08-20 07:05:59 +05:30
Deng Zhengrong
ca104d3467 tests: modify thread-test to use 'check' framework 2012-08-20 07:05:59 +05:30
Deng Zhengrong
a5b438f825 tests: modify get-binary-name-test to use 'check' framework 2012-08-20 07:05:59 +05:30
Deng Zhengrong
8efef1e097 tests: modify format-test to use 'check' framework 2012-08-20 07:05:58 +05:30
Deng Zhengrong
5f2a25b252 tests: modify usergroup-test to use 'check' test framework 2012-08-20 07:05:58 +05:30
Deng Zhengrong
3db18c27d2 tests: modify volume_test to use new 'check' framework 2012-08-20 07:05:58 +05:30
Tanu Kaskinen
9197c0323e Add comments referring to bug #53709. 2012-08-19 14:49:27 +03:00
David Henningsson
ff4af902cf resampler: Fix volume on downmix to mono
Patch credit: kwanghui

When downmixing to mono, we should average the signal instead of
summing it to avoid clipping.

BugLink: http://pulseaudio.org/ticket/934
BugLink: https://bugs.launchpad.net/bugs/416190

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
2012-08-15 09:27:48 +02:00
Tanu Kaskinen
9887cd0a28 build-sys: Link utf8-test to libpulsecommon.
Fixes this:
/usr/bin/ld: utf8_test-utf8-test.o: undefined reference to symbol 'pa_log_set_level'
/usr/bin/ld: note: 'pa_log_set_level' is defined in DSO /home/takaskin/dev/pulseaudio/src/.libs/libpulsecommon-2.98.so so try adding it to the linker command line
/home/takaskin/dev/pulseaudio/src/.libs/libpulsecommon-2.98.so: could not read symbols: Invalid operation
2012-08-13 20:36:05 +03:00
Sjoerd Simons
0b7e128a52 build-sys: webrtc-utils needs to be installed before module-echo-cancel
Like other plugin helper libraries these need to be installed
before the plugins that use them..
2012-08-04 08:31:42 +02:00
Deng Zhengrong
84ffc41bfb tests: enable to test standalone pulseaudio daemon
With this fix, `check-daemon` doesn't need a system-wide running pulseaudio
anymore.

The method to use is to invoke `make check-daemon` under `src/` and it just
works! :)
2012-08-04 08:28:48 +02:00
Deng Zhengrong
89a6fd740f build: add a target to ease the creation of coverage files 2012-08-04 08:23:35 +02:00
Arun Raghavan
d53f16b6a2 tests: Make cpu-test less verbose 2012-08-04 08:23:35 +02:00
Arun Raghavan
b6f2ccf194 tests: Factor out Orc test code into cpu-test
Reorganises all the svolume core test code in cpu-test since it's the
same across MMX/SSE/etc.
2012-08-04 08:23:35 +02:00
Deng Zhengrong
c2f7987f09 tests: modify strlist-test to use new 'check' framework 2012-08-04 08:23:34 +02:00
Deng Zhengrong
27f6065a3c tests: modify utf8-test to use new 'check' test framework 2012-08-04 08:23:34 +02:00
Deng Zhengrong
11d2bf787f tests: modify mainloop-test to use new 'check' framework 2012-08-04 08:23:34 +02:00
Deng Zhengrong
c8cd89a7cb tests: add cpu test
It tests only x86 architecture right now.
2012-08-04 08:23:34 +02:00
Deng Zhengrong
6e33eb0073 tests: modify mix-test to use new 'check' test framework 2012-08-04 08:23:34 +02:00
Deng Zhengrong
1025fa08be build-sys: add check test framework 2012-08-04 08:08:34 +02:00
Peter Meerwald
7112e6ee3c modules: Add null/dummy echo canceller
I find a dummy/passthrough implementation useful for AEC debugging

Signed-off-by: Peter Meerwald <p.meerwald@bct-electronic.com>
2012-07-28 17:27:13 +03:00
Mikel Astiz
57469ce734 bluetooth: Remove minor unnecessary check
The return value of dbus_message_iter_next() doesn't need to be checked
since the while condition will be false anyway (arg type will be
DBUS_TYPE_INVALID).
2012-07-28 16:58:59 +03:00
Mikel Astiz
ffe723d506 bluetooth: Replace deprecated ListDevices()
The method ListDevices() in org.bluez.Adapter was deprecated in BlueZ
4.61, and is going to be removed in future releases. Instead, a property
was introduced for this purpose in BlueZ 4.7.
2012-07-28 16:57:36 +03:00
Mikel Astiz
f70f984017 bluetooth: Replace deprecated ListAdapters()
The method ListAdapters() in org.bluez.Manager was deprecated in BlueZ
4.61, and is going to be removed in future releases. Instead, a property
was introduced for this purpose in BlueZ 4.22.
2012-07-28 16:53:28 +03:00
Mikel Astiz
00cc8af995 bluetooth: Avoid duplicating profile argument twice
The module module-bluetooth-device should never be given parameter
'profile' twice, even if both HFGW and A2DP are playing. This patch
proposed to consider HFGW first.
2012-07-28 15:55:44 +03:00
Mikel Astiz
5c7672f79e bluetooth: Consider different input and output MTU
Previous implementation assumes these values are equal, but this doesn't
necessarily have to be so.
2012-07-28 15:55:44 +03:00
Mikel Astiz
8f0df3326b bluetooth: Minor style fixes
Fix some minor style fixes to be consistent with the project coding
style.
2012-07-28 15:55:44 +03:00
Mikel Astiz
d16546ceca bluetooth: Remove library for IPC to BlueZ
This library is not used anymore after the definitive transition to
Media API.
2012-07-26 09:23:56 +03:00
Mikel Astiz
8a402a7d08 bluetooth: Refactor property parsing code
Use a separate method to perform the common checks when a property needs
to be parsed.
2012-07-26 08:31:09 +03:00
Mikel Astiz
518d1dee45 bluetooth: Don't use the old socket IPC mechanism with BlueZ
This simplifies the code a lot, in favour of the D-Bus Media interface
in BlueZ. The old socket-based IPC mechanism has been deprecated and is
about to be removed soon.
2012-07-22 11:54:18 +03:00
Arun Raghavan
3f4c4ea7a6 build: Fix distcheck failure on libwebrtc-util
Without -avoid-version, libtool creates a libwebrtc-util.so.0 and
libwebrtc-util.so.0.0.0 which are not cleaned up by make uninstall,
which in turn causes make distcheck to fail.
2012-07-19 16:55:03 +05:30
Arun Raghavan
17576af2df i18n: module-coreaudio-device now has some translatable strings 2012-07-19 16:40:49 +05:30
Feng Wei
3a92bda554 alsa: Catch role matched streams to enable/disable modifier
In UCM basic functions, we only assign intended roles from modifier
to sink/source, but we don't have a chance to set the ucm modifiers.
Here we amend the functions so that when roled stream starts or
stops, we have the following results:
1. stream will be routed to sink/source specified in modifier by
   module-intended-roles
2. After that, modifier will be enabled or disabled.
3. when multiple streams with matched roles of modifier start, only
   the first one will enable the modifier, and when they end, the
   last one will disable the modifier.

Signed-off-by: Feng Wei <wei.feng@freescale.com>
Signed-off-by: Arun Raghavan <arun.raghavan@collabora.co.uk>
2012-07-18 10:53:29 +05:30
Arun Raghavan
801f286dfd build: Avoid libstdc++ dep for module-echo-cancel if possible
This moves out the webrtc bits into a small helper library to shield the
rest of module-echo-cancel from being linked with a C++ linker. This is
required because automake will _always_ link module-echo-cancel in C++
mode if any of its deps (even conditional ones) are in C++.
2012-07-18 10:53:18 +05:30
Jan Alexander Steffens (heftig)
243f53c975 alsa-mixer: Actually install analog-input-headphone-mic.conf
Without this file, pulseaudio aborts with:

  E: [pulseaudio] alsa-mixer.c: Assertion 'eb = p2->elements' failed at
  modules/alsa/alsa-mixer.c:3179, function path_set_condense(). Aborting.
2012-07-17 19:32:32 +05:30
Arun Raghavan
e8398273f0 echo-cancel: Print what AEC engine is being used
Useful for debugging
2012-07-17 13:05:28 +05:30
Arun Raghavan
1d20ac9a3e i18n: Remove module-hal-detect reference in POTFILES 2012-07-17 11:57:35 +05:30
Peter Meerwald
503de445a6 core: Set volumes const in pa_do_volume_func_t
volumes do not change, the samples get scaled

Signed-off-by: Peter Meerwald <p.meerwald@bct-electronic.com>
2012-07-17 11:22:09 +05:30
Deng Zhengrong
9b80d1d14a core: add more verbose error info
I'm debugging an issue, and find that it's more useful for users to know which
directory hasn't been created instead of just knowing error code.
2012-07-17 11:12:53 +05:30