platform/upstream/pulseaudio.git
10 years agorelease: update changelog 77/16377/1 accepted/tizen/generic accepted/tizen/ivi/stable accepted/tizen_generic accepted/tizen_ivi_panda accepted/tizen_ivi_release tizen_ivi_panda tizen_ivi_release accepted/tizen/generic/20140214.095659 accepted/tizen/generic/20140312.115907 accepted/tizen/ivi/20140214.182926 accepted/tizen/ivi/panda/20140312.120328 accepted/tizen/ivi/panda/20140402.015545 accepted/tizen/ivi/panda/20140403.014146 accepted/tizen/ivi/release/20140312.114203 submit/tizen/20140214.091918 submit/tizen/20140312.070908 submit/tizen_ivi_panda/20140402.015818 submit/tizen_ivi_panda/20140403.012059 submit/tizen_ivi_release/20140312.071339
Jaska Uimonen [Fri, 14 Feb 2014 09:15:28 +0000 (11:15 +0200)]
release: update changelog

Change-Id: Ia65773a797a010da35b92e9cddf757e2f026b7bd
Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com>
10 years agoMerge "packaging: disable bluez4" into tizen
Jaska Uimonen [Fri, 14 Feb 2014 08:57:34 +0000 (00:57 -0800)]
Merge "packaging: disable bluez4" into tizen

10 years ago- Allow pulseaudio to build into pure Wayland profile. 37/16337/1 sandbox/pcoval/tizen
Ronan Le Martret [Thu, 30 Jan 2014 08:32:46 +0000 (09:32 +0100)]
- Allow pulseaudio to build into pure Wayland profile.

Change-Id: Ia16216c4c3c792940d6c9e6e87d7bb7aef14a0d9
Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com>
10 years agopackaging: disable bluez4 34/16134/1
Sebastian Chlad [Fri, 7 Feb 2014 10:02:35 +0000 (12:02 +0200)]
packaging: disable bluez4

In Tizen we have bluez5.x thus we shall disable bluez4 for PA.

Change-Id: Ie87290c8687f7f70b6be955230984481822bccfa
Signed-off-by: Sebastian Chlad <sebastianx.chlad@intel.com>
10 years agorelease: update changelog 46/15446/2 accepted/tizen/generic/20140131.073254 accepted/tizen/ivi/20140131.175714 submit/tizen/20140131.072647
Jaska Uimonen [Mon, 20 Jan 2014 07:27:50 +0000 (09:27 +0200)]
release: update changelog

Change-Id: Iad1ee8a1600154885f0b8438ef267f8663659466
Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com>
10 years agovolume ramp: fix warnings and a bug with mono files 45/15445/2
Jaska Uimonen [Thu, 31 Oct 2013 08:57:39 +0000 (10:57 +0200)]
volume ramp: fix warnings and a bug with mono files

Change-Id: I20a9b6a5a05b1ed39554d5f91def9f12bbdab413
Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com>
10 years agofix for samsung echo cancel 44/15444/2
Jaska Uimonen [Thu, 31 Oct 2013 08:37:56 +0000 (10:37 +0200)]
fix for samsung echo cancel

Change-Id: I02d016d2048bcf7104da6a40630163f64393c827
Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com>
10 years agofix warnings in samsung pm lock 43/15443/2
Jaska Uimonen [Thu, 31 Oct 2013 08:01:50 +0000 (10:01 +0200)]
fix warnings in samsung pm lock

Change-Id: I93461d724f79c6427949f15b6c37eb6ae5707f70
Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com>
10 years agofix warnings in pa_ready file thing - samsung 42/15442/2
Jaska Uimonen [Thu, 31 Oct 2013 07:52:45 +0000 (09:52 +0200)]
fix warnings in pa_ready file thing - samsung

Change-Id: I74912bc9d1e295c0bc39bcc8df8c8c8f569b8321
Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com>
10 years agofixes to samsung simple api changes 41/15441/2
Jaska Uimonen [Thu, 31 Oct 2013 07:41:53 +0000 (09:41 +0200)]
fixes to samsung simple api changes

