Jaska Uimonen [Wed, 12 Dec 2012 15:32:10 +0000 (17:32 +0200)]
volume: debug printout for volume table calculations
Jaska Uimonen [Tue, 11 Dec 2012 22:15:18 +0000 (00:15 +0200)]
scripting: more fixing assertion on unknown stream class
Jaska Uimonen [Tue, 11 Dec 2012 21:59:22 +0000 (23:59 +0200)]
discover: heuristics for detecting bluetooth port availability
Jaska Uimonen [Tue, 11 Dec 2012 21:17:10 +0000 (23:17 +0200)]
scripting: fixing assertion on unknown stream class
Jaska Uimonen [Tue, 11 Dec 2012 18:19:11 +0000 (20:19 +0200)]
more bus fixes
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
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
Jaska Uimonen [Tue, 11 Dec 2012 00:05:59 +0000 (02:05 +0200)]
build: fixing missing cflags for module-augment building
Jaska Uimonen [Mon, 10 Dec 2012 23:58:15 +0000 (01:58 +0200)]
compile: add fake config.h also for combine & augment directories
Jaska Uimonen [Mon, 10 Dec 2012 23:53:40 +0000 (01:53 +0200)]
compile: eliminate multiple typedef's for pa_card & pa_sink
Jaska Uimonen [Mon, 10 Dec 2012 19:28:48 +0000 (21:28 +0200)]
fixing bugs after merging scripting and external api
Jaska Uimonen [Tue, 4 Dec 2012 11:23:07 +0000 (13:23 +0200)]
node-manager: adding support for pulse ext api to manage nodes
Janos Kovacs [Mon, 10 Dec 2012 01:18:51 +0000 (03:18 +0200)]
discover: cosmetics
Janos Kovacs [Mon, 10 Dec 2012 01:17:48 +0000 (03:17 +0200)]
configuration: add application classes and volume control to basic script
Janos Kovacs [Mon, 10 Dec 2012 01:15:24 +0000 (03:15 +0200)]
scripting: add scriptability for application classes and volume control
Janos Kovacs [Mon, 10 Dec 2012 01:11:20 +0000 (03:11 +0200)]
volume, config: prepare for scriptability
Janos Kovacs [Mon, 10 Dec 2012 01:07:27 +0000 (03:07 +0200)]
volume: fix memory misallocations
Janos Kovacs [Thu, 6 Dec 2012 03:43:31 +0000 (05:43 +0200)]
configuration: add configuration/scripting for routing groups
Janos Kovacs [Thu, 6 Dec 2012 03:33:35 +0000 (05:33 +0200)]
build: add scripting
Janos Kovacs [Thu, 6 Dec 2012 03:29:58 +0000 (05:29 +0200)]
scripting: add basic scripting + scripting support for nodes and routing groups
Janos Kovacs [Thu, 6 Dec 2012 03:25:21 +0000 (05:25 +0200)]
utils: add directory support to pa_utils_file_path()
Jaska Uimonen [Mon, 26 Nov 2012 12:02:49 +0000 (14:02 +0200)]
bluetooth fixes for ports
Janos Kovacs [Wed, 3 Oct 2012 21:27:57 +0000 (00:27 +0300)]
routing: update routing.table property when a node is deleted
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.
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.
Jaska Uimonen [Thu, 16 Aug 2012 18:38:19 +0000 (21:38 +0300)]
routing: looped back output devices are routed correctly
Janos Kovacs [Thu, 16 Aug 2012 00:32:17 +0000 (03:32 +0300)]
discovery: schedule deferred routing when BT card turned off
Janos Kovacs [Wed, 15 Aug 2012 23:47:58 +0000 (02:47 +0300)]
routing: add media role based latencies for loopback routes
Janos Kovacs [Wed, 15 Aug 2012 23:03:59 +0000 (02:03 +0300)]
volume control: smooth fade in/out transition
Jaska Uimonen [Wed, 15 Aug 2012 12:17:17 +0000 (15:17 +0300)]
discovery: fix crash at node key generation
Janos Kovacs [Tue, 14 Aug 2012 09:41:32 +0000 (12:41 +0300)]
build: fix unused/unset variables and other compilation warnings
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)
Janos Kovacs [Sun, 12 Aug 2012 20:01:07 +0000 (23:01 +0300)]
discovery: add loopback support for sinks
Janos Kovacs [Sun, 12 Aug 2012 18:36:32 +0000 (21:36 +0300)]
volume: volume limit support for loopback
Janos Kovacs [Sun, 12 Aug 2012 14:40:17 +0000 (17:40 +0300)]
switch: add support for default input routes
Janos Kovacs [Sun, 12 Aug 2012 08:06:02 +0000 (11:06 +0300)]
routing: add infrastructure to default input routing
Janos Kovacs [Sat, 11 Aug 2012 12:27:01 +0000 (15:27 +0300)]
routing: deleting some dead code
Janos Kovacs [Fri, 10 Aug 2012 21:19:12 +0000 (00:19 +0300)]
routing: enable carkit default routing
Janos Kovacs [Fri, 10 Aug 2012 21:17:16 +0000 (00:17 +0300)]
discovery: add defered sink/source discovery for externally changed profiles
Janos Kovacs [Tue, 7 Aug 2012 21:44:18 +0000 (00:44 +0300)]
calssification: more heuristics to guess bluetooth device classes
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
Janos Kovacs [Tue, 7 Aug 2012 09:52:08 +0000 (12:52 +0300)]
routing: set correct routing class when reinstating a default stream
Janos Kovacs [Tue, 7 Aug 2012 09:37:54 +0000 (12:37 +0300)]
routing: set media.role property on multiplex streams
Janos Kovacs [Tue, 7 Aug 2012 07:50:22 +0000 (10:50 +0300)]
routing: add support for loopback routing
Janos Kovacs [Mon, 6 Aug 2012 20:22:04 +0000 (23:22 +0300)]
discovery: manage loopbacks
Janos Kovacs [Sun, 5 Aug 2012 16:13:00 +0000 (19:13 +0300)]
discovery: add new device types mir_bluetooth_carkit
Janos Kovacs [Sun, 5 Aug 2012 15:17:37 +0000 (18:17 +0300)]
discovery: add new device types mir_bluetooth_[sink|source]
Janos Kovacs [Sun, 5 Aug 2012 13:07:05 +0000 (16:07 +0300)]
routing: add loopback support to nodes
Janos Kovacs [Sun, 5 Aug 2012 10:54:21 +0000 (13:54 +0300)]
routing: add loopback module
Janos Kovacs [Mon, 23 Jul 2012 23:22:12 +0000 (02:22 +0300)]
compilation: fixing unitialized variables
Janos Kovacs [Mon, 23 Jul 2012 22:09:49 +0000 (01:09 +0300)]
augmenting: module-augment-properties take into use module-dir-watch
Janos Kovacs [Mon, 23 Jul 2012 22:02:47 +0000 (01:02 +0300)]
augmenting: introducing module-dir-watch for watching file changes
Janos Kovacs [Mon, 23 Jul 2012 21:26:49 +0000 (00:26 +0300)]
augmenting: add support for more configuration
Janos Kovacs [Mon, 23 Jul 2012 21:13:08 +0000 (00:13 +0300)]
augmenting: module-augment-properties copied from PA
Janos Kovacs [Mon, 16 Jul 2012 17:47:47 +0000 (20:47 +0300)]
audiomanager: fix crash at unload time
Janos Kovacs [Mon, 16 Jul 2012 17:32:39 +0000 (20:32 +0300)]
volume: mute undefined classes only
Janos Kovacs [Mon, 16 Jul 2012 14:24:29 +0000 (17:24 +0300)]
routing: eliminate assertion at sample playback
Janos Kovacs [Sun, 10 Jun 2012 20:52:02 +0000 (23:52 +0300)]
routing: restore default route if no route would remain
Janos Kovacs [Sun, 10 Jun 2012 19:21:34 +0000 (22:21 +0300)]
audiomanager: register/unregister sinks based on port availability
Janos Kovacs [Sun, 10 Jun 2012 01:17:21 +0000 (04:17 +0300)]
routing: jack detection + port switch
Jaska Uimonen [Fri, 8 Jun 2012 19:44:02 +0000 (22:44 +0300)]
dbus config to allow only user pulse
Janos Kovacs [Wed, 6 Jun 2012 21:59:53 +0000 (00:59 +0300)]
licensing: AUTHORS, LICENSE + license headers for each *.[hc]
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
Janos Kovacs [Wed, 6 Jun 2012 13:14:40 +0000 (16:14 +0300)]
compilation: added a missing header file to discover.c
Janos Kovacs [Wed, 6 Jun 2012 11:33:34 +0000 (14:33 +0300)]
packaging: removed from master
Janos Kovacs [Wed, 6 Jun 2012 11:14:58 +0000 (14:14 +0300)]
cleanup: removing the outdated exemple directory
Janos Kovacs [Tue, 5 Jun 2012 19:09:41 +0000 (22:09 +0300)]
documentation: adding the missing Makefile.am
Jaska Uimonen [Tue, 5 Jun 2012 18:24:14 +0000 (21:24 +0300)]
routing: fixing a bug that occured when USB headset was disconnected
Janos Kovacs [Tue, 5 Jun 2012 00:18:23 +0000 (03:18 +0300)]
documentation: framework setup
Janos Kovacs [Mon, 4 Jun 2012 20:18:39 +0000 (23:18 +0300)]
build: add shaving
Jaska Uimonen [Mon, 4 Jun 2012 17:17:09 +0000 (20:17 +0300)]
volume control: second part
Janos Kovacs [Sun, 3 Jun 2012 00:14:09 +0000 (03:14 +0300)]
volumecontrol: first part
Jaska Uimonen [Fri, 1 Jun 2012 15:40:57 +0000 (18:40 +0300)]
router: fixed constraints in multirouting
Janos Kovacs [Fri, 1 Jun 2012 09:50:46 +0000 (12:50 +0300)]
routing: adding constraint to handle BT profiles and ALSA ports correctly
Jaska Uimonen [Thu, 31 May 2012 19:12:23 +0000 (22:12 +0300)]
router: fix for bluetooth disappearing causing assert in combine
Jaska Uimonen [Wed, 30 May 2012 15:58:28 +0000 (18:58 +0300)]
router: Fix for multiplex default routing
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
Jaska Uimonen [Mon, 28 May 2012 18:05:44 +0000 (21:05 +0300)]
router: support for multiplex routing with combine module
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
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
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.
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
Janos Kovacs [Fri, 25 May 2012 19:52:08 +0000 (22:52 +0300)]
routing: for multiplexing we load the modified combine for new 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.
Ismo Puustinen [Fri, 25 May 2012 12:08:13 +0000 (15:08 +0300)]
Deleted generated files.
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
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
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.
Janos Kovacs [Wed, 23 May 2012 21:33:38 +0000 (00:33 +0300)]
routing: routing group for phones added
Janos Kovacs [Wed, 23 May 2012 20:52:35 +0000 (23:52 +0300)]
router: routing table lists are added/maintained as module properties
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?
Janos Kovacs [Wed, 23 May 2012 15:54:10 +0000 (18:54 +0300)]
build: even more pedantic elimination :)
Janos Kovacs [Wed, 23 May 2012 15:49:18 +0000 (18:49 +0300)]
build: more pendantic error elimination ...
Janos Kovacs [Wed, 23 May 2012 15:41:22 +0000 (18:41 +0300)]
build: getting rid of pedantic errors (at least some)
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
Janos Kovacs [Tue, 22 May 2012 21:19:55 +0000 (00:19 +0300)]
routing: blutooth works with profile changings
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
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)
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
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