diff options
author | Kevin Rocard <krocard@google.com> | 2018-03-02 12:46:57 -0800 |
---|---|---|
committer | Kevin Rocard <krocard@google.com> | 2018-03-06 11:30:53 -0800 |
commit | d55a49a01e8334d2b2981a951779a8b697ecfcca (patch) | |
tree | 4e962dfbb8daff10368c6bb6055c7be1e240d426 | |
parent | 16ad46ef48d037635b9a8c890b6c5845fbfaf00c (diff) | |
download | libhardware-d55a49a01e8334d2b2981a951779a8b697ecfcca.tar.gz |
Audio V4: Add missing parameter keys
Those keys were used as literal strings
instead of having a declaration.
Bug: 38184704
Test: compile
Change-Id: I45709a4a9120e98014d2a4f763fc17f9ef1267ac
Merged-In: I45709a4a9120e98014d2a4f763fc17f9ef1267ac
Cherry-picked from master
Signed-off-by: Kevin Rocard <krocard@google.com>
-rw-r--r-- | include/hardware/audio.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/hardware/audio.h b/include/hardware/audio.h index 2d6eb309..53808dd5 100644 --- a/include/hardware/audio.h +++ b/include/hardware/audio.h @@ -91,6 +91,17 @@ __BEGIN_DECLS /* Bluetooth SCO wideband */ #define AUDIO_PARAMETER_KEY_BT_SCO_WB "bt_wbs" +/* BT SCO headset name for debug */ +#define AUDIO_PARAMETER_KEY_BT_SCO_HEADSET_NAME "bt_headset_name" + +/* BT SCO HFP control */ +#define AUDIO_PARAMETER_KEY_HFP_ENABLE "hfp_enable" +#define AUDIO_PARAMETER_KEY_HFP_SET_SAMPLING_RATE "hfp_set_sampling_rate" +#define AUDIO_PARAMETER_KEY_HFP_VOLUME "hfp_volume" + +/* Set screen orientation */ +#define AUDIO_PARAMETER_KEY_ROTATION "rotation" + /** * audio stream parameters */ |