profile/ivi/pulseaudio-module-murphy-ivi.git
11 years agoscripting: set proper destructor for rtgroup
Janos Kovacs [Thu, 20 Dec 2012 21:32:35 +0000 (23:32 +0200)]
scripting: set proper destructor for rtgroup

11 years agodiscover: chenges when to switch bluetooth card off
Jaska Uimonen [Thu, 13 Dec 2012 17:46:32 +0000 (19:46 +0200)]
discover: chenges when to switch bluetooth card off

11 years agodiscover: do not disable a2dp and hsp nodes when the profile is turned off
Jaska Uimonen [Thu, 13 Dec 2012 16:29:39 +0000 (18:29 +0200)]
discover: do not disable a2dp and hsp nodes when the profile is turned off

11 years agodiscover: eliminate multiple node generation for bluetooth cards
Jaska Uimonen [Thu, 13 Dec 2012 13:48:35 +0000 (15:48 +0200)]
discover: eliminate multiple node generation for bluetooth cards

11 years agomultiplex: handle correctly the return status of move_slave()
Jaska Uimonen [Wed, 12 Dec 2012 17:36:28 +0000 (19:36 +0200)]
multiplex: handle correctly the return status of move_slave()

11 years agovolume: fix argument passing (ie. arg is double ** instead of double *)
Jaska Uimonen [Wed, 12 Dec 2012 17:06:52 +0000 (19:06 +0200)]
volume: fix argument passing (ie. arg is double ** instead of double *)

11 years agoclassify: map alarm class to alert
Jaska Uimonen [Wed, 12 Dec 2012 15:35:17 +0000 (17:35 +0200)]
classify: map alarm class to alert

11 years agovolume: debug printout for volume table calculations
Jaska Uimonen [Wed, 12 Dec 2012 15:32:10 +0000 (17:32 +0200)]
volume: debug printout for volume table calculations

11 years agoscripting: more fixing assertion on unknown stream class
Jaska Uimonen [Tue, 11 Dec 2012 22:15:18 +0000 (00:15 +0200)]
scripting: more fixing assertion on unknown stream class

11 years agodiscover: heuristics for detecting bluetooth port availability
Jaska Uimonen [Tue, 11 Dec 2012 21:59:22 +0000 (23:59 +0200)]
discover: heuristics for detecting bluetooth port availability

11 years agoscripting: fixing assertion on unknown stream class
Jaska Uimonen [Tue, 11 Dec 2012 21:17:10 +0000 (23:17 +0200)]
scripting: fixing assertion on unknown stream class

11 years agomore bus fixes
Jaska Uimonen [Tue, 11 Dec 2012 18:19:11 +0000 (20:19 +0200)]
more bus fixes

11 years agoutils: guessing bus type for alsa cards if device.bus property were not set
Jaska Uimonen [Thu, 13 Dec 2012 21:14:37 +0000 (23:14 +0200)]
utils: guessing bus type for alsa cards if device.bus property were not set

11 years agodiscover: fix card bus detection
Jaska Uimonen [Tue, 11 Dec 2012 16:44:37 +0000 (18:44 +0200)]
discover: fix card bus detection

For some reason, if pulseaudio stared just after udevd, the
device.bus property on cards are not set. Consequently the
card got ignored.

The workoround is the introduction of pa_utils_get_card_bus()
function that tries to guess the bus from the card name if
device.bus property were missing.

The original property readinds were replaced with calls to
pa_utils_get_card_bus() in discovery.c

11 years agobuild: fixing missing cflags for module-augment building
Jaska Uimonen [Tue, 11 Dec 2012 00:05:59 +0000 (02:05 +0200)]
build: fixing missing cflags for module-augment building

11 years agocompile: add fake config.h also for combine & augment directories
Jaska Uimonen [Mon, 10 Dec 2012 23:58:15 +0000 (01:58 +0200)]
compile: add fake config.h also for combine & augment directories

