Lines Matching refs:volume
30 * @brief Declares APIs for audio volume.
42 * @brief Provides volume-related APIs for audio rendering or capturing, including functions to
43 * set the mute operation, volume, and gain.
72 * @brief Sets the audio volume.
74 * The volume ranges from 0.0 to 1.0. If the volume level in an audio service ranges from 0 to 15,
75 * <b>0.0</b> indicates that the audio is muted, and <b>1.0</b> indicates the maximum volume level (15).
78 * @param volume Indicates the volume to set. The value ranges from 0.0 to 1.0.
82 int32_t (*SetVolume)(AudioHandle handle, float volume);
85 * @brief Obtains the audio volume.
88 * @param volume Indicates the pointer to the volume to obtain. The value ranges from 0.0 to 1.0.
89 * @return Returns <b>0</b> if the volume is obtained; returns a negative value otherwise.
92 int32_t (*GetVolume)(AudioHandle handle, float *volume);