profile/ivi/speech-recognition.git
9 years agosphinx: fix a few incorrect mrp_debug usages.
Krisztian Litkey [Tue, 16 Dec 2014 15:54:47 +0000 (17:54 +0200)]
sphinx: fix a few incorrect mrp_debug usages.

9 years agow3c-speech: fix mismatched event name.
Amarnath Valluri [Tue, 25 Nov 2014 12:51:19 +0000 (14:51 +0200)]
w3c-speech: fix mismatched event name.

9 years agonative-client: change to use unix domain socket by default.
Krisztian Litkey [Tue, 28 Oct 2014 14:36:16 +0000 (16:36 +0200)]
native-client: change to use unix domain socket by default.

9 years agow3c-speech: don't compile w3c-message.c.
Krisztian Litkey [Fri, 7 Nov 2014 13:12:45 +0000 (15:12 +0200)]
w3c-speech: don't compile w3c-message.c.

9 years agow3c-speech: initial W3C speech API plugin and test client implementation.
Krisztian Litkey [Fri, 10 Oct 2014 21:28:02 +0000 (00:28 +0300)]
w3c-speech: initial W3C speech API plugin and test client implementation.

The primary purpose of the W3C speech plugin is to server as
the backend for implementing the W3C Speech API for Crosswalk.

See README.protocol for a description of the protocol implemented
by the plugin.

9 years agodaemon: allow synhesizing-only clients to register without commands.
Krisztian Litkey [Wed, 22 Oct 2014 14:18:41 +0000 (17:18 +0300)]
daemon: allow synhesizing-only clients to register without commands.

9 years agosphinx: better please static analyzers.
Krisztian Litkey [Thu, 6 Nov 2014 14:57:13 +0000 (16:57 +0200)]
sphinx: better please static analyzers.

9 years agofestival: fix voice validity/NULL-check thinko.
Krisztian Litkey [Thu, 6 Nov 2014 14:54:07 +0000 (16:54 +0200)]
festival: fix voice validity/NULL-check thinko.

9 years agodbus-client: don't uselessly initialize ncmd with an incorrect thinko.
Krisztian Litkey [Thu, 6 Nov 2014 14:43:58 +0000 (16:43 +0200)]
dbus-client: don't uselessly initialize ncmd with an incorrect thinko.

9 years agobluetooth-client: don't try to dereference potential NULL while checking for the...
Krisztian Litkey [Thu, 6 Nov 2014 14:33:35 +0000 (16:33 +0200)]
bluetooth-client: don't try to dereference potential NULL while checking for the impossible.

9 years agonative-client: don't try to dereference potentially NULL client_t.
Krisztian Litkey [Thu, 6 Nov 2014 14:29:39 +0000 (16:29 +0200)]
native-client: don't try to dereference potentially NULL client_t.

9 years agosphinx: don't try to dereference NULL input_buf_t.
Krisztian Litkey [Thu, 6 Nov 2014 14:25:05 +0000 (16:25 +0200)]
sphinx: don't try to dereference NULL input_buf_t.

9 years agoconfig: don't fall into an infinite loop on error path.
Krisztian Litkey [Thu, 6 Nov 2014 14:18:38 +0000 (16:18 +0200)]
config: don't fall into an infinite loop on error path.

9 years agoresctl: fix a dereference-before-NULL-check.
Krisztian Litkey [Thu, 6 Nov 2014 14:10:54 +0000 (16:10 +0200)]
resctl: fix a dereference-before-NULL-check.

9 years agosphinx: fix an unreachable code thinko.
Krisztian Litkey [Thu, 6 Nov 2014 14:08:51 +0000 (16:08 +0200)]
sphinx: fix an unreachable code thinko.

9 years agoinput-plugin: don't leak fd on error path.
Krisztian Litkey [Thu, 6 Nov 2014 14:05:43 +0000 (16:05 +0200)]
input-plugin: don't leak fd on error path.

9 years agobluetooth-client: initialize render notify cb to NULL.
Krisztian Litkey [Thu, 6 Nov 2014 14:04:00 +0000 (16:04 +0200)]
bluetooth-client: initialize render notify cb to NULL.

9 years agosphinx: assume/use previous log message origin, if we fail to dig out one.
Krisztian Litkey [Sat, 27 Sep 2014 11:31:13 +0000 (14:31 +0300)]
sphinx: assume/use previous log message origin, if we fail to dig out one.

