mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-10 06:44:32 +00:00
gatt-service/vcs: extend API to allow setting of the volume change step
This commit is contained in:
parent
1a170bd9c8
commit
2ea782cb4d
@ -432,6 +432,9 @@ void volume_control_service_server_set_volume_state(uint8_t volume_setting, vcs_
|
||||
}
|
||||
}
|
||||
|
||||
void volume_control_service_server_set_volume_change_step(uint8_t volume_change_step){
|
||||
vcs_volume_change_step_size = volume_change_step;
|
||||
}
|
||||
|
||||
uint8_t volume_control_service_server_set_audio_input_state_for_aics(uint8_t aics_index, aics_audio_input_state_t * audio_input_state){
|
||||
if (aics_index >= aics_services_num){
|
||||
|
@ -98,6 +98,11 @@ void volume_control_service_server_init(uint8_t volume_setting, vcs_mute_t mute,
|
||||
*/
|
||||
void volume_control_service_server_set_volume_state(uint8_t volume_setting, vcs_mute_t mute);
|
||||
|
||||
/**
|
||||
* @brief Set volume change step.
|
||||
* @param volume_change_step
|
||||
*/
|
||||
void volume_control_service_server_set_volume_change_step(uint8_t volume_change_step);
|
||||
|
||||
/**
|
||||
* @brief Set mute and gain mode, as well as gain setting of the AICS service identified by aics_index.
|
||||
|
Loading…
x
Reference in New Issue
Block a user