summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2018-05-11Improve: Add stream_open APIKazumasa Mitsunari3-1/+145
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>
2018-03-08Clean: clean up duplicate codeKazumasa Mitsunari3-67/+41
Change-Id: I99fdddbefa5fbb36bd0185a7541c7ff4eb4c921f Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-03-08Clean: 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: Iadcfe8d475520c27515c8bd4a43ead36726787af Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-03-08Remove the optional definition of debugKazumasa Mitsunari1-5/+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 trailing spacesKazumasa Mitsunari7-226/+226
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-10-11Add agl-service-soundmanager-2017Kazumasa Mitsunari12-0/+13289
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>