Change-Id: I73babf7b62e3f5a824bff8c2b59331043558ca54
Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com>
10 years agofix warning in stream restore patch 40/15440/2
Jaska Uimonen [Thu, 31 Oct 2013 07:24:11 +0000 (09:24 +0200)]
fix warning in stream restore patch

Change-Id: I26224f8bfd1a9ce44f953dfcbe390688acf8ec47
Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com>
10 years agofixes and improvements to makefile and configure 39/15439/2
Jaska Uimonen [Tue, 29 Oct 2013 09:09:51 +0000 (11:09 +0200)]
fixes and improvements to makefile and configure

Change-Id: I798806de36c188b604203e743c051c4fdc836c49
Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com>
10 years agoadd samsung policy module cond to spec 38/15438/2
Jaska Uimonen [Thu, 31 Oct 2013 09:10:37 +0000 (11:10 +0200)]
add samsung policy module cond to spec

Change-Id: Ie978e92c3504055149a1aa169bc09ec193135b5e
Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com>
10 years agomake samsung policy optional behind configure flag 37/15437/2
Jaska Uimonen [Tue, 29 Oct 2013 08:27:39 +0000 (10:27 +0200)]
make samsung policy optional behind configure flag

Change-Id: I81d85dbf9faa0d3e1a28f46dfed86e7956c311a3
Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com>
10 years agoFix log-target=dlog/dlog-color 26/15426/1
Huaqiang Geng [Tue, 21 Jan 2014 02:50:25 +0000 (10:50 +0800)]
Fix log-target=dlog/dlog-color

Change-Id: Idf96588e5992003f4abe7e447044891f855b7a14
Signed-off-by: Huaqiang Geng <huaqiangx.geng@intel.com>
10 years agoremove useless set of auto_log_target in daemon-conf.c, to pass the build with libdlo... 62/14962/1
vivian,zhang [Tue, 14 Jan 2014 05:55:23 +0000 (13:55 +0800)]
remove useless set of auto_log_target in daemon-conf.c, to pass the build with libdlog-devel

Change-Id: I96a0a8512ebc730f032c0f7df68f53512403d70a

10 years agorelease: update changelog 57/14557/2 accepted/tizen/mobile accepted/tizen/generic/20140114.095519 accepted/tizen/ivi/20140108.215101 accepted/tizen/ivi/panda/20140402.020923 accepted/tizen/mobile/20140113.181946 submit/tizen/20140108.124941 submit/tizen_ivi_panda/20140402.021312
Jaska Uimonen [Tue, 7 Jan 2014 12:10:29 +0000 (14:10 +0200)]
release: update changelog

Change-Id: I8d3c3f28c948a77e46fbb8c9ab22d6219d77425b
Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com>
10 years agofix ofono and pulseaudio starting order assert 56/14556/2
Jaska Uimonen [Thu, 2 Jan 2014 13:37:02 +0000 (15:37 +0200)]
fix ofono and pulseaudio starting order assert

Change-Id: I743c6e1fb5c65cc0702f073d6c2beb4e6868d7bb
Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com>
10 years agohfp do safe strcmp in dbus handler 55/14555/1
Jaska Uimonen [Mon, 30 Dec 2013 16:03:18 +0000 (18:03 +0200)]
hfp do safe strcmp in dbus handler

Change-Id: I4ba64d22b2b807530263b5f274cd89f208c675ac
Signed-off-by: Jaska Uimonen <jaska.uimonen@intel.com>
10 years agoExplicitly setting User execute label on pulseaudio binary 81/13481/1 accepted/tizen/20131207.002726 accepted/tizen/20131209.172238 submit/tizen/20131206.212450 submit/tizen_ivi_panda/20140401.233324
Rusty Lynch [Fri, 6 Dec 2013 20:56:14 +0000 (12:56 -0800)]
Explicitly setting User execute label on pulseaudio binary