If we fail to dig out a file name from the log message being pushed,
assume the message originated at the same location as the previous
one.

9 years agompris2-client: fix appending strings to D-Bus messages.
Krisztian Litkey [Wed, 24 Sep 2014 19:10:11 +0000 (22:10 +0300)]
mpris2-client: fix appending strings to D-Bus messages.

9 years agobuild: fix build warnings.
Amarnath Valluri [Tue, 23 Sep 2014 11:44:53 +0000 (14:44 +0300)]
build: fix build warnings.

Most of the build warnings are:
- Unused local variables/function arugments/functions
- comparision between signed and unsigned types.

9 years agoplugins/mpris2: dbus clode cleanup
Amarnath Valluri [Wed, 17 Sep 2014 11:40:01 +0000 (14:40 +0300)]
plugins/mpris2: dbus clode cleanup

Changed all 'libdbus' calls to 'mrp-dbus-libdbus' to avoid
direct libdbus dependency.

9 years agoplugins/bluetooth-client: dbus code cleanup.
Amarnath Valluri [Fri, 12 Sep 2014 07:22:15 +0000 (10:22 +0300)]
plugins/bluetooth-client: dbus code cleanup.

Removed direct dependency to 'libdbus'.

9 years agoconfig: api cleanup
Amarnath Valluri [Thu, 11 Sep 2014 12:02:16 +0000 (15:02 +0300)]
config: api cleanup

prefix the api with module name : srs_xxx_config() -> srs_config_xxx()

9 years agoadded gitignore file
Amarnath Valluri [Thu, 11 Sep 2014 11:42:22 +0000 (14:42 +0300)]
added gitignore file

9 years agodaemon: update libmurphy-resource API usage.
Jan Ekström [Fri, 29 Aug 2014 11:04:29 +0000 (14:04 +0300)]
daemon: update libmurphy-resource API usage.

9 years agosample-config: added sample speech-recognition.conf.
Krisztian Litkey [Mon, 30 Jun 2014 15:13:55 +0000 (18:13 +0300)]
sample-config: added sample speech-recognition.conf.

9 years agodoc: added minimal README.md.
Krisztian Litkey [Mon, 30 Jun 2014 15:12:52 +0000 (18:12 +0300)]
doc: added minimal README.md.

9 years agosphinx: changed a few redundant log messages and a printf to debug messages.
Krisztian Litkey [Thu, 5 Jun 2014 14:16:22 +0000 (17:16 +0300)]
sphinx: changed a few redundant log messages and a printf to debug messages.

9 years agoresctl, client: emulate sucessful resource allocation if Murphy is down.
Krisztian Litkey [Wed, 4 Jun 2014 17:07:33 +0000 (20:07 +0300)]
resctl, client: emulate sucessful resource allocation if Murphy is down.

With this patch in place, the server will now try to emulate resource
allocation (acquire/release) handling whenever the resource connection
(IOW connection to Murphy) is down.

This is the first shot at such an emulation. Hence, there are probably
bugs lingering in there... At least there are a few known issues with
handling the corner cases of the murphy-down -> murphy-up transition
with active grants. When murphy comes up we ask for the handed out
resources on behalf of the clients. However at the moment we can't
filter out the resulting focus change events even if there's no change
from the clients point of view. I suspect there might be a few more
serious issues hiding in there as well... more testing required.

As a final note, it might be a good idea to make this configurable at
least that much that those who want can completely turn off emulated
resource acquisition and opt for always failing when the connection
is down.

9 years agosphinx: handle both known message origin formats.
Krisztian Litkey [Wed, 4 Jun 2014 15:46:11 +0000 (18:46 +0300)]
sphinx: handle both known message origin formats.

9 years agodaemon: removed option for listing debug sites.
Krisztian Litkey [Tue, 3 Jun 2014 20:02:55 +0000 (23:02 +0300)]
daemon: removed option for listing debug sites.

9 years agosphinx: proxy site info to the debug infra more sensibly.
Krisztian Litkey [Tue, 3 Jun 2014 20:02:09 +0000 (23:02 +0300)]
sphinx: proxy site info to the debug infra more sensibly.

