projects
/
profile
/
ivi
/
murphy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bcf226
)
config: add volume context table for PulseAudio volume model.
author
Ismo Puustinen
<ismo.puustinen@intel.com>
Wed, 21 May 2014 12:26:39 +0000
(15:26 +0300)
committer
Krisztian Litkey
<krisztian.litkey@intel.com>
Thu, 8 Jan 2015 16:37:15 +0000
(18:37 +0200)
Change-Id: I80b514f4b0f280c4b6922e020786fabe4ef360e8
packaging.in/murphy.lua
patch
|
blob
|
history
diff --git
a/packaging.in/murphy.lua
b/packaging.in/murphy.lua
index
2cd2e23
..
4604211
100644
(file)
--- a/
packaging.in/murphy.lua
+++ b/
packaging.in/murphy.lua
@@
-235,6
+235,20
@@
resource.class {
shareable = true
}
+-- PulseAudio volume context
+mdb.table {
+ name = "volume_context",
+ index = { "id" },
+ create = true,
+ columns = {
+ { "id", mdb.unsigned },
+ { "value", mdb.string, 64 },
+ }
+}
+
+-- put default volume context to the table
+mdb.table.volume_context:insert({ id = 1, value = "default" })
+
if not m:plugin_exists('ivi-resource-manager') and
not with_system_controller
then