Age | Commit message (Collapse) | Author | Files | Lines |
|
* stream_close
key : stream_id
Calls disconnect function
* set_stream_state
key : stream_id
key : mute
value: 0 = unmute, 1 = mute
Calls connect when mute is set to 0,
then "stream_state_event" is published if success.
This event is same as asyncSetSourceState like here.
"event":"soundmanager\/stream_state_event",
"data":{
"handle":value1,
"sourceID":value2,
"sourceState":"on|off|paused",
"event_name":"ahl_stream_state_event",
"stream_id":value1,
"state_event":value
}
asyncSetSourceState is also published.
And when mute is set to 1, then calls disconnect.
"stream_id" is the returned value when application calls "stream_open".
Change-Id: Ib8a032ed2c407605b6015441eccbb7660d9932d8
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Get first sinkID and set it as default on initialize
Change-Id: I7e5d6ef9db270f182dd1775985a2b6cf9b3fdc74
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
* interface part ... soundmanager
This receives request and send event to clients
* proxy part ... am_proxy_audiomanager
This is the proxy to call and receive audiomanager API
Change-Id: If29643ba3356ec1d7ec87468b023cf8809aa4eb3
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Change-Id: I30023877a5378b7dcdc0dd127d74d7bc99e881b2
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
* Remove the suffix -2017
* To make the name simple, rename as "agl-service-audio-soundmanager"
Change-Id: I66b15f234ac43605bbb507541943ee1f64c642f0
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Change-Id: I73dd913aa7ded3a07dfa25084957bf2702fb7528
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Add stream_open API.
This means registeration of source in soundmanager.
The following keys are same as High Level API's argument.
audio_role ... is translated to sourceID in soundmanager
endpoint_id ... is translated to sinkID and used after in soundmanager
endpoint_type ... is not used in soundmanager
Change-Id: Id2044b406c9e8f0a20604ce653607aed0140fe19
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Change-Id: I99fdddbefa5fbb36bd0185a7541c7ff4eb4c921f
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
soundmanager.c becomes bigger, so divide it into some files.
soundmanager.h ... declare functions and set entry point of binder
sm_def.h ... define keys for json, default value and so on
soundmanager.c ... implementation
Change-Id: Iadcfe8d475520c27515c8bd4a43ead36726787af
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
To be simple, remove the option for debug.
Debug option is set by only CMAKE_BUILD_TYPE.
Change-Id: Ie23062eb31ba6b084a388ef33848c5024d84c668
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
This function gets the source list registered in AudioManager.
Change-Id: I630200b8aaba1f6049773d183904086277624121
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
The name which starts with "underscore" should not be used as define.
Change-Id: I1b31dddadc301abc299fc8e27d711afdb432b666
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Add the following functions
* stream_open
* stream_close
* set_stream_state
The functions are not impremented yet.
Change-Id: I881ae61978c04bb8cecffbe30a9b821d1e49c43a
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Change-Id: Ib11606f6b0aba5351a63bfa84b7036fb08d052b2
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
The image file for icon is not necessary for service.
Change-Id: Ic5213afb94170d97c60d1fadb53c7e3312af4493
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Change-Id: I0c78a163c3fc4549d5407f2ea8e5233c94de8dc8
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Change-Id: Ibd59a74d4ae846ada167bd42c24cc3e74b040c44
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Change-Id: Ibfa2056692aa7b5364ad704bd7f5b90c0abc8215
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Change-Id: Ied239418df19d6ceecbeca3e0f94d231dd22012a
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Change-Id: Iddd44a39af92aa79f027ae7e1e866fbc9df18966
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Improve rendering by the docs website.
Change-Id: Id7daa210fe7519dedebd070eaef10992ef45549f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Update ApplicationGuide
Change-Id: I8a9c675adeb8997debaa553f0e45f736a2719010
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Link to http://docs.automotivelinux.org/docs/apis_services/en/dev/
Related change : https://gerrit.automotivelinux.org/gerrit/#/c/11507
Bug-AGL : SPEC-994
Change-Id: Ic26370a0ab485731159558c19bfa962d64b6929c
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
dbus configuration was installed by recipe
This patch enables it to be installed by CMake
Change-Id: I5753c6b79f79498c55abb66c2b7a7ac757869989
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
The library is split into another repository,
so remove it from this repository
Bug-AGL: SPEC-993
Change-Id: Iea7c1a09ce0749c355f62db7523d6d7f1075e118
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
This is redundant thread
It works without thread
Bug-AGL : SPEC-996
Change-Id: Ie23dcdcb7ae440bfb620d99ab1bf3a0979595756
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Change-Id: I8950984edbc548f29a17acd0d2aec7e092ad2b36
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
Change-Id: I7531a1c0c585ffceab0681b836f88b4e1e3da2f2
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Add a new binding agl-service-soundmanager-2017. A image about this see JIRA SPEC-916
Packaging via cmake
[PatchSet3]
Pass to afb-binding version 2
Fix typo
Fix libsoundmanager bug
[PatchSet4]
Modified commit message
[PatchSet5]
Re-add root CMakeLists.txt
Prevent memory leak of json object
Bug-AGL: SPEC-926
Change-Id: I24c0280210777778c379ac7027f3d71fa28d6d85
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
|
|
|