9 years agosphinx: handle logging multiple empty lines correctly.
Krisztian Litkey [Tue, 3 Jun 2014 15:00:45 +0000 (18:00 +0300)]
sphinx: handle logging multiple empty lines correctly.

9 years agoconfig: allow grouping config settings by key prefix.
Krisztian Litkey [Fri, 30 May 2014 15:34:51 +0000 (18:34 +0300)]
config: allow grouping config settings by key prefix.

You can now group configuration settings together with an
object-like notation. For instance, the following snippet
of configuration

    foo.blah = foobar
    foo.xyz  = zy
    foo.bar.foobar = xyzzy
    foo.bar.barfoo = yaddayadda

can be replaced with the equivalent snippet

    foo = {
        blah = foobar
        xyz  = zy
        bar = {
            foobar = xyzzy
            barfoo = yaddayadda
        }
    }

Internally both will be parsed to an identical representation.
The configuration parser is still the original primitive one.
Grouping has been bolted on top of it in a similarly primitive
manner as syntactic sugar. As a side-effect, if you make any
syntactic errors when using the grouping syntax (IOW nesting or
balancing errors), the resulting error messages probably will
not be very intuitive and in some cases might not help too much
in locating the actual error. Apologies...

9 years agosphinx: better logging and verbosity handling
Krisztian Litkey [Sun, 25 May 2014 22:16:55 +0000 (01:16 +0300)]
sphinx: better logging and verbosity handling

Allow sphinx verbosity and logfile to be controlled by the
sphinx.verbose boolean and sphinx.log string keys. Also if
sphinx.log is set to 'srs', turn verbosity on and log sphinx
messages as murphy debug messages. sphinx warnings are turned
into murphy warnings and the rest (errors, critical errors
and fatal errors) are turned into murphy error messages.

Because we only get the originating file name and the line
number but not the function name where the message was
generated we have to cheat a bit and use 'sphinx' as the file
name and the file name as the originating function name. As a
consequence, you can see all sphinx INFO messages as murphy
debug messages by using the -d @sphinx command line option if
you have set sphinx.log to 'srs' in the config file (or have
passed -s 'sphinx.log=srs' to the daemon on the command line).

10 years agoclient: (re-)request last focus upon resource connection establishment.
Krisztian Litkey [Thu, 22 May 2014 22:03:10 +0000 (01:03 +0300)]
client: (re-)request last focus upon resource connection establishment.

10 years agoespeak: better voice/actor name generation.
Krisztian Litkey [Thu, 22 May 2014 21:41:35 +0000 (00:41 +0300)]
espeak: better voice/actor name generation.

10 years agovoice: slightly better canonical voice name generation.
Krisztian Litkey [Thu, 22 May 2014 21:40:41 +0000 (00:40 +0300)]
voice: slightly better canonical voice name generation.

10 years agobuild-sys: added iso-6391.[hc] for language code to name mapping.
Krisztian Litkey [Thu, 22 May 2014 21:40:16 +0000 (00:40 +0300)]
build-sys: added iso-6391.[hc] for language code to name mapping.

10 years agopulse: fix oneshot event mask thinko.
Krisztian Litkey [Thu, 22 May 2014 21:37:15 +0000 (00:37 +0300)]
pulse: fix oneshot event mask thinko.

10 years agopulse: update fired event mask.
Krisztian Litkey [Wed, 23 Apr 2014 08:39:58 +0000 (11:39 +0300)]
pulse: update fired event mask.

10 years agofestival: migrated over to use the common pulse infra.
Krisztian Litkey [Tue, 22 Apr 2014 12:23:44 +0000 (15:23 +0300)]
festival: migrated over to use the common pulse infra.

10 years agoespeak: migrated over to use the common pulse infra.
Krisztian Litkey [Tue, 22 Apr 2014 12:01:13 +0000 (15:01 +0300)]
espeak: migrated over to use the common pulse infra.

10 years agodaemon: first shot at a basic common pulse interface.
Krisztian Litkey [Tue, 22 Apr 2014 11:49:54 +0000 (14:49 +0300)]
daemon: first shot at a basic common pulse interface.

In an attempt to provide a common PA interface and prevent
plugin-specific ones spreading like wildfire I lifted and
massaged espeak/pulse over as a common one to daemon. In
its current form it's not versatile enough to migrate all
the plugins over (eg. it provides nothing for recording or
tracking sinks) but it should be enough already for the
voice backend plugins.

