summaryrefslogtreecommitdiffstats
path: root/src/sm-helper.h
AgeCommit message (Collapse)AuthorFilesLines
2018-06-06Add High Level APIsflounder_5.99.1flounder/5.99.15.99.1Kazumasa Mitsunari1-10/+11
* 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>
2018-05-16Get first sinkID and set it as default on initializeKazumasa Mitsunari1-0/+1
Get first sinkID and set it as default on initialize Change-Id: I7e5d6ef9db270f182dd1775985a2b6cf9b3fdc74 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-05-16Clean: divide soundmanager.c into interface part and proxy partKazumasa Mitsunari1-45/+5
* 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>
2018-05-11Improve: Add stream_open APIKazumasa Mitsunari1-0/+1
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 Mitsunari1-2/+5
Change-Id: I99fdddbefa5fbb36bd0185a7541c7ff4eb4c921f Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-02-23Remove trailing spacesKazumasa Mitsunari1-3/+3
Change-Id: I0c78a163c3fc4549d5407f2ea8e5233c94de8dc8 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2017-10-11Add agl-service-soundmanager-2017Kazumasa Mitsunari1-0/+94
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>