Change-Id: Iebc875b0b9f37ee0d6f04de0000f7beeac92355f
Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
10 years agorelease: updated changelog accepted/tizen/20131022.162753 accepted/tizen/20131105.191950 accepted/tizen/20131112.015302 submit/tizen/20131022.094023
Jaska Uimonen [Tue, 22 Oct 2013 07:51:39 +0000 (10:51 +0300)]
release: updated changelog

Change-Id: I7a69f851697bd114e7ef2a071f305bd528099c4e

10 years agoconfiguration: enable ofono backend for hfp in configuration
Jaska Uimonen [Fri, 30 Aug 2013 13:17:07 +0000 (16:17 +0300)]
configuration: enable ofono backend for hfp in configuration

Change-Id: Ib34dc2f5686ff5762dc93b75c76399613d6748d2

10 years agopackaging: add tunnel source new to spec
Jaska Uimonen [Thu, 17 Oct 2013 07:19:58 +0000 (10:19 +0300)]
packaging: add tunnel source new to spec

Change-Id: Iff7a2e3559de9ac3ed8cee61885ab9ca69475193

10 years agorelease: updated changelog
Jaska Uimonen [Thu, 12 Sep 2013 07:49:41 +0000 (10:49 +0300)]
release: updated changelog

Change-Id: I145f7dc8105a5c55be708ad90c1d3680d16a897b

10 years agoconfiguration: add loading of tcp client module with murphy
Jaska Uimonen [Wed, 2 Oct 2013 12:44:51 +0000 (15:44 +0300)]
configuration: add loading of tcp client module with murphy

Change-Id: I5dbe053cf09a8577fc1615f756642a1d9fa2d71a

10 years agoconfiguration: add module stream restore to load with murphy.
Jaska Uimonen [Mon, 2 Sep 2013 13:07:51 +0000 (16:07 +0300)]
configuration: add module stream restore to load with murphy.

Change-Id: If7217a0fd1458074ad9882c77f09adec0802f680

10 years agoconfiguration: set conflicting modules with murphy behind conditionals
Jaska Uimonen [Mon, 19 Aug 2013 13:06:54 +0000 (16:06 +0300)]
configuration: set conflicting modules with murphy behind conditionals

these modules should not be loaded with module-murphy-ivi

Change-Id: I1eca2f3ea29bcde1f7b89d584468f0e4c6cf2e8d

10 years agoconfiguration: check module-fileter-xx.so exists to avoid module load failure
vivian,zhang [Fri, 16 Aug 2013 04:07:29 +0000 (12:07 +0800)]
configuration: check module-fileter-xx.so exists to avoid module load failure

Change-Id: Id6384e358ed3bac62d14874e8fe22e8792a637d9

10 years agopackaging: adding libcap requirement to spec file
Jaska Uimonen [Wed, 21 Aug 2013 08:08:11 +0000 (11:08 +0300)]
packaging: adding libcap requirement to spec file

Change-Id: Iaa28f147be6b9ecf9d81188c219e07ddc1319400

10 years agopackaging: re-add the baselibs.conf to packaging
Patrick McCarty [Fri, 16 Aug 2013 17:42:11 +0000 (10:42 -0700)]
packaging: re-add the baselibs.conf to packaging

The baselibs.conf is required to support multilib packages; currently,
pulseaudio-32bit and libpulse-32bit are required for the Steam
client and various Steam games.

Change-Id: Ia489433b3d08363320bf7546aebe229d96c5cfcc
Signed-off-by: Patrick McCarty <patrick.mccarty@linux.intel.com>
10 years agopackaging: remove pulseaudio.service which launch pa in system mode
vivian,zhang [Fri, 16 Aug 2013 04:09:07 +0000 (12:09 +0800)]
packaging: remove pulseaudio.service which launch pa in system mode

Change-Id: I48038cd35b05d395cfaf5f9a167ecb2261fe253c

10 years agopackaging: resetting manifest requested domain to floor
vivian,zhang [Thu, 18 Jul 2013 10:51:40 +0000 (18:51 +0800)]
packaging: resetting manifest requested domain to floor

