From bcc7b2f84fe17a4dccc08d279ce37572ab91debc Mon Sep 17 00:00:00 2001 From: Sangchul Lee Date: Tue, 14 Jun 2016 11:11:39 +0900 Subject: [PATCH] [all/audio] Add latency category in stream-map.json Latency information including buffer attributes are moved from Audio HAL. Now, stream-map has three categories, latenices, volume and streams. Change-Id: I7ee4ab74372e2355eacc53a7f5adc3fe0504371b Signed-off-by: Sangchul Lee --- .../etc/pulse/stream-map.json | 34 +++++++++++++++++++ .../etc/pulse/stream-map.json | 34 +++++++++++++++++++ .../etc/pulse/stream-map.json | 34 +++++++++++++++++++ .../etc/pulse/stream-map.json | 34 +++++++++++++++++++ .../etc/pulse/stream-map.json | 34 +++++++++++++++++++ .../etc/pulse/stream-map.json | 34 +++++++++++++++++++ .../etc/pulse/stream-map.json | 34 +++++++++++++++++++ packaging/mmfw-sysconf.spec | 2 +- 8 files changed, 239 insertions(+), 1 deletion(-) diff --git a/mmfw-sysconf-simulator/etc/pulse/stream-map.json b/mmfw-sysconf-simulator/etc/pulse/stream-map.json index d38f08a..d67fed2 100644 --- a/mmfw-sysconf-simulator/etc/pulse/stream-map.json +++ b/mmfw-sysconf-simulator/etc/pulse/stream-map.json @@ -1,4 +1,38 @@ { + "latencies":[ + { + "type":"low", + "fragsize-ms":25, + "minreq-ms":-1, + "tlength-ms":100, + "prebuf-ms":0, + "maxlength":-1, + }, + { + "type":"mid", + "fragsize-ms":50, + "minreq-ms":-1, + "tlength-ms":200, + "prebuf-ms":0, + "maxlength":-1, + }, + { + "type":"high", + "fragsize-ms":75, + "minreq-ms":-1, + "tlength-ms":400, + "prebuf-ms":0, + "maxlength":-1, + }, + { + "type":"voip", + "fragsize-ms":20, + "minreq-ms":20, + "tlength-ms":100, + "prebuf-ms":0, + "maxlength":-1, + }, + ], "volumes":[ { "type":"master", diff --git a/mmfw-sysconf-target-artik10/etc/pulse/stream-map.json b/mmfw-sysconf-target-artik10/etc/pulse/stream-map.json index 27d0a01..5285416 100644 --- a/mmfw-sysconf-target-artik10/etc/pulse/stream-map.json +++ b/mmfw-sysconf-target-artik10/etc/pulse/stream-map.json @@ -1,4 +1,38 @@ { + "latencies":[ + { + "type":"low", + "fragsize-ms":25, + "minreq-ms":-1, + "tlength-ms":100, + "prebuf-ms":0, + "maxlength":-1, + }, + { + "type":"mid", + "fragsize-ms":50, + "minreq-ms":-1, + "tlength-ms":200, + "prebuf-ms":0, + "maxlength":-1, + }, + { + "type":"high", + "fragsize-ms":75, + "minreq-ms":-1, + "tlength-ms":400, + "prebuf-ms":0, + "maxlength":-1, + }, + { + "type":"voip", + "fragsize-ms":20, + "minreq-ms":20, + "tlength-ms":100, + "prebuf-ms":0, + "maxlength":-1, + }, + ], "volumes":[ { "type":"master", diff --git a/mmfw-sysconf-target-hawkp/etc/pulse/stream-map.json b/mmfw-sysconf-target-hawkp/etc/pulse/stream-map.json index 976f8dd..192185b 100644 --- a/mmfw-sysconf-target-hawkp/etc/pulse/stream-map.json +++ b/mmfw-sysconf-target-hawkp/etc/pulse/stream-map.json @@ -1,4 +1,38 @@ { + "latencies":[ + { + "type":"low", + "fragsize-ms":25, + "minreq-ms":-1, + "tlength-ms":100, + "prebuf-ms":0, + "maxlength":-1, + }, + { + "type":"mid", + "fragsize-ms":50, + "minreq-ms":-1, + "tlength-ms":200, + "prebuf-ms":0, + "maxlength":-1, + }, + { + "type":"high", + "fragsize-ms":75, + "minreq-ms":-1, + "tlength-ms":400, + "prebuf-ms":0, + "maxlength":-1, + }, + { + "type":"voip", + "fragsize-ms":20, + "minreq-ms":20, + "tlength-ms":100, + "prebuf-ms":0, + "maxlength":-1, + }, + ], "volumes":[ { "type":"master", diff --git a/mmfw-sysconf-target-n4/etc/pulse/stream-map.json b/mmfw-sysconf-target-n4/etc/pulse/stream-map.json index e92674d..c112095 100644 --- a/mmfw-sysconf-target-n4/etc/pulse/stream-map.json +++ b/mmfw-sysconf-target-n4/etc/pulse/stream-map.json @@ -1,4 +1,38 @@ { + "latencies":[ + { + "type":"low", + "fragsize-ms":25, + "minreq-ms":-1, + "tlength-ms":100, + "prebuf-ms":0, + "maxlength":-1, + }, + { + "type":"mid", + "fragsize-ms":50, + "minreq-ms":-1, + "tlength-ms":200, + "prebuf-ms":0, + "maxlength":-1, + }, + { + "type":"high", + "fragsize-ms":75, + "minreq-ms":-1, + "tlength-ms":400, + "prebuf-ms":0, + "maxlength":-1, + }, + { + "type":"voip", + "fragsize-ms":20, + "minreq-ms":20, + "tlength-ms":100, + "prebuf-ms":0, + "maxlength":-1, + }, + ], "volumes":[ { "type":"master", diff --git a/mmfw-sysconf-target-tm1/etc/pulse/stream-map.json b/mmfw-sysconf-target-tm1/etc/pulse/stream-map.json index 90221f9..51a8554 100644 --- a/mmfw-sysconf-target-tm1/etc/pulse/stream-map.json +++ b/mmfw-sysconf-target-tm1/etc/pulse/stream-map.json @@ -1,4 +1,38 @@ { + "latencies":[ + { + "type":"low", + "fragsize-ms":25, + "minreq-ms":-1, + "tlength-ms":100, + "prebuf-ms":0, + "maxlength":-1, + }, + { + "type":"mid", + "fragsize-ms":50, + "minreq-ms":-1, + "tlength-ms":200, + "prebuf-ms":0, + "maxlength":-1, + }, + { + "type":"high", + "fragsize-ms":75, + "minreq-ms":-1, + "tlength-ms":400, + "prebuf-ms":0, + "maxlength":-1, + }, + { + "type":"voip", + "fragsize-ms":20, + "minreq-ms":20, + "tlength-ms":100, + "prebuf-ms":0, + "maxlength":-1, + }, + ], "volumes":[ { "type":"master", diff --git a/mmfw-sysconf-target-tw1/etc/pulse/stream-map.json b/mmfw-sysconf-target-tw1/etc/pulse/stream-map.json index 02d50b7..c7599e4 100644 --- a/mmfw-sysconf-target-tw1/etc/pulse/stream-map.json +++ b/mmfw-sysconf-target-tw1/etc/pulse/stream-map.json @@ -1,4 +1,38 @@ { + "latencies":[ + { + "type":"low", + "fragsize-ms":25, + "minreq-ms":-1, + "tlength-ms":100, + "prebuf-ms":0, + "maxlength":-1, + }, + { + "type":"mid", + "fragsize-ms":50, + "minreq-ms":-1, + "tlength-ms":200, + "prebuf-ms":0, + "maxlength":-1, + }, + { + "type":"high", + "fragsize-ms":75, + "minreq-ms":-1, + "tlength-ms":400, + "prebuf-ms":0, + "maxlength":-1, + }, + { + "type":"voip", + "fragsize-ms":20, + "minreq-ms":20, + "tlength-ms":100, + "prebuf-ms":0, + "maxlength":-1, + }, + ], "volumes":[ { "type":"master", diff --git a/mmfw-sysconf-target-u3/etc/pulse/stream-map.json b/mmfw-sysconf-target-u3/etc/pulse/stream-map.json index a553cb3..b227e8f 100644 --- a/mmfw-sysconf-target-u3/etc/pulse/stream-map.json +++ b/mmfw-sysconf-target-u3/etc/pulse/stream-map.json @@ -1,4 +1,38 @@ { + "latencies":[ + { + "type":"low", + "fragsize-ms":25, + "minreq-ms":-1, + "tlength-ms":100, + "prebuf-ms":0, + "maxlength":-1, + }, + { + "type":"mid", + "fragsize-ms":50, + "minreq-ms":-1, + "tlength-ms":200, + "prebuf-ms":0, + "maxlength":-1, + }, + { + "type":"high", + "fragsize-ms":75, + "minreq-ms":-1, + "tlength-ms":400, + "prebuf-ms":0, + "maxlength":-1, + }, + { + "type":"voip", + "fragsize-ms":20, + "minreq-ms":20, + "tlength-ms":100, + "prebuf-ms":0, + "maxlength":-1, + }, + ], "volumes":[ { "type":"master", diff --git a/packaging/mmfw-sysconf.spec b/packaging/mmfw-sysconf.spec index 46b7a89..e97738c 100644 --- a/packaging/mmfw-sysconf.spec +++ b/packaging/mmfw-sysconf.spec @@ -1,6 +1,6 @@ Name: mmfw-sysconf Summary: Multimedia Framework system configuration package -Version: 0.2.69 +Version: 0.2.70 Release: 0 Group: Multimedia/Configuration License: LGPL-2.1+ and Apache-2.0 -- 2.34.1