10 years agoespeak: remove slight direct espeak-awareness from the pulse interface.
Krisztian Litkey [Tue, 22 Apr 2014 10:36:32 +0000 (13:36 +0300)]
espeak: remove slight direct espeak-awareness from the pulse interface.

10 years agoespeak: added an espeak-based text-to-speech plugin. espeak
Krisztian Litkey [Fri, 18 Apr 2014 20:59:38 +0000 (23:59 +0300)]
espeak: added an espeak-based text-to-speech plugin.

10 years agovoice: allow rendering actor to be specified as by 'renderer/name'.
Krisztian Litkey [Fri, 18 Apr 2014 20:52:58 +0000 (23:52 +0300)]
voice: allow rendering actor to be specified as by 'renderer/name'.

We'll need a better approach for selecting actors than a brute
force linear search. Some renderers (eg. the soon to be committed
espeak-based one) provide a huge number of voices. A linear search
over such a number for every render request is not a good idea...

10 years agofestival: don't leak rendered sample buffers.
Krisztian Litkey [Fri, 18 Apr 2014 20:51:01 +0000 (23:51 +0300)]
festival: don't leak rendered sample buffers.

10 years agonative-client: return proper request id from srs_render_voice. master
Krisztian Litkey [Tue, 11 Mar 2014 12:54:54 +0000 (14:54 +0200)]
native-client: return proper request id from srs_render_voice.

10 years agovoice: activate next request is the active one is cancelled.
Krisztian Litkey [Tue, 11 Mar 2014 12:54:11 +0000 (14:54 +0200)]
voice: activate next request is the active one is cancelled.

10 years agodbus-client: test client cancel and help fixes.
Krisztian Litkey [Tue, 11 Mar 2014 12:08:48 +0000 (14:08 +0200)]
dbus-client: test client cancel and help fixes.

10 years agonative-client: test client cancel and help fixes.
Krisztian Litkey [Tue, 11 Mar 2014 12:08:28 +0000 (14:08 +0200)]
native-client: test client cancel and help fixes.

10 years agovoice, festival, client, native-client, dbus-client: add API support for rate and...
Krisztian Litkey [Tue, 11 Mar 2014 12:03:13 +0000 (14:03 +0200)]
voice, festival, client, native-client, dbus-client: add API support for rate and pitch.

10 years agofestival: fix a few unused variable warnings.
Krisztian Litkey [Fri, 17 Jan 2014 13:00:45 +0000 (15:00 +0200)]
festival: fix a few unused variable warnings.

10 years agobuild-sys: no need to install native-messages.h.
Krisztian Litkey [Fri, 17 Jan 2014 12:55:23 +0000 (14:55 +0200)]
build-sys: no need to install native-messages.h.

10 years agonative-client-api: s/typeid/type_id/g for all variable names.
Krisztian Litkey [Fri, 17 Jan 2014 12:48:48 +0000 (14:48 +0200)]
native-client-api: s/typeid/type_id/g for all variable names.

Adjusted to the latest C++-includability changes in native-types
of murphy. Also while at it, changed all typeid variables and
arguments to type_id here.

10 years agofestival: don't prevent autospawning pulseaudio.
Baptiste DURAND [Thu, 16 Jan 2014 15:15:35 +0000 (17:15 +0200)]
festival: don't prevent autospawning pulseaudio.

10 years agosphinx: don't prevent autospawning pulseaudio.
Baptiste DURAND [Thu, 16 Jan 2014 15:15:21 +0000 (17:15 +0200)]
sphinx: don't prevent autospawning pulseaudio.

10 years agobluetooth-client: don't prevent autospawning pulseaudio.
Baptiste DURAND [Thu, 16 Jan 2014 15:15:02 +0000 (17:15 +0200)]
bluetooth-client: don't prevent autospawning pulseaudio.

10 years agodaemon,native-client-api: first shot at socket-based activation.
Krisztian Litkey [Tue, 14 Jan 2014 19:47:41 +0000 (21:47 +0200)]
daemon,native-client-api: first shot at socket-based activation.