11 years agocompile: eliminate multiple typedef's for pa_card & pa_sink
Jaska Uimonen [Mon, 10 Dec 2012 23:53:40 +0000 (01:53 +0200)]
compile: eliminate multiple typedef's for pa_card & pa_sink

11 years agofixing bugs after merging scripting and external api
Jaska Uimonen [Mon, 10 Dec 2012 19:28:48 +0000 (21:28 +0200)]
fixing bugs after merging scripting and external api

11 years agonode-manager: adding support for pulse ext api to manage nodes
Jaska Uimonen [Tue, 4 Dec 2012 11:23:07 +0000 (13:23 +0200)]
node-manager: adding support for pulse ext api to manage nodes

11 years agodiscover: cosmetics
Janos Kovacs [Mon, 10 Dec 2012 01:18:51 +0000 (03:18 +0200)]
discover: cosmetics

11 years agoconfiguration: add application classes and volume control to basic script
Janos Kovacs [Mon, 10 Dec 2012 01:17:48 +0000 (03:17 +0200)]
configuration: add application classes and volume control to basic script

11 years agoscripting: add scriptability for application classes and volume control
Janos Kovacs [Mon, 10 Dec 2012 01:15:24 +0000 (03:15 +0200)]
scripting: add scriptability for application classes and volume control

11 years agovolume, config: prepare for scriptability
Janos Kovacs [Mon, 10 Dec 2012 01:11:20 +0000 (03:11 +0200)]
volume, config: prepare for scriptability

11 years agovolume: fix memory misallocations
Janos Kovacs [Mon, 10 Dec 2012 01:07:27 +0000 (03:07 +0200)]
volume: fix memory misallocations

11 years agoconfiguration: add configuration/scripting for routing groups
Janos Kovacs [Thu, 6 Dec 2012 03:43:31 +0000 (05:43 +0200)]
configuration: add configuration/scripting for routing groups

11 years agobuild: add scripting
Janos Kovacs [Thu, 6 Dec 2012 03:33:35 +0000 (05:33 +0200)]
build: add scripting

11 years agoscripting: add basic scripting + scripting support for nodes and routing groups
Janos Kovacs [Thu, 6 Dec 2012 03:29:58 +0000 (05:29 +0200)]
scripting: add basic scripting + scripting support for nodes and routing groups

11 years agoutils: add directory support to pa_utils_file_path()
Janos Kovacs [Thu, 6 Dec 2012 03:25:21 +0000 (05:25 +0200)]
utils: add directory support to pa_utils_file_path()

11 years agobluetooth fixes for ports
Jaska Uimonen [Mon, 26 Nov 2012 12:02:49 +0000 (14:02 +0200)]
bluetooth fixes for ports

11 years agorouting: update routing.table property when a node is deleted
Janos Kovacs [Wed, 3 Oct 2012 21:27:57 +0000 (00:27 +0300)]
routing: update routing.table property when a node is deleted

11 years agorouting: fix crash caused by loopback
Janos Kovacs [Wed, 3 Oct 2012 19:08:33 +0000 (22:08 +0300)]
routing: fix crash caused by loopback

The rtentry member in node struct was used either as a
listhead for routing entry list or as a link entry for the
list of default routed streams. However, looped back input nodes
behave both as device and stream nodes. As a result the same
rtentry was used improperly in two different linked list and
eventually lead to mysterious crashes. This problem is fixed
by adding a new list entry (rtprilist) to the node struct.
rtprilist is used to chain the default routed streams.

11 years agorouter: fix for uninitialized state variable
Janos Kovacs [Tue, 2 Oct 2012 10:24:59 +0000 (13:24 +0300)]
router: fix for uninitialized state variable

an uninitilized state variable caused random crashes when
iterating through routing tables.

11 years agorouting: looped back output devices are routed correctly
Jaska Uimonen [Thu, 16 Aug 2012 18:38:19 +0000 (21:38 +0300)]
routing: looped back output devices are routed correctly

