diff options
author | Tobias Jahnke <tobias.jahnke@microchip.com> | 2018-10-10 15:52:57 +0200 |
---|---|---|
committer | Tobias Jahnke <tobias.jahnke@microchip.com> | 2018-10-12 12:32:24 +0000 |
commit | 178a830b8ad85813b7bf0b271be79f3a8d3a6277 (patch) | |
tree | 8d31174db1ff79796c91588c2fc47fe1fbdad648 /MOST_UNICENS/wrap_volume.c | |
parent | f938776e3cdeba1375a866e12f66a5b9c4151627 (diff) |
4a-hal-unicens: add Fiberdyne Master Volumeflounder_6.0.3flounder_6.0.2flounder/6.0.3flounder/6.0.26.0.36.0.2
Bug-AGL: SPEC-1758
As preparation before introducing UNICENS 4a plugin:
- Init volume library at first
- Add fiberdyne master volume
- Introduce commands sent by control messages
- Removes outdated controls
- Known issue: turn ALSA volume above "93" to hear some sound
Change-Id: I591c6b109a51c9da602ad08514b67c2ec573e09c
Signed-off-by: Tobias Jahnke <tobias.jahnke@microchip.com>
Diffstat (limited to 'MOST_UNICENS/wrap_volume.c')
-rw-r--r-- | MOST_UNICENS/wrap_volume.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/MOST_UNICENS/wrap_volume.c b/MOST_UNICENS/wrap_volume.c index 5bc1e84..9f9ceff 100644 --- a/MOST_UNICENS/wrap_volume.c +++ b/MOST_UNICENS/wrap_volume.c @@ -73,7 +73,8 @@ extern int wrap_volume_init(void) { lib_most_volume_init_t mv_init; mv_init.writei2c_cb = &wrap_ucs_i2cwrite; - mv_init.service_cb = wrap_volume_service_cb; + mv_init.service_cb = &wrap_volume_service_cb; + mv_init.sendmsg_cb = &wrap_ucs_sendmessage; ret = lib_most_volume_init(&mv_init); |