This patch adds support for systemd socket-based activation to the
daemon/core and to the native client API plugin. The core part of
the patch adds a new command line option (--sockets/-S) that is
used to specify the order and list of configuration variables to
which the sockets passed in are assigned to. Multiple variables can
be specified as a comma-separated list the order of which must match
the order of Listen* directives in the assocaited systemd socket
file.

The native client API part changes to plugin to use any passed in
socket for the transport, or otherwise use the configured transport
address to create one.

This needs a corresponding fix to the murphy transports to work.

10 years agoconfig: fix int32/uint32 config value validity check.
Krisztian Litkey [Tue, 14 Jan 2014 20:39:10 +0000 (22:39 +0200)]
config: fix int32/uint32 config value validity check.

10 years agonative-client: properly initialize request data.
Krisztian Litkey [Thu, 9 Jan 2014 13:50:02 +0000 (15:50 +0200)]
native-client: properly initialize request data.

10 years agovoice: fix a bunch of compiler warnings.
Krisztian Litkey [Wed, 8 Jan 2014 17:37:31 +0000 (19:37 +0200)]
voice: fix a bunch of compiler warnings.

10 years agobuild-sys: okay, don't install anything doc-ish...
Krisztian Litkey [Wed, 8 Jan 2014 17:05:03 +0000 (19:05 +0200)]
build-sys: okay, don't install anything doc-ish...

10 years agobuild-sys: install some basic doc-like data.
Krisztian Litkey [Sun, 5 Jan 2014 20:25:56 +0000 (22:25 +0200)]
build-sys: install some basic doc-like data.

10 years agobuild-sys: shuffling files around for a development subpackage.
Krisztian Litkey [Sun, 5 Jan 2014 18:18:42 +0000 (20:18 +0200)]
build-sys: shuffling files around for a development subpackage.

10 years agonative-client-api: initial implementation.
Krisztian Litkey [Fri, 20 Dec 2013 14:59:04 +0000 (16:59 +0200)]
native-client-api: initial implementation.

Initial implementation of a 'native' client API, one
that uses plain sockets intead of D-Bus for IPC.

10 years agovoice: timeout is just a request timeout, not a request+render timeout.
Krisztian Litkey [Fri, 20 Dec 2013 14:53:20 +0000 (16:53 +0200)]
voice: timeout is just a request timeout, not a request+render timeout.

10 years agodaemon: separate API-visible parts of the client and voice interfaces.
Krisztian Litkey [Fri, 20 Dec 2013 12:56:03 +0000 (14:56 +0200)]
daemon: separate API-visible parts of the client and voice interfaces.

Don't use SRS_CLIENT_TYPE_DBUS, use SRS_CLIENT_TYPE_EXTERNAL instead.

10 years agosimple-disambiguator: don't crash on NULL candidates.
Krisztian Litkey [Fri, 20 Dec 2013 12:31:16 +0000 (14:31 +0200)]
simple-disambiguator: don't crash on NULL candidates.

10 years agobuild-sys: added githooks to do Change-Id insertion/filtering.
Krisztian Litkey [Fri, 11 Oct 2013 15:42:45 +0000 (18:42 +0300)]
build-sys: added githooks to do Change-Id insertion/filtering.

10 years agorun-voice-test.sh: allow turning on all debugging.
Krisztian Litkey [Fri, 11 Oct 2013 15:39:38 +0000 (18:39 +0300)]
run-voice-test.sh: allow turning on all debugging.

10 years agobuild-sys: minor updates for newer automake.
Krisztian Litkey [Fri, 11 Oct 2013 15:38:31 +0000 (18:38 +0300)]
build-sys: minor updates for newer automake.

10 years agodaemon: get rid of deprecated g_type_init warning.
Krisztian Litkey [Fri, 11 Oct 2013 15:37:35 +0000 (18:37 +0300)]
daemon: get rid of deprecated g_type_init warning.

10 years agodaemon: Murphy/resource interfacing code overhaul.
Krisztian Litkey [Fri, 11 Oct 2013 15:36:46 +0000 (18:36 +0300)]
daemon: Murphy/resource interfacing code overhaul.

10 years agodbus-client-interface: use the new Murphy D-Bus API.
Krisztian Litkey [Tue, 1 Oct 2013 16:49:42 +0000 (19:49 +0300)]
dbus-client-interface: use the new Murphy D-Bus API.