11 years agodiscovery: schedule deferred routing when BT card turned off
Janos Kovacs [Thu, 16 Aug 2012 00:32:17 +0000 (03:32 +0300)]
discovery: schedule deferred routing when BT card turned off

11 years agorouting: add media role based latencies for loopback routes
Janos Kovacs [Wed, 15 Aug 2012 23:47:58 +0000 (02:47 +0300)]
routing: add media role based latencies for loopback routes

11 years agovolume control: smooth fade in/out transition
Janos Kovacs [Wed, 15 Aug 2012 23:03:59 +0000 (02:03 +0300)]
volume control: smooth fade in/out transition

11 years agodiscovery: fix crash at node key generation
Jaska Uimonen [Wed, 15 Aug 2012 12:17:17 +0000 (15:17 +0300)]
discovery: fix crash at node key generation

11 years agobuild: fix unused/unset variables and other compilation warnings
Janos Kovacs [Tue, 14 Aug 2012 09:41:32 +0000 (12:41 +0300)]
build: fix unused/unset variables and other compilation warnings

11 years agodiscovery: add support for stream output (i.e. source-ouput in PA terms)
Janos Kovacs [Tue, 14 Aug 2012 01:34:38 +0000 (04:34 +0300)]
discovery: add support for stream output (i.e. source-ouput in PA terms)

11 years agodiscovery: add loopback support for sinks
Janos Kovacs [Sun, 12 Aug 2012 20:01:07 +0000 (23:01 +0300)]
discovery: add loopback support for sinks

11 years agovolume: volume limit support for loopback
Janos Kovacs [Sun, 12 Aug 2012 18:36:32 +0000 (21:36 +0300)]
volume: volume limit support for loopback

11 years agoswitch: add support for default input routes
Janos Kovacs [Sun, 12 Aug 2012 14:40:17 +0000 (17:40 +0300)]
switch: add support for default input routes

11 years agorouting: add infrastructure to default input routing
Janos Kovacs [Sun, 12 Aug 2012 08:06:02 +0000 (11:06 +0300)]
routing: add infrastructure to default input routing

11 years agorouting: deleting some dead code
Janos Kovacs [Sat, 11 Aug 2012 12:27:01 +0000 (15:27 +0300)]
routing: deleting some dead code

11 years agorouting: enable carkit default routing
Janos Kovacs [Fri, 10 Aug 2012 21:19:12 +0000 (00:19 +0300)]
routing: enable carkit default routing

11 years agodiscovery: add defered sink/source discovery for externally changed profiles
Janos Kovacs [Fri, 10 Aug 2012 21:17:16 +0000 (00:17 +0300)]
discovery: add defered sink/source discovery for externally changed profiles

11 years agocalssification: more heuristics to guess bluetooth device classes
Janos Kovacs [Tue, 7 Aug 2012 21:44:18 +0000 (00:44 +0300)]
calssification: more heuristics to guess bluetooth device classes

11 years agorouting: change combine sink resampler to speex-fixed-3 to eliminate crashes
Janos Kovacs [Tue, 7 Aug 2012 20:22:10 +0000 (23:22 +0300)]
routing: change combine sink resampler to speex-fixed-3 to eliminate crashes

11 years agorouting: set correct routing class when reinstating a default stream
Janos Kovacs [Tue, 7 Aug 2012 09:52:08 +0000 (12:52 +0300)]
routing: set correct routing class when reinstating a default stream

11 years agorouting: set media.role property on multiplex streams
Janos Kovacs [Tue, 7 Aug 2012 09:37:54 +0000 (12:37 +0300)]
routing: set media.role property on multiplex streams

11 years agorouting: add support for loopback routing
Janos Kovacs [Tue, 7 Aug 2012 07:50:22 +0000 (10:50 +0300)]
routing: add support for loopback routing

11 years agodiscovery: manage loopbacks
Janos Kovacs [Mon, 6 Aug 2012 20:22:04 +0000 (23:22 +0300)]
discovery: manage loopbacks