Change-Id: Idd9eed5f535b8cfad5610f9b4f39e0422d6e86e5

10 years agopackaging: added changelog file.
Jaska Uimonen [Tue, 11 Jun 2013 14:18:16 +0000 (17:18 +0300)]
packaging: added changelog file.

Change-Id: I778c622d56dc60d4de097ba1b2aae0483292bb23

10 years agopackaging: added packaging for gerrit.
Jaska Uimonen [Tue, 11 Jun 2013 14:17:16 +0000 (17:17 +0300)]
packaging: added packaging for gerrit.

Change-Id: I9cf677e15311085610c42788fe3d9ac5b44dbfe9

10 years agopackaging: added pulseaudio.service
Jaska Uimonen [Tue, 11 Jun 2013 14:03:27 +0000 (17:03 +0300)]
packaging: added pulseaudio.service

10 years agoAdd bt_profile_set patch which fixed bt a2dp&hsp profile setting issues in mobile
vivian,zhang [Wed, 17 Jul 2013 03:17:40 +0000 (11:17 +0800)]
Add bt_profile_set patch which fixed bt a2dp&hsp profile setting issues in mobile

Change-Id: I9bc3649b02ab7ac56584211789a3ea18ff17fbb7

10 years agouse udev only for usb devices - samsung
Jaska Uimonen [Thu, 8 Aug 2013 08:28:39 +0000 (11:28 +0300)]
use udev only for usb devices - samsung

10 years agocope with possible infinite waiting in startup - samsung
Jaska Uimonen [Thu, 8 Aug 2013 08:27:44 +0000 (11:27 +0300)]
cope with possible infinite waiting in startup - samsung

10 years agoset alsa suspend timeout to zero - samsung
Jaska Uimonen [Thu, 8 Aug 2013 08:24:25 +0000 (11:24 +0300)]
set alsa suspend timeout to zero - samsung

10 years agocreate pa_ready file - samsung
Jaska Uimonen [Thu, 8 Aug 2013 08:23:38 +0000 (11:23 +0300)]
create pa_ready file - samsung

10 years agoadd bluetooth a2dp aptx codec support - samsung
vivian,zhang [Tue, 18 Jun 2013 08:23:45 +0000 (16:23 +0800)]
add bluetooth a2dp aptx codec support - samsung

10 years agoadd policy module - samsung
vivian,zhang [Tue, 18 Jun 2013 08:21:32 +0000 (16:21 +0800)]
add policy module - samsung

10 years agoadd support for dlog - samsung
vivian,zhang [Tue, 18 Jun 2013 08:20:04 +0000 (16:20 +0800)]
add support for dlog - samsung

10 years agoEnhance for echo cancel - samsung
vivian,zhang [Tue, 18 Jun 2013 08:18:58 +0000 (16:18 +0800)]
Enhance for echo cancel - samsung

Change-Id: I625ca676228b58b5d53f72b9d14b3e811d212d1e

10 years agoAdd preload fileter for resample - samsung
vivian,zhang [Tue, 18 Jun 2013 08:12:20 +0000 (16:12 +0800)]
Add preload fileter for resample - samsung

Change-Id: Ia57b4eb1848d53bbfa15c04b25f4821554aff28f

10 years agoadd support for samsung power management - samsung
vivian,zhang [Tue, 18 Jun 2013 08:11:16 +0000 (16:11 +0800)]
add support for samsung power management - samsung

Conflicts:
src/modules/module-suspend-on-idle.c

Change-Id: Icef98de31319023df85bcb5b89e4d66a2040edcb

10 years agochanges to pa simple api - samsung
vivian,zhang [Tue, 18 Jun 2013 08:10:15 +0000 (16:10 +0800)]
changes to pa simple api - samsung

Change-Id: I997c02217a8dc14524480164aa0baeea901c7b4e

10 years agoadd parameter to define key used in stream restore.
Jaska Uimonen [Thu, 5 Sep 2013 09:21:19 +0000 (12:21 +0300)]
add parameter to define key used in stream restore.

