aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-05-11Get first sinkID and set it as default on initializesandbox/knimitz/high-level-apiKazumasa Mitsunari4-12/+48
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-04-27Call ackSetSourceState when the application uses high level APIKazumasa Mitsunari1-2/+4
Change-Id: I24235d4445341106ccd97a750bc9badee7004dc3 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-04-27Add .gitignoreKazumasa Mitsunari1-0/+2
Change-Id: I73dd913aa7ded3a07dfa25084957bf2702fb7528 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-04-27Bug FixKazumasa Mitsunari3-62/+78
enable to get async send from audiomanager Change-Id: If1c5be17e8bb03afb7642c748812cc40be78e691 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-04-26Bug fix: run thread to get eventKazumasa Mitsunari2-39/+60
Change-Id: Iabca17b86524493c4fc3c90b19bb0dc16dc6d1a2 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-04-23Change default sink IDKazumasa Mitsunari1-1/+1
Change-Id: Ie39a3ecf3c003e5ad282c5fe673b024a98db77c3 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-04-23Add callback functions to g_dbus_own_nameKazumasa Mitsunari1-1/+24
Change-Id: I94d20ef5574688e4dc0df3c07c226e061acf14f5 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-03-30Enable high level APIKazumasa Mitsunari1-2/+4
* set_stream_state * stream_close Change-Id: I7efbbdf7018ab39a9f7286f20da94c746257afd0 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-03-30Bug FixKazumasa Mitsunari5-25/+53
Change-Id: Ie2e6d0b355b4b97a8cb10eb568a838d9115d7611 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-03-30TestKazumasa Mitsunari5-87/+160
Change-Id: If61c650f25ca241105106bb4323e403446364d71 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-03-29Add setSreamState and streamCloseKazumasa Mitsunari2-9/+113
Change-Id: Ifb25140466ac67e699008eefc6ff3edbcca01fae Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-03-29Add Error check with ErrorCode instead of GErrorKazumasa Mitsunari4-49/+44
Change-Id: I56d12f2a2d1787e09e149b4931a1305925c44412 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-03-29Create sm-error.cKazumasa Mitsunari3-52/+91
Change-Id: I0ac8756cd2462d3e0ff7c36af401c20662872611 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-03-29Remove warning errorKazumasa Mitsunari1-5/+5
Change-Id: Ide071543524caad3538833f7708975bdeba7fe0d Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-03-29Devide source code: interface part and proxy partKazumasa Mitsunari10-536/+954
build success Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-03-28Rename the package nameKazumasa Mitsunari2-5/+5
* 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>
2018-03-28Improve: Add stream_open APIKazumasa Mitsunari3-1/+150
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: Ia28318ef648cf07e9ddbc2be01bdc7a78f7b501f Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-03-28Clean: clean up duplicate codeKazumasa Mitsunari3-67/+41
Change-Id: I1a581fb8dbb574ce911a46d51ea63cf1963051fa Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-03-28Clean: divide the source filesKazumasa Mitsunari3-517/+590
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: I82b211ea8c9f669ec530c93ceb49ab63ecdce224 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-03-08Remove the optional definition of debugKazumasa Mitsunari2-6/+0
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>
2018-02-26Add getListMainSources functionKazumasa Mitsunari4-1/+309
This function gets the source list registered in AudioManager. Change-Id: I630200b8aaba1f6049773d183904086277624121 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-02-26Change define nameKazumasa Mitsunari1-105/+106
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>
2018-02-26Add high level API functionsKazumasa Mitsunari2-2/+79
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>
2018-02-23Fix typoKazumasa Mitsunari1-13/+13
Change-Id: Ib11606f6b0aba5351a63bfa84b7036fb08d052b2 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-02-23Remove unnecessary fileKazumasa Mitsunari2-284/+1
The image file for icon is not necessary for service. Change-Id: Ic5213afb94170d97c60d1fadb53c7e3312af4493 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-02-23Remove trailing spacesKazumasa Mitsunari10-231/+231
Change-Id: I0c78a163c3fc4549d5407f2ea8e5233c94de8dc8 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2017-12-12Enable to set "interrupt" value in registerSourceKazumasa Mitsunari1-1/+4
Change-Id: Ibd59a74d4ae846ada167bd42c24cc3e74b040c44 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2017-12-12Enable getListMainSinks functionKazumasa Mitsunari1-19/+28
Change-Id: Ibfa2056692aa7b5364ad704bd7f5b90c0abc8215 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2017-12-12Change static variables to use #defineKazumasa Mitsunari1-94/+96
Change-Id: Ied239418df19d6ceecbeca3e0f94d231dd22012a Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2017-12-11Update ApplicationGuide documentKazumasa Mitsunari1-20/+16
Change-Id: Iddd44a39af92aa79f027ae7e1e866fbc9df18966 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2017-11-03Markdown Lintingeel_4.99.3eel_4.99.2eel/4.99.3eel/4.99.24.99.34.99.2Romain Forlot1-60/+73
Improve rendering by the docs website. Change-Id: Id7daa210fe7519dedebd070eaef10992ef45549f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-11-01Update documentKazumasa Mitsunari302-576/+40987
Update ApplicationGuide Change-Id: I8a9c675adeb8997debaa553f0e45f736a2719010 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2017-10-31Update README.mdKazumasa Mitsunari1-1/+1
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>
2017-10-30Install dbus configurationKazumasa Mitsunari2-0/+19
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>
2017-10-30Remove the library from this service binderKazumasa Mitsunari7-870/+0
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>
2017-10-27Removed thread loopKazumasa Mitsunari2-27/+0
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>
2017-10-19Removed trailing spacesKazumasa Mitsunari2-46/+46
Change-Id: I8950984edbc548f29a17acd0d2aec7e092ad2b36 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2017-10-13Add gitreview file for mastereel_4.99.1eel/4.99.14.99.1Jan-Simon Möller1-0/+5
Change-Id: I7531a1c0c585ffceab0681b836f88b4e1e3da2f2 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-10-11Add agl-service-soundmanager-2017Kazumasa Mitsunari207-0/+26895
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>
2017-09-28Initial empty repositoryJan-Simon Moeller0-0/+0