11 years agodiscovery: add new device types mir_bluetooth_carkit
Janos Kovacs [Sun, 5 Aug 2012 16:13:00 +0000 (19:13 +0300)]
discovery: add new device types mir_bluetooth_carkit

11 years agodiscovery: add new device types mir_bluetooth_[sink|source]
Janos Kovacs [Sun, 5 Aug 2012 15:17:37 +0000 (18:17 +0300)]
discovery: add new device types mir_bluetooth_[sink|source]

11 years agorouting: add loopback support to nodes
Janos Kovacs [Sun, 5 Aug 2012 13:07:05 +0000 (16:07 +0300)]
routing: add loopback support to nodes

11 years agorouting: add loopback module
Janos Kovacs [Sun, 5 Aug 2012 10:54:21 +0000 (13:54 +0300)]
routing: add loopback module

12 years agocompilation: fixing unitialized variables
Janos Kovacs [Mon, 23 Jul 2012 23:22:12 +0000 (02:22 +0300)]
compilation: fixing unitialized variables

12 years agoaugmenting: module-augment-properties take into use module-dir-watch
Janos Kovacs [Mon, 23 Jul 2012 22:09:49 +0000 (01:09 +0300)]
augmenting: module-augment-properties take into use module-dir-watch

12 years agoaugmenting: introducing module-dir-watch for watching file changes
Janos Kovacs [Mon, 23 Jul 2012 22:02:47 +0000 (01:02 +0300)]
augmenting: introducing module-dir-watch for watching file changes

12 years agoaugmenting: add support for more configuration
Janos Kovacs [Mon, 23 Jul 2012 21:26:49 +0000 (00:26 +0300)]
augmenting: add support for more configuration

12 years agoaugmenting: module-augment-properties copied from PA
Janos Kovacs [Mon, 23 Jul 2012 21:13:08 +0000 (00:13 +0300)]
augmenting: module-augment-properties copied from PA

12 years agoaudiomanager: fix crash at unload time
Janos Kovacs [Mon, 16 Jul 2012 17:47:47 +0000 (20:47 +0300)]
audiomanager: fix crash at unload time

12 years agovolume: mute undefined classes only
Janos Kovacs [Mon, 16 Jul 2012 17:32:39 +0000 (20:32 +0300)]
volume: mute undefined classes only

12 years agorouting: eliminate assertion at sample playback
Janos Kovacs [Mon, 16 Jul 2012 14:24:29 +0000 (17:24 +0300)]
routing: eliminate assertion at sample playback

12 years agorouting: restore default route if no route would remain
Janos Kovacs [Sun, 10 Jun 2012 20:52:02 +0000 (23:52 +0300)]
routing: restore default route if no route would remain

12 years agoaudiomanager: register/unregister sinks based on port availability
Janos Kovacs [Sun, 10 Jun 2012 19:21:34 +0000 (22:21 +0300)]
audiomanager: register/unregister sinks based on port availability

12 years agorouting: jack detection + port switch
Janos Kovacs [Sun, 10 Jun 2012 01:17:21 +0000 (04:17 +0300)]
routing: jack detection + port switch

12 years agodbus config to allow only user pulse
Jaska Uimonen [Fri, 8 Jun 2012 19:44:02 +0000 (22:44 +0300)]
dbus config to allow only user pulse

12 years agolicensing: AUTHORS, LICENSE + license headers for each *.[hc]
Janos Kovacs [Wed, 6 Jun 2012 21:59:53 +0000 (00:59 +0300)]
licensing: AUTHORS, LICENSE + license headers for each *.[hc]

12 years agobuild: making dbus usage optional, by default a socket interface is used
Janos Kovacs [Wed, 6 Jun 2012 18:12:36 +0000 (21:12 +0300)]
build: making dbus usage optional, by default a socket interface is used