10 years agofestival-loader: preload libraries at most once.
Krisztian Litkey [Tue, 24 Sep 2013 20:13:46 +0000 (23:13 +0300)]
festival-loader: preload libraries at most once.

10 years agodaemon: cleaner source tree detection and valgrind bridging.
Krisztian Litkey [Wed, 18 Sep 2013 13:30:01 +0000 (16:30 +0300)]
daemon: cleaner source tree detection and valgrind bridging.

10 years agodbus-client: changed bus path/interface to coexist with wrt-media-client.
Krisztian Litkey [Wed, 11 Sep 2013 12:49:02 +0000 (15:49 +0300)]
dbus-client: changed bus path/interface to coexist with wrt-media-client.

10 years agowrt-media-client: added a primitive TTS relaying interface.
Krisztian Litkey [Tue, 10 Sep 2013 19:42:53 +0000 (22:42 +0300)]
wrt-media-client: added a primitive TTS relaying interface.

10 years agovoice: add voice/text-to-speech API and a festival-based voice plugin.
Krisztian Litkey [Mon, 26 Aug 2013 08:12:04 +0000 (11:12 +0300)]
voice: add voice/text-to-speech API and a festival-based voice plugin.

This patch takes a first shot at adding voice rendering/text-to-speech
infra to the daemon. The basic API currently support

  - registering voice rendering backends + a set of supported voices
  - unregistering backends
  - querying the set of available voices (for language, dialect, speaker
    gender, age if known, and verbose voice description)
  - requesting text-to-speech rendering using a given voice
  - cancelling an ongoing or queued text-to-speech request

Rendering requests can also provide timeout/queuing preferences as
well as a rendering progress notification callback that can be used
to synchronize voice output with a traditional UI.

Note that, resource/policy integration for TTS is currently missing
altogether.

Also note that upstream libfestival (or more precisely the LISP
interpreter implementation of the Edinburgh speech tools libary) has
a bug which causes an immediate crash of any binary that is dynamically
linked against both libfestival and glibc. The actual bug is the leak
of the symbol 'backtrace' from slib.cc which collides with the backtrace
function of glibc. This symbol should have been declared static in slib
but was not. Because of the name collision, the dynamic linker resolves
it to the address of the function in glibc. In slib backtrace is an
ordinary read-write variable. Obviously bad things happen when slib tries
to change the value of that variable which now actually points to the
code segment of glibc.

The accompanying festival-loader plugin in this patch provides a kludge
to work around this problem without having to patch and recompile all
of festival/the speech tools library. Just load festival-loader before
attempting to load festival-voice and everything should work fine (with
fingers crossed).

10 years agodbus-client: fix plugin copy-pastos.
Krisztian Litkey [Mon, 2 Sep 2013 12:00:23 +0000 (15:00 +0300)]
dbus-client: fix plugin copy-pastos.

10 years agodaemon: don't try to clean up the mainloop twice.
Krisztian Litkey [Wed, 4 Sep 2013 18:57:29 +0000 (21:57 +0300)]
daemon: don't try to clean up the mainloop twice.

10 years agodaemon: detect running from the source tree, valgrind commandline option
Krisztian Litkey [Thu, 29 Aug 2013 22:23:50 +0000 (01:23 +0300)]
daemon: detect running from the source tree, valgrind commandline option

The daemon now tries to detect if it is being run from the source
tree, and change its confguration file and plugin directory defaults
accordingly.

Additionally, the daemon now supports automatically adjusting its
environment (extending LD_LIBRARY_PATH) and re-execing itself under
valgrind if so requested.

10 years agoplugins: context now has pa_mainloop_api not pa_mainloop.
Krisztian Litkey [Mon, 26 Aug 2013 07:48:34 +0000 (10:48 +0300)]
plugins: context now has pa_mainloop_api not pa_mainloop.

10 years agorecognizer: removed unreachable leftover effect code.
Krisztian Litkey [Mon, 26 Aug 2013 09:48:46 +0000 (12:48 +0300)]
recognizer: removed unreachable leftover effect code.

10 years agowrt-media-client: honour bus address config setting.
Krisztian Litkey [Fri, 23 Aug 2013 08:46:37 +0000 (11:46 +0300)]
wrt-media-client: honour bus address config setting.