It is possible now to use preferred_stream_group
command line parameter when loading module stream
restore. This key will be searched from the stream's
proplist and if found it is used as key when
restoring the volumes and other values. There's also
special value media.role.within.appication.name you
can use to enable restoring stream roles within
application. So different streams with different
roles within application will save their volumes.
If the preferred stream group parameter is left out
module stream restore will fallback to old default
functionality.

Change-Id: I636f47b43476f3d4cd6c14244eafcd050683bb69

10 years agoadjust default bluetooth profile to off
Jaska Uimonen [Wed, 14 Aug 2013 12:00:52 +0000 (15:00 +0300)]
adjust default bluetooth profile to off

10 years agoadd conditional murphy module loading to default.pa.in
vivian,zhang [Thu, 18 Jul 2013 10:43:14 +0000 (18:43 +0800)]
add conditional murphy module loading to default.pa.in

Change-Id: I8199f4530ef5f10cf65488969b3a8998e05cb65c

10 years agoadd internal corking state for sink-input
Jaska Uimonen [Thu, 7 Mar 2013 11:41:44 +0000 (13:41 +0200)]
add internal corking state for sink-input

10 years agonode-manager: adding node support for pactl
Jaska Uimonen [Wed, 5 Dec 2012 07:53:12 +0000 (09:53 +0200)]
node-manager: adding node support for pactl

10 years agonode manager: adding external node manager API
Jaska Uimonen [Tue, 4 Dec 2012 07:53:14 +0000 (09:53 +0200)]
node manager: adding external node manager API

10 years agomake pa_thread_mq_done() safe for subsequent calls
Janos Kovacs [Thu, 16 Aug 2012 00:47:48 +0000 (03:47 +0300)]
make pa_thread_mq_done() safe for subsequent calls

10 years agojack detection fix for wired headset
Jaska Uimonen [Sun, 10 Jun 2012 12:13:11 +0000 (15:13 +0300)]
jack detection fix for wired headset

10 years agobuild-sys: install files for a module development.
Jaska Uimonen [Tue, 5 Jun 2012 08:36:13 +0000 (11:36 +0300)]
build-sys: install files for a module development.

10 years agovolume ramp: add client api support for volume ramping
Jaska Uimonen [Wed, 8 Aug 2012 08:14:40 +0000 (11:14 +0300)]
volume ramp: add client api support for volume ramping

10 years agovolume ramp: adding volume ramping to sink-input
Jaska Uimonen [Wed, 8 Aug 2012 08:14:38 +0000 (11:14 +0300)]
volume ramp: adding volume ramping to sink-input

10 years agovolume ramp: add volume ramping to sink
Jaska Uimonen [Wed, 8 Aug 2012 08:14:39 +0000 (11:14 +0300)]
volume ramp: add volume ramping to sink

10 years agovolume ramp: additions to the low level infra
Jaska Uimonen [Wed, 8 Aug 2012 08:14:37 +0000 (11:14 +0300)]
volume ramp: additions to the low level infra

10 years agobluetooth: Set 'off' profile as default for newly create cards
Luiz Augusto von Dentz [Mon, 16 Sep 2013 12:10:51 +0000 (15:10 +0300)]
bluetooth: Set 'off' profile as default for newly create cards

This makes sure that pa_card_new doesn't select one profile based on
priority which may conflict with audio policy.

10 years agobluetooth: Fixes HFP audio transfer when initiator
Luiz Augusto von Dentz [Fri, 23 Aug 2013 16:44:23 +0000 (19:44 +0300)]
bluetooth: Fixes HFP audio transfer when initiator

This makes sure org.ofono.HandsfreeAudioCard.Connect is called regardless
of the optional flag and also makes sure to update the profile state
whenever SCO is disconnected.

10 years agobluetooth: Implement transport release for hf_audio_agent transports
Luiz Augusto von Dentz [Fri, 23 Aug 2013 16:19:34 +0000 (19:19 +0300)]
bluetooth: Implement transport release for hf_audio_agent transports