12 years agocompilation: added a missing header file to discover.c
Janos Kovacs [Wed, 6 Jun 2012 13:14:40 +0000 (16:14 +0300)]
compilation: added a missing header file to discover.c

12 years agopackaging: removed from master
Janos Kovacs [Wed, 6 Jun 2012 11:33:34 +0000 (14:33 +0300)]
packaging: removed from master

12 years agocleanup: removing the outdated exemple directory
Janos Kovacs [Wed, 6 Jun 2012 11:14:58 +0000 (14:14 +0300)]
cleanup: removing the outdated exemple directory

12 years agodocumentation: adding the missing Makefile.am
Janos Kovacs [Tue, 5 Jun 2012 19:09:41 +0000 (22:09 +0300)]
documentation: adding the missing Makefile.am

12 years agorouting: fixing a bug that occured when USB headset was disconnected
Jaska Uimonen [Tue, 5 Jun 2012 18:24:14 +0000 (21:24 +0300)]
routing: fixing a bug that occured when USB headset was disconnected

12 years agodocumentation: framework setup
Janos Kovacs [Tue, 5 Jun 2012 00:18:23 +0000 (03:18 +0300)]
documentation: framework setup

12 years agobuild: add shaving
Janos Kovacs [Mon, 4 Jun 2012 20:18:39 +0000 (23:18 +0300)]
build: add shaving

12 years agovolume control: second part
Jaska Uimonen [Mon, 4 Jun 2012 17:17:09 +0000 (20:17 +0300)]
volume control: second part

12 years agovolumecontrol: first part
Janos Kovacs [Sun, 3 Jun 2012 00:14:09 +0000 (03:14 +0300)]
volumecontrol: first part

12 years agorouter: fixed constraints in multirouting
Jaska Uimonen [Fri, 1 Jun 2012 15:40:57 +0000 (18:40 +0300)]
router: fixed constraints in multirouting

12 years agorouting: adding constraint to handle BT profiles and ALSA ports correctly
Janos Kovacs [Fri, 1 Jun 2012 09:50:46 +0000 (12:50 +0300)]
routing: adding constraint to handle BT profiles and ALSA ports correctly

12 years agorouter: fix for bluetooth disappearing causing assert in combine
Jaska Uimonen [Thu, 31 May 2012 19:12:23 +0000 (22:12 +0300)]
router: fix for bluetooth disappearing causing assert in combine

12 years agorouter: Fix for multiplex default routing
Jaska Uimonen [Wed, 30 May 2012 15:58:28 +0000 (18:58 +0300)]
router: Fix for multiplex default routing

12 years agodbus: allow to use D-Bus system bus
Janos Kovacs [Tue, 29 May 2012 12:51:28 +0000 (15:51 +0300)]
dbus: allow to use D-Bus system bus

* at module load the dbus_bus_type parameter can be either 'session' or
  'system'. module-murphy-ivi will use the specified bus
* a widely open dbus configuration file is provided

12 years agorouter: support for multiplex routing with combine module
Jaska Uimonen [Mon, 28 May 2012 18:05:44 +0000 (21:05 +0300)]
router: support for multiplex routing with combine module

12 years agoMerge branch 'genivi-mir' of github.com:otcshare/policy-misc into genivi-mir
Jaska Uimonen [Mon, 28 May 2012 10:52:14 +0000 (13:52 +0300)]
Merge branch 'genivi-mir' of github.com:otcshare/policy-misc into genivi-mir

12 years agorouting: explicit routing in module-murphy-ivi
Janos Kovacs [Mon, 28 May 2012 08:56:31 +0000 (11:56 +0300)]
routing: explicit routing in module-murphy-ivi

* in case of multiplexed streams it logs it without actually doing it
* counterpart in combine not implemented yet
* integration with combine is missing

12 years agoSmall fix for not using the sink input pointer before checking it.
Jaska Uimonen [Mon, 28 May 2012 08:14:50 +0000 (11:14 +0300)]
Small fix for not using the sink input pointer before checking it.

