Merge pull request #20 from tihonko/dev

[gst] Support media.role in event configuration file
Revert "mce: plugin follows and stores the display status"

This reverts commit c40e96058ddc3ea43e45f9536a81a2a03c1f9400.
[ffmemless] Add check for device existence to plugin loading

Ngfd fails to run in SDK as there is no ffmemless device, and
a sink failing init will stop whole ngfd from working. Added
a check to plugin load for the device existance, so we don't
even load the plugin if we can't run it.

Signed-off-by: Kalle Jokiniemi <kalle.jokiniemi@jollamobile.com>
Merge pull request #23 from kjokinie/master

[ffmemless] Add check for device existence to plugin loading
Merge pull request #22 from Vesuri/master

Revert "mce: plugin follows and stores the display status"
[ffmemless] Add missing function declaration

The ffmemless_erase_effect function declaration was missing
from the header file. Added so that the function can be used.

Signed-off-by: Kalle Jokiniemi <kalle.jokiniemi@jollamobile.com>
[ffmemless] Clear old effect before uploading new

If a effect with different type than an existing effect in kernel
is uploaded with same id, the effect loading fails. Solved this by
deleting the old effect before uploading new ones.

Signed-off-by: Kalle Jokiniemi <kalle.jokiniemi@jollamobile.com>
[mce] Complete event playback immediately.
Merge pull request #25 from jusa/dev

Complete mce event playback immediately.
Merge pull request #24 from kjokinie/master

Clear old effect before uploading new
[profile] Follow touch vibration level setting in profiles

To be able to follow touch vibration level setting in other
plugins, add it to the profile values that get tracked.

Signed-off-by: Kalle Jokiniemi <kalle.jokiniemi@jollamobile.com>
[ffmemless] Fix odd debug print to be more comprehensible

Changed "not enabled" to "disabled" in debug print, looks much
more comprehensible.

Signed-off-by: Kalle Jokiniemi <kalle.jokiniemi@jollamobile.com>
[ffmemless] Allow effects to be defined as touch screen related

Added new configuration option for effects that allow them to be
classified as touch screen related. For touch screen related effects
the touchscreen.vibrate.level is followed to determine if the effect
should be played or not.

The option can be enabled in ffmemless configuration file by adding
a "_TOUCH" postfixed configuration line. E.g. one could define NGF_SHORT
to be a touch screen related effect by adding to the .ini file:

NGF_SHORT_TOUCH = 1

Signed-off-by: Kalle Jokiniemi <kalle.jokiniemi@jollamobile.com>
Merge pull request #26 from kjokinie/master

Allow ffmemless effects to be categorized as touch screen related
[gst] Fake play if sound is disabled with sound.enabled

    If sound is not enabled, fake play.
    Pipeline is not created and sound file is not played.