10 years agobluetooth: Suspend sink/source on HFP's stream HUP
João Paulo Rechi Vita [Wed, 27 Mar 2013 04:43:42 +0000 (01:43 -0300)]
bluetooth: Suspend sink/source on HFP's stream HUP

When the Audio Connection is disconnected the sink and source should be
suspended.

10 years agobluetooth: Fix not handle fd in DEFER_SETUP state
Luiz Augusto von Dentz [Fri, 23 Aug 2013 09:56:40 +0000 (12:56 +0300)]
bluetooth: Fix not handle fd in DEFER_SETUP state

The fd passed over NewConnection is in DEFER_SETUP and need to be read to
be accept otherwise it wont work.

10 years agobluetooth: Implement org.ofono.HandsfreeAudioAgent.NewConnection()
João Paulo Rechi Vita [Thu, 11 Jul 2013 16:23:31 +0000 (13:23 -0300)]
bluetooth: Implement org.ofono.HandsfreeAudioAgent.NewConnection()

10 years agobluetooth: Handle CardRemoved signal
João Paulo Rechi Vita [Thu, 11 Jul 2013 15:53:10 +0000 (12:53 -0300)]
bluetooth: Handle CardRemoved signal

10 years agobluetooth: Handle CardAdded signal
João Paulo Rechi Vita [Thu, 11 Jul 2013 14:47:37 +0000 (11:47 -0300)]
bluetooth: Handle CardAdded signal

10 years agobluetooth: Track oFono service
João Paulo Rechi Vita [Thu, 11 Jul 2013 14:43:48 +0000 (11:43 -0300)]
bluetooth: Track oFono service

10 years agobluetooth: Implement transport acquire for hf_audio_agent transports
João Paulo Rechi Vita [Wed, 10 Jul 2013 01:22:28 +0000 (22:22 -0300)]
bluetooth: Implement transport acquire for hf_audio_agent transports

10 years agobluetooth: Parse HandsfreeAudioCard properties
João Paulo Rechi Vita [Wed, 10 Jul 2013 00:37:26 +0000 (21:37 -0300)]
bluetooth: Parse HandsfreeAudioCard properties

10 years agobluetooth: List HandsfreeAudioCard objects from oFono
João Paulo Rechi Vita [Wed, 10 Jul 2013 00:03:28 +0000 (21:03 -0300)]
bluetooth: List HandsfreeAudioCard objects from oFono

10 years agobluetooth: Register/Unregister Handsfree Audio Agent with oFono
João Paulo Rechi Vita [Tue, 9 Jul 2013 23:59:12 +0000 (20:59 -0300)]
bluetooth: Register/Unregister Handsfree Audio Agent with oFono

Register as a HandsfreeAudioAgent with oFono during backend
initialization and unregiter during backend finalization. This commit
also adds a check when receiving method calls or signals to make sure
the sender matches with the D-Bus service we're registered with.

10 years agobluetooth: Create pa_bluetooth_dbus_send_and_add_to_pending() for oFono backend
João Paulo Rechi Vita [Wed, 10 Jul 2013 16:00:16 +0000 (13:00 -0300)]
bluetooth: Create pa_bluetooth_dbus_send_and_add_to_pending() for oFono backend

10 years agobluetooth: Monitor D-Bus signals
João Paulo Rechi Vita [Wed, 10 Jul 2013 15:18:07 +0000 (12:18 -0300)]
bluetooth: Monitor D-Bus signals

10 years agobluetooth: Create Handsfree Audio Agent oFono backend
João Paulo Rechi Vita [Tue, 9 Jul 2013 23:22:17 +0000 (20:22 -0300)]
bluetooth: Create Handsfree Audio Agent oFono backend

10 years agobluetooth: Create Handsfree Audio Agent NULL backend
João Paulo Rechi Vita [Tue, 9 Jul 2013 22:08:15 +0000 (19:08 -0300)]
bluetooth: Create Handsfree Audio Agent NULL backend