12 years agorouting: routing of multiplexed streams + initial synchronisation
Janos Kovacs [Sat, 26 May 2012 16:06:12 +0000 (19:06 +0300)]
routing: routing of multiplexed streams + initial synchronisation

* as discover grew too big some part of it was moved to classify.[hc]
* for supporting the initial synchronisation the 'register' method got invented
* the switch now copes with multiplexed streams

12 years agorouting: for multiplexing we load the modified combine for new streams
Janos Kovacs [Fri, 25 May 2012 19:52:08 +0000 (22:52 +0300)]
routing: for multiplexing we load the modified combine for new streams

12 years agorouting: next step towards multiplexing input streams
Janos Kovacs [Fri, 25 May 2012 14:30:08 +0000 (17:30 +0300)]
routing: next step towards multiplexing input streams

Lifted the combine-sink module temporarily over as it will be patched
When we are ready with it the patch will be added to the upstream PA
and we will attempt to upstream it.

12 years agoDeleted generated files.
Ismo Puustinen [Fri, 25 May 2012 12:08:13 +0000 (15:08 +0300)]
Deleted generated files.

12 years agorouting: first steps towards multiplexing input streams
Janos Kovacs [Fri, 25 May 2012 01:14:04 +0000 (04:14 +0300)]
routing: first steps towards multiplexing input streams

* filters in discover to treat combine sinks/sink-inputs differently
* moving to the new naming (ie. module-murphy-ivi) and change the src
  to murphy. The later was needed to make room for other source
  directories to accomodate the hacked version of combine module

12 years agodbusif: using dbus_xxx types instead of pa_xxx and stdint types
Jaska Uimonen [Thu, 24 May 2012 17:53:27 +0000 (20:53 +0300)]
dbusif: using dbus_xxx types instead of pa_xxx and stdint types

12 years agorouting: honorig audiomanager connects/disconnects
Janos Kovacs [Wed, 23 May 2012 22:40:05 +0000 (01:40 +0300)]
routing: honorig audiomanager connects/disconnects

This is just for demo purposes. The routing actually happens
but it is not persistent ie. the next default routing will
override it (eg. when plugging in a USB headset).

we will need to add explicit routes to work this properly.

12 years agorouting: routing group for phones added
Janos Kovacs [Wed, 23 May 2012 21:33:38 +0000 (00:33 +0300)]
routing: routing group for phones added

12 years agorouter: routing table lists are added/maintained as module properties
Janos Kovacs [Wed, 23 May 2012 20:52:35 +0000 (23:52 +0300)]
router: routing table lists are added/maintained as module properties

12 years agobluetooth: fix for headsets coming up with 'off' profile
Janos Kovacs [Wed, 23 May 2012 18:17:37 +0000 (21:17 +0300)]
bluetooth: fix for headsets coming up with 'off' profile

Some BT headsets, eg. Sony Ericsson, the default profile is not
active and therefore PA eventually switches to the off profile.
So we end up with aBT card with no sinks/sources. The switchoff
happens between card hook firing and the module load ending.

Since our routing requests are tightened to the appearance/disappearance
of sinks/sources, such BT devices will not trigger any routing request
when it gets connected. Unfortunatelly there is no hook in PA for
module load.

The workaround is that we schedule a deferred check what will be executed
next time PA goes back to the mainloop after the BT module load is complete
(ie. not too significant delays).

In the check routine we find out how many sinks/sources the recently loaded
bluetooth card has, and if none we make a routing than.

Beautiful, isn't it?

12 years agobuild: even more pedantic elimination :)
Janos Kovacs [Wed, 23 May 2012 15:54:10 +0000 (18:54 +0300)]
build: even more pedantic elimination :)

12 years agobuild: more pendantic error elimination ...
Janos Kovacs [Wed, 23 May 2012 15:49:18 +0000 (18:49 +0300)]
build: more pendantic error elimination ...