Lines Matching +full:mute +full:- +full:control

3  * @brief Bluetooth Volume Control Profile (VCP) APIs.
7 * Copyright (c) 2020-2024 Nordic Semiconductor ASA
9 * SPDX-License-Identifier: Apache-2.0
16 * @brief Volume Control Profile (VCP)
18 * @defgroup bt_vcp Volume Control Profile (VCP)
26 * The Volume Control Profile (VCP) provides procedures to control the volume level and mute state
42 * Defines the maximum number of Volume Offset Control service instances for the
43 * Volume Control Profile Volume Renderer
52 * Defines the maximum number of Audio Input Control service instances for the
53 * Volume Control Profile Volume Renderer
62 * @name Volume Control Service Error codes
70 /** An invalid opcode has been used in a control point procedure. */
75 * @name Volume Control Service Mute Values
84 /** @brief Opaque Volume Control Service instance. */
87 /** Register structure for Volume Control Service */
89 /** Initial step size (1-255) */
92 /** Initial mute state (0-1) */
93 uint8_t mute; member
95 /** Initial volume level (0-255) */
98 /** Register parameters for Volume Offset Control Services */
101 /** Register parameters for Audio Input Control Services */
104 /** Volume Control Service callback structure. */
109 * @brief Volume Control Service included services
111 * Used for to represent the Volume Control Service included service instances,
116 /** Number of Volume Offset Control Service instances */
118 /** Array of pointers to Volume Offset Control Service instances */
121 /** Number of Audio Input Control Service instances */
123 /** Array of pointers to Audio Input Control Service instances */
128 * @brief Get Volume Control Service included services.
131 * Volume Control Service included service instances, such as pointers to the
132 * Volume Offset Control Service (Volume Offset Control Service) or
133 * Audio Input Control Service (AICS) instances.
142 * @brief Register the Volume Control Service.
147 * @param param Volume Control Service register parameters.
160 * @brief Callback function for Volume Control Service volume state.
170 * @param volume The volume of the Volume Control Service server.
171 * @param mute The mute setting of the Volume Control Service server.
173 void (*state)(struct bt_conn *conn, int err, uint8_t volume, uint8_t mute);
176 * @brief Callback function for Volume Control Service flags.
186 * @param flags The flags of the Volume Control Service server.
192 * @brief Set the Volume Control Service volume step size.
199 * @param volume_step The volume step size (1-255).
206 * @brief Get the Volume Control Service volume state.
213 * @brief Get the Volume Control Service flags.
264 * @brief Mute the server.
277 * @brief Callback function for Volume Control Profile volume state.
287 * @param mute The mute setting of the Volume Renderer.
290 uint8_t mute);
293 * @brief Callback function for Volume Control Profile volume flags.
298 * A non-zero value indicates the volume has been changed on the
317 * @param vocs_count Number of Volume Offset Control Service instances
319 * @param aics_count Number of Audio Input Control Service instances
350 * Called when the mute procedure is completed.
356 void (*mute)(struct bt_vcp_vol_ctlr *vol_ctlr, int err); member
402 /** Volume Offset Control Service callbacks */
405 /** Audio Input Control Service callbacks */
418 * @retval -EINVAL if @p cb is NULL
419 * @retval -EALREADY if @p cb was already registered
429 * @retval -EINVAL if @p cb is NULL
430 * @retval -EALREADY if @p cb was not registered
435 * @brief Discover Volume Control Service and included services.
445 * @param conn The connection to discover Volume Control Service for.
456 * Get the Volume Control Profile Volume Controller pointer from a connection pointer.
462 * @retval Pointer to a Volume Control Profile Volume Controller instance
470 * Get the Bluetooth connection pointer of a Volume Control Service
482 * @brief Get Volume Control Service included services.
485 * Volume Control Service included service instances, such as pointers to the
486 * Volume Offset Control Service (Volume Offset Control Service) or
487 * Audio Input Control Service (AICS) instances.
574 * @brief Mute a remote Volume Renderer.