10 years agobluetooth: Add basic support for HEADSET profiles
João Paulo Rechi Vita [Wed, 10 Jul 2013 12:45:01 +0000 (09:45 -0300)]
bluetooth: Add basic support for HEADSET profiles

This commit adds basic support for devices implementing HSP Headset
Unit, HSP Audio Gateway, HFP Handsfree Unit, HFP Audio Gateway to the
BlueZ 5 bluetooth audio devices driver module (module-bluez5-device).

10 years agobluetooth: Track discovery modules by index
João Paulo Rechi Vita [Mon, 14 Oct 2013 19:18:03 +0000 (16:18 -0300)]
bluetooth: Track discovery modules by index

Previously module-bluez5-discover and module-bluez4-discover were being
tracked using their pa_module pointer. But during daemon shutdown these
modules are unloaded before module-bluetooth-discover, leaving stale
pointers in module-bluetooth-discover's userdata. To avoid this problem
this commit makes module-bluetooth-discover keep track of
module-bluez5-discover and module-bluez4-discovery by their indexes.

10 years agobuild-sys: Print CPPFLAGS in configure
Tanu Kaskinen [Sat, 12 Oct 2013 09:45:58 +0000 (12:45 +0300)]
build-sys: Print CPPFLAGS in configure

I needed this for verifying that the conditional defining of
_FORTIFY_SOURCE works.

10 years agobuild-sys: Don't define _FORTIFY_SOURCE when building with -O0
Tanu Kaskinen [Sat, 12 Oct 2013 09:45:09 +0000 (12:45 +0300)]
build-sys: Don't define _FORTIFY_SOURCE when building with -O0

10 years agosndfile-util: fix format for 24bit depth wav files
Kiran Krishnappa [Thu, 10 Oct 2013 06:30:09 +0000 (23:30 -0700)]
sndfile-util: fix format for 24bit depth wav files

PA_SAMPLE_24NE generated in pa_sndfile_read_sample_spec is not
handled in pa_sndfile_readf and writef function. paplay/parecord
used to get aborted for 24bit depth wav files

10 years agoalsa: Fix crash when loading bare ALSA sink/source
Jan Alexander Steffens (heftig) [Wed, 9 Oct 2013 18:29:39 +0000 (20:29 +0200)]
alsa: Fix crash when loading bare ALSA sink/source

module-alsa-{sink,source}.c call pa_alsa_{sink,source}_new with
mapping set to NULL. Guard against this, like the rest of the
function does.

module-alsa-card does not use NULL, so this went unnoticed so far.

10 years agobuild-sys: Fix building with Android toolchain
Anton Lundin [Wed, 18 Sep 2013 14:22:00 +0000 (16:22 +0200)]
build-sys: Fix building with Android toolchain

Signed-off-by: Anton Lundin <glance@acc.umu.se>
10 years agotunnel-sink-new: Fix a possible crash
Alexander Couzens [Mon, 16 Sep 2013 11:06:27 +0000 (13:06 +0200)]
tunnel-sink-new: Fix a possible crash

When the creation of u->thread fails, then pa_thread_mq_done() in
pa__done() will crash, because pa_thread_mq_init() was never called.
Allocating the thread_mq object separately, instead of embedding it
in the userdata struct, allows pa__done() to call pa_thread_mq_done()
only when necessary.

10 years agotunnel-sink-new: remove switch-default from state change callbacks
Alexander Couzens [Mon, 16 Sep 2013 11:06:34 +0000 (13:06 +0200)]
tunnel-sink-new: remove switch-default from state change callbacks

Using default sections for switch(state) in state change callbacks will prevent
useful compiler warnings for non-handled cases

10 years agoalsa-mixer: Drop all unused paths, not only unsupported paths
David Henningsson [Mon, 23 Sep 2013 11:40:26 +0000 (13:40 +0200)]
alsa-mixer: Drop all unused paths, not only unsupported paths

This is a cleaner solution, because it also removes paths that are
being removed because they are subsets of other paths.

