mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-27 10:17:45 +08:00
Rename tune_control_s strength to volume to match Nuttx and Linux standard nomenclature for audio (loudness) control.
This commit is contained in:
@@ -7,9 +7,9 @@ uint8 tune_id # tune_id corresponding to TuneID::* from the tune_defaults
|
||||
uint8 tune_override # if set to 1 the tune which is playing will be stopped and the new started
|
||||
uint16 frequency # in Hz
|
||||
uint32 duration # in us
|
||||
uint32 silence # in us
|
||||
uint8 strength # value between 0-100 if supported by backend
|
||||
uint32 silence # in us
|
||||
uint8 volume # value between 0-100 if supported by backend
|
||||
|
||||
uint8 STRENGTH_MIN = 0
|
||||
uint8 STRENGTH_NORMAL = 40
|
||||
uint8 STRENGTH_MAX = 100
|
||||
uint8 VOLUME_LEVEL_MIN = 0
|
||||
uint8 VOLUME_LEVEL_DEFAULT = 40
|
||||
uint8 VOLUME_LEVEL_MAX = 100
|
||||
|
||||
Reference in New Issue
Block a user