Bluetooth: Audio: Add missing audio metadata
Adds the BT_AUDIO_METADATA_TYPE_AUDIO_STATE and
BT_AUDIO_METADATA_TYPE_BROADCAST_IMMEDIATE metadata types from
the LE Audio assigned numbers document.
@@ -94,6 +94,12 @@ enum bt_audio_parental_rating {
BT_AUDIO_PARENTAL_RATING_AGE_18_OR_ABOVE = 0x0F
};
+/** @brief Audio Active State defined by the Generic Audio assigned numbers (bluetooth.com). */
+enum bt_audio_active_state {
+ BT_AUDIO_ACTIVE_STATE_DISABLED = 0x00,
+ BT_AUDIO_ACTIVE_STATE_ENABLED = 0x01,
+};
+
/**
* @brief Codec metadata type IDs
*
@@ -143,6 +149,15 @@ enum bt_audio_metadata_type {
/** UTF-8 encoded URI for additional Program information */
BT_AUDIO_METADATA_TYPE_PROGRAM_INFO_URI = 0x07,
+ /** @brief Audio active state
+ *
+ * See @ref bt_audio_active_state for valid values.
+ */
+ BT_AUDIO_METADATA_TYPE_AUDIO_STATE = 0x08,
+
+ /** Broadcast Audio Immediate Rendering flag */
+ BT_AUDIO_METADATA_TYPE_BROADCAST_IMMEDIATE = 0x09,
+
/** Extended metadata */
BT_AUDIO_METADATA_TYPE_EXTENDED = 0xFE,