10 years agodbus-client: macroized config.
Krisztian Litkey [Fri, 23 Aug 2013 08:45:56 +0000 (11:45 +0300)]
dbus-client: macroized config.

10 years agobuild-sys: don't include AUTHORS, ChangeLog et al in install.
Krisztian Litkey [Thu, 22 Aug 2013 10:52:05 +0000 (13:52 +0300)]
build-sys: don't include AUTHORS, ChangeLog et al in install.

10 years agomisc: added a sample config file, script to run the daemon from the source tree.
Krisztian Litkey [Thu, 22 Aug 2013 07:17:23 +0000 (10:17 +0300)]
misc: added a sample config file, script to run the daemon from the source tree.

10 years agodictionaries: added basic demo dictionary.
Krisztian Litkey [Thu, 22 Aug 2013 06:56:05 +0000 (09:56 +0300)]
dictionaries: added basic demo dictionary.

10 years agobuild-sys: fix plugindir typo.
Krisztian Litkey [Thu, 22 Aug 2013 06:02:53 +0000 (09:02 +0300)]
build-sys: fix plugindir typo.

10 years agowrt-media-client: added WRT media player client plugin
Krisztian Litkey [Wed, 21 Aug 2013 18:03:14 +0000 (21:03 +0300)]
wrt-media-client: added WRT media player client plugin

This plugin, at least in its current primitive form, is only here
temporarily. It registers and relays media playback commands by
emitting a D-Bus signal to a corresponding WRT plugin that catches
the signal and fires JS events for it.

This should be replaced by properly relaying (and extending/changing
as needed) the client protocol to the WRT. Relaying can, but does
not need to use D-Bus. We can have a dedicated WRT-specific plugin
using any socket-based IPC and a private dedicated protocol, but
we also could have, for instance, websocket bindings for the client
protocol and use that from the WRT.

The key thing is that a proper publish/subscribe protocol should be
used, so that the client can get proper notifications about changes
in the state of voice recognition. Currently the WRT (media) client
is not a proper client and for instance it does not know if VR/its
voice focus is active at all.

10 years agodaemon: support running with pa_glib_mainloop/GMainLoop.
Krisztian Litkey [Wed, 21 Aug 2013 17:58:34 +0000 (20:58 +0300)]
daemon: support running with pa_glib_mainloop/GMainLoop.

To allow *temporarily* plugins to use gdbus, we need to be able
to run with GMainLoop and consequently to use pa_glib_mainloop.
This is now possible by setting the configuration variable
'gmainloop' to true either in the config file or by passing
the -s gmainloop=true on the command line.

10 years agorecognizer: don't try to give and feedback if none is configured.
Krisztian Litkey [Wed, 21 Aug 2013 09:20:18 +0000 (12:20 +0300)]
recognizer: don't try to give and feedback if none is configured.

10 years agobuild-sys: honour the --enable/disable-dbus command line option.
Krisztian Litkey [Tue, 20 Aug 2013 13:10:50 +0000 (16:10 +0300)]
build-sys: honour the --enable/disable-dbus command line option.

All components that depend on D-Bus are now disabled unless the
--enable-dbus option (and --enable-gpl that the former depends
on) is specified on the command line. Moreover, the client D-Bus
interace has been turned into a plugin, so the core does not depend
or know anything about D-Bus any more.

Note that after converting to a plugin the D-Bus client interface
has not been tested at all yet...

10 years agosphinx-speech-plugin: memory corruption fix.
Krisztian Litkey [Tue, 9 Jul 2013 09:44:07 +0000 (12:44 +0300)]
sphinx-speech-plugin: memory corruption fix.

10 years agobuild-sys: check and link against necessary murphy libraries.
Krisztian Litkey [Sun, 9 Jun 2013 12:14:46 +0000 (15:14 +0300)]
build-sys: check and link against necessary murphy libraries.

10 years agoinput-plugin: new plugin to control activation/deactivation of 'sphinx-speech'
Janos Kovacs [Thu, 6 Jun 2013 13:45:20 +0000 (16:45 +0300)]
input-plugin: new plugin to control activation/deactivation of 'sphinx-speech'

10 years agosphinx-speech-engine: implement actication/deactivation
Janos Kovacs [Thu, 6 Jun 2013 13:44:32 +0000 (16:44 +0300)]
sphinx-speech-engine: implement actication/deactivation