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-10 15:52:57 +0200 |
commit | b071fc0882750d28036769c56c046fe1d7ae9942 (patch) | |
tree | d33a0968eb237c4975bc879087cadff57082dd10 /MOST_UNICENS/ucs2-vol/inc/libmostvolume.h | |
parent | 6d4cbab774c0fa632ccdf4add35b87d0828ac765 (diff) |
4a-hal-unicens: add Fiberdyne Master Volume
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/ucs2-vol/inc/libmostvolume.h')
-rw-r--r-- | MOST_UNICENS/ucs2-vol/inc/libmostvolume.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/MOST_UNICENS/ucs2-vol/inc/libmostvolume.h b/MOST_UNICENS/ucs2-vol/inc/libmostvolume.h index 1147993..5335754 100644 --- a/MOST_UNICENS/ucs2-vol/inc/libmostvolume.h +++ b/MOST_UNICENS/ucs2-vol/inc/libmostvolume.h @@ -63,9 +63,12 @@ typedef int (*lib_most_volume_writei2c_cb_t)(uint16_t node, uint8_t *data_ptr, u lib_most_volume_writei2c_result_cb_t result_fptr, void *result_user_ptr); +typedef int (*lib_most_volume_sendmessage_cb_t)(uint16_t node, uint16_t msgid, uint8_t *data_ptr, uint8_t data_sz); + typedef struct lib_most_volume_init_ { lib_most_volume_service_cb_t service_cb; lib_most_volume_writei2c_cb_t writei2c_cb; + lib_most_volume_sendmessage_cb_t sendmsg_cb; } lib_most_volume_init_t; |