Otherwise, the lingering paths could cause jack detection related
assertion failures.

BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=69676
Reported-and-tested-by: Kalev Lember <kalevlember@gmail.com>
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
10 years agoi18n: Update bluetooth bits in POTFILES
Arun Raghavan [Mon, 30 Sep 2013 12:40:34 +0000 (18:10 +0530)]
i18n: Update bluetooth bits in POTFILES

10 years agodefault/system.pa: Do not load module-dbus-protocol
David Henningsson [Fri, 27 Sep 2013 08:22:53 +0000 (10:22 +0200)]
default/system.pa: Do not load module-dbus-protocol

The author of this module, Tanu Kaskinen, has said that this module
"is not suitable for general use". Also, it is still causing crashes
on card removal (see bug 69871).

Qpaeq, and possibly other tools, use this module - but they can load
the module manually if they still wish to use it.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
10 years agoalsa-ucm: Fix bad rate check
Arun Raghavan [Mon, 30 Sep 2013 09:45:36 +0000 (15:15 +0530)]
alsa-ucm: Fix bad rate check

Need to check the rate value for being > 0 not the return value of
pa_atou().

10 years agoalsa-ucm: Don't allow Playback/CaptureRate to be 0
Arun Raghavan [Mon, 30 Sep 2013 03:02:16 +0000 (08:32 +0530)]
alsa-ucm: Don't allow Playback/CaptureRate to be 0

This was a review comment on the original patch that I missed fixing.

10 years agobluetooth: Add a comment about messing with the IDLE suspend cause
Tanu Kaskinen [Sun, 29 Sep 2013 16:47:16 +0000 (19:47 +0300)]
bluetooth: Add a comment about messing with the IDLE suspend cause

10 years agohashmap: Add a key+value iterator
Arun Raghavan [Fri, 20 Sep 2013 11:57:32 +0000 (17:27 +0530)]
hashmap: Add a key+value iterator

10 years agobluetooth: Revive module-bluetooth-discover
João Paulo Rechi Vita [Tue, 24 Sep 2013 22:45:59 +0000 (19:45 -0300)]
bluetooth: Revive module-bluetooth-discover

Create a wrapper module called module-bluetooth-discover to avoid
breaking backward-compatibility of default.pa. This wrapper may
eventually be dropped altoghether with BlueZ 4 support.

10 years agocli-command: Use pa_module_exists() in .ifexists
João Paulo Rechi Vita [Tue, 24 Sep 2013 22:45:58 +0000 (19:45 -0300)]
cli-command: Use pa_module_exists() in .ifexists

10 years agomodule: Create pa_module_exists()
João Paulo Rechi Vita [Tue, 24 Sep 2013 22:45:57 +0000 (19:45 -0300)]
module: Create pa_module_exists()

This new function checks if a certain module name is available in the
system.

10 years agobluetooth: Fail to load driver if discovery module is not loaded
João Paulo Rechi Vita [Tue, 24 Sep 2013 22:45:56 +0000 (19:45 -0300)]
bluetooth: Fail to load driver if discovery module is not loaded

For quite some time now the device driver module doesn't work well
without the discovery module, so for the BlueZ 5 support we'll prevent
the device driver module to be loaded if the discovery module is not
loaded.

10 years agobluetooth: Implement get_n_used() for module-bluez5-device
João Paulo Rechi Vita [Tue, 24 Sep 2013 22:45:55 +0000 (19:45 -0300)]
bluetooth: Implement get_n_used() for module-bluez5-device

10 years agobluetooth: Handle changes to BlueZ 5 transports state
João Paulo Rechi Vita [Tue, 24 Sep 2013 22:45:54 +0000 (19:45 -0300)]
bluetooth: Handle changes to BlueZ 5 transports state

10 years agobluetooth: Process source messages for BlueZ 5 cards
João Paulo Rechi Vita [Tue, 24 Sep 2013 22:45:53 +0000 (19:45 -0300)]
bluetooth: Process source messages for BlueZ 5 cards