profile/ivi/pulseaudio-module-murphy-ivi.git
12 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.

12 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

12 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

12 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

12 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

12 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

12 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

12 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)

12 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

12 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

12 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

12 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

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

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

12 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

12 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

12 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

12 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

12 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

12 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

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

12 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

12 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]

12 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

12 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 ...

12 years agobuild: getting rid of pedantic errors (at least some)
Janos Kovacs [Wed, 23 May 2012 15:41:22 +0000 (18:41 +0300)]
build: getting rid of pedantic errors (at least some)

12 years agorouting: null sink support added to make sure there is always a routing target
Janos Kovacs [Wed, 23 May 2012 00:23:12 +0000 (03:23 +0300)]
routing: null sink support added to make sure there is always a routing target

12 years agorouting: blutooth works with profile changings
Janos Kovacs [Tue, 22 May 2012 21:19:55 +0000 (00:19 +0300)]
routing: blutooth works with profile changings

12 years agorouting: first version of routing
Janos Kovacs [Tue, 22 May 2012 10:02:16 +0000 (13:02 +0300)]
routing: first version of routing

* just a 'default' group
* no stream priorities configured
* USB works
* bluetooth profile switching does not

12 years agocleanup: totally getting rid of the olds stuff
Janos Kovacs [Sun, 20 May 2012 21:20:30 +0000 (00:20 +0300)]
cleanup: totally getting rid of the olds stuff

* removed all the obsolete files
* just the new files are present + some old dbus stuff (what is commented out)

12 years agostreams: support for sink-inputs
Janos Kovacs [Sun, 20 May 2012 21:05:30 +0000 (00:05 +0300)]
streams: support for sink-inputs

* primitive built-in stream classification
* creating/destroying the related nodes
* streams are reported to audiomanager
* routing registration is missing (since the whole routing is missing)
* source-output support is still missing

12 years agocleanup: first step to get rid of the old stuff
Janos Kovacs [Sun, 20 May 2012 00:52:42 +0000 (03:52 +0300)]
cleanup: first step to get rid of the old stuff

* what we need is now in the new tracker.[hc] and utils.[hc]
* murphy D-Bus stuff mostly commented out as it had hooks to the old stuff
* the obsolete modules (ie. .c files) are not built any more but still
  present

12 years agoaudiomanager: sink/source registration/deregistration
Janos Kovacs [Sat, 19 May 2012 16:42:45 +0000 (19:42 +0300)]
audiomanager: sink/source registration/deregistration

12 years agoplugnplay: card detection
Janos Kovacs [Fri, 18 May 2012 08:50:00 +0000 (11:50 +0300)]
plugnplay: card detection

12 years agodiscover: skeleton for routing target discovery
Janos Kovacs [Wed, 16 May 2012 16:09:46 +0000 (19:09 +0300)]
discover: skeleton for routing target discovery

12 years agopaketisation: getting rid of the *.la files
Janos Kovacs [Wed, 16 May 2012 13:06:12 +0000 (16:06 +0300)]
paketisation: getting rid of the *.la files

12 years agoreplying AudioManager method calls; getting 'connect' and 'disconnect' work
Janos Kovacs [Tue, 15 May 2012 18:58:08 +0000 (21:58 +0300)]
replying AudioManager method calls; getting 'connect' and 'disconnect' work

12 years agosending the correct domain rtegistration; getting the method calls
Janos Kovacs [Tue, 15 May 2012 01:02:47 +0000 (04:02 +0300)]
sending the correct domain rtegistration; getting the method calls

12 years agosource registration, domain registration completion, D-Bus name acquisition
Janos Kovacs [Mon, 14 May 2012 18:56:29 +0000 (21:56 +0300)]
source registration, domain registration completion, D-Bus name acquisition

12 years agogetting the dbus thing actually work
Janos Kovacs [Mon, 14 May 2012 09:09:51 +0000 (12:09 +0300)]
getting the dbus thing actually work

12 years agosink registration to AudioManager + D-Bus infrastructure refinements
Janos Kovacs [Mon, 14 May 2012 03:12:07 +0000 (06:12 +0300)]
sink registration to AudioManager + D-Bus infrastructure refinements

12 years agodomain registration to AudioManager
Janos Kovacs [Sun, 13 May 2012 16:31:01 +0000 (19:31 +0300)]
domain registration to AudioManager

12 years agoinitial commit
Janos Kovacs [Sun, 13 May 2012 11:01:33 +0000 (14:01 +0300)]
initial commit