/drivers/peripheral/audio/interfaces/include/ |
H A D | audio_volume.h | 43 * set the mute operation, volume, and gain. 50 * @brief Sets the mute operation for the audio. 53 * @param mute Specifies whether to mute the audio. Value <b>true</b> means to mute the audio, 58 int32_t (*SetMute)(AudioHandle handle, bool mute); 61 * @brief Obtains the mute operation set for the audio. 64 * @param mute Indicates the pointer to the mute operation set for the audio. Value <b>true</b> means that 66 * @return Returns <b>0</b> if the mute operatio [all...] |
H A D | audio_adapter.h | 176 * @brief Sets the mute operation for the audio. 179 * @param mute Specifies whether to mute the audio. Value <b>true</b> means to mute the audio, 184 int32_t (*SetMicMute)(struct AudioAdapter *adapter, bool mute); 187 * @brief Obtains the mute operation set for the audio. 190 * @param mute Indicates the pointer to the mute operation set for the audio. Value <b>true</b> means that 192 * @return Returns <b>0</b> if the mute operation is obtained; returns a negative value otherwise. 195 int32_t (*GetMicMute)(struct AudioAdapter *adapter, bool *mute); [all...] |
/drivers/peripheral/distributed_audio/interface/audio/v1_0/ |
H A D | i_audio_volume.h | 23 virtual int32_t SetMute(const bool mute) = 0; 25 virtual int32_t GetMute(bool &mute) = 0;
|
/drivers/peripheral/audio/interfaces/2.0/include/ |
H A D | audio_volume.h | 43 * set the mute operation, volume, and gain. 50 * @brief Sets the mute operation for the audio. 53 * @param mute Specifies whether to mute the audio. Value <b>true</b> means to mute the audio, 58 int32_t (*SetMute)(AudioHandle handle, bool mute); 61 * @brief Obtains the mute operation set for the audio. 64 * @param mute Indicates the pointer to the mute operation set for the audio. Value <b>true</b> means that 66 * @return Returns <b>0</b> if the mute operatio [all...] |
H A D | audio_adapter.h | 177 * @brief Sets the mute operation for the audio. 180 * @param mute Specifies whether to mute the audio. Value <b>true</b> means to mute the audio, 185 int32_t (*SetMicMute)(struct AudioAdapter *adapter, bool mute); 188 * @brief Obtains the mute operation set for the audio. 191 * @param mute Indicates the pointer to the mute operation set for the audio. Value <b>true</b> means that 193 * @return Returns <b>0</b> if the mute operation is obtained; returns a negative value otherwise. 196 int32_t (*GetMicMute)(struct AudioAdapter *adapter, bool *mute); [all...] |
/drivers/peripheral/bluetooth/audio/interfaces/include/ |
H A D | audio_volume.h | 43 * set the mute operation, volume, and gain. 50 * @brief Sets the mute operation for the audio. 53 * @param mute Specifies whether to mute the audio. Value <b>true</b> means to mute the audio, 58 int32_t (*SetMute)(AudioHandle handle, bool mute); 61 * @brief Obtains the mute operation set for the audio. 64 * @param mute Indicates the pointer to the mute operation set for the audio. Value <b>true</b> means that 66 * @return Returns <b>0</b> if the mute operatio [all...] |
/drivers/peripheral/audio/test/unittest/supportlibs/interface_lib_capture/src/ |
H A D | audio_alsa_if_lib_capture_test.cpp | 265 bool mute = true; in HWTEST_F() local 274 mute = handleData->captureMode.ctlParam.mute; in HWTEST_F() 275 EXPECT_EQ(false, mute); in HWTEST_F() 290 bool mute = false; in HWTEST_F() local 293 handleData->captureMode.ctlParam.mute = true; in HWTEST_F() 302 mute = handleData->captureMode.ctlParam.mute; in HWTEST_F() 303 EXPECT_EQ(true, mute); in HWTEST_F() 304 handleData->captureMode.ctlParam.mute in HWTEST_F() [all...] |
/drivers/peripheral/audio/interfaces/sound/v1_0/ |
H A D | iaudio_adapter_vdi.h | 50 int32_t (*SetMicMute)(struct IAudioAdapterVdi *self, bool mute); 51 int32_t (*GetMicMute)(struct IAudioAdapterVdi *self, bool *mute);
|
H A D | iaudio_render_vdi.h | 45 int32_t (*SetMute)(struct IAudioRenderVdi *self, bool mute); 46 int32_t (*GetMute)(struct IAudioRenderVdi *self, bool *mute);
|
H A D | iaudio_capture_vdi.h | 37 int32_t (*SetMute)(struct IAudioCaptureVdi *self, bool mute); 38 int32_t (*GetMute)(struct IAudioCaptureVdi *self, bool *mute);
|
/drivers/peripheral/audio/test/unittest/supportlibs/interface_lib_render/src/ |
H A D | audio_alsa_if_lib_render_test.cpp | 270 bool mute = true; in HWTEST_F() local 279 mute = handleData->renderMode.ctlParam.mute; in HWTEST_F() 280 EXPECT_EQ(false, mute); in HWTEST_F() 295 bool mute = false; in HWTEST_F() local 298 handleData->renderMode.ctlParam.mute = true; in HWTEST_F() 307 mute = handleData->renderMode.ctlParam.mute; in HWTEST_F() 308 EXPECT_EQ(true, mute); in HWTEST_F() 309 handleData->renderMode.ctlParam.mute in HWTEST_F() [all...] |
/drivers/peripheral/audio/test/hal_mock/ |
H A D | audio_render_mock.c | 158 static int32_t SetMute(struct IAudioRenderVdi* render, bool mute)
in SetMute() argument 164 (void)mute;
in SetMute() 169 static int32_t GetMute(struct IAudioRenderVdi* render, bool *mute)
in GetMute() argument 171 if (render == NULL || mute == NULL) {
in GetMute() 175 (void *)mute;
in GetMute()
|
/drivers/peripheral/audio/test/unittest/common/adapter/ |
H A D | audio_adapter_common_test.cpp | 404 bool mute = false;
in HWTEST_F() local 405 EXPECT_NE(HDF_SUCCESS, adapter_->SetMicMute(nullptr, mute));
in HWTEST_F() 410 bool mute = false;
in HWTEST_F() local 411 int32_t ret = adapter_->SetMicMute(adapter_, mute);
in HWTEST_F() 422 bool mute = false;
in HWTEST_F() local 423 EXPECT_NE(HDF_SUCCESS, adapter_->GetMicMute(nullptr, &mute));
in HWTEST_F() 428 bool mute = false;
in HWTEST_F() local 429 int32_t ret = adapter_->GetMicMute(adapter_, &mute);
in HWTEST_F()
|
/drivers/peripheral/bluetooth/audio/hal/hdi_binder/proxy/include/ |
H A D | audio_proxy_internal.h | 50 int32_t AudioProxyRenderSetMute(const AudioHandle handle, bool mute); 51 int32_t AudioProxyRenderGetMute(const AudioHandle handle, bool *mute);
|
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/include/ |
H A D | fast_audio_render.h | 36 int32_t FastRenderSetMute(AudioHandle handle, bool mute);
37 int32_t FastRenderGetMute(AudioHandle handle, bool *mute);
|
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/ |
H A D | fast_audio_render.cpp | 152 int32_t FastRenderSetMute(AudioHandle handle, bool mute)
in FastRenderSetMute() argument 156 (void)mute;
in FastRenderSetMute() 160 int32_t FastRenderGetMute(AudioHandle handle, bool *mute)
in FastRenderGetMute() argument 164 (void)mute;
in FastRenderGetMute()
|
/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/src/ |
H A D | audio_capture_ext_impl.cpp | 197 int32_t AudioCaptureExtImpl::SetMute(bool mute) in SetMute() argument 199 DHLOGI("Set mute, not support yet."); in SetMute() 200 (void)mute; in SetMute() 204 int32_t AudioCaptureExtImpl::GetMute(bool &mute) in GetMute() argument 206 DHLOGI("Get mute, not support yet."); in GetMute() 207 (void)mute; in GetMute()
|
H A D | audio_capture_interface_impl.cpp | 235 int32_t AudioCaptureInterfaceImpl::SetMute(bool mute) in SetMute() argument 237 DHLOGI("Set audio mute state."); in SetMute() 238 muteState_.store(mute); in SetMute() 242 int32_t AudioCaptureInterfaceImpl::GetMute(bool &mute) in GetMute() argument 244 DHLOGI("Get audio mute state."); in GetMute() 245 mute = muteState_.load(); in GetMute()
|
/drivers/hdf_core/framework/model/audio/hdmi/include/ |
H A D | audio_hdmi_codec_ops.h | 21 const struct AudioCard *audioCard, const struct DaiDevice *dai, bool mute, int32_t direction);
|
/drivers/peripheral/audio/test/systemtest/supportlibs/common/render/src/ |
H A D | audio_librender_test.cpp | 329 hwRender->renderParam.renderMode.ctlParam.mute = 0;
in HWTEST_F() 334 muteValue = hwRender->renderParam.renderMode.ctlParam.mute;
in HWTEST_F() 336 hwRender->renderParam.renderMode.ctlParam.mute = 1;
in HWTEST_F() 341 muteValue = hwRender->renderParam.renderMode.ctlParam.mute;
in HWTEST_F() 364 hwRender->renderParam.renderMode.ctlParam.mute = 2;
in HWTEST_F() 369 muteValue = hwRender->renderParam.renderMode.ctlParam.mute;
in HWTEST_F() 371 hwRender->renderParam.renderMode.ctlParam.mute = 0;
in HWTEST_F() 376 muteValue = hwRender->renderParam.renderMode.ctlParam.mute;
in HWTEST_F() 585 hwRender->renderParam.renderMode.ctlParam.mute = muteValue;
in HWTEST_F() 590 expectedValue = hwRender->renderParam.renderMode.ctlParam.mute;
in HWTEST_F() [all...] |
/drivers/peripheral/audio/hal/hdi_passthrough/include/ |
H A D | audio_internal.h | 184 bool mute; member 452 int32_t AudioAdapterSetMicMute(struct AudioAdapter *adapter, bool mute); 453 int32_t AudioAdapterGetMicMute(struct AudioAdapter *adapter, bool *mute); 468 int32_t AudioRenderSetMute(AudioHandle handle, bool mute); 469 int32_t AudioRenderGetMute(AudioHandle handle, bool *mute); 506 int32_t AudioCaptureSetMute(AudioHandle handle, bool mute); 507 int32_t AudioCaptureGetMute(AudioHandle handle, bool *mute);
|
/drivers/peripheral/audio/test/systemtest/supportlibs/common/capture/src/ |
H A D | audio_libcapture_test.cpp | 224 hwCapture->captureParam.captureMode.ctlParam.mute = 0; in HWTEST_F() 229 muteValue = hwCapture->captureParam.captureMode.ctlParam.mute; in HWTEST_F() 231 hwCapture->captureParam.captureMode.ctlParam.mute = 1; in HWTEST_F() 236 muteValue = hwCapture->captureParam.captureMode.ctlParam.mute; in HWTEST_F() 260 hwCapture->captureParam.captureMode.ctlParam.mute = 2; in HWTEST_F() 265 muteValue = hwCapture->captureParam.captureMode.ctlParam.mute; in HWTEST_F() 267 hwCapture->captureParam.captureMode.ctlParam.mute = 0; in HWTEST_F() 272 muteValue = hwCapture->captureParam.captureMode.ctlParam.mute; in HWTEST_F() 463 hwCapture->captureParam.captureMode.ctlParam.mute = 0; in HWTEST_F()
|
/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/include/ |
H A D | audio_capture_ext_impl.h | 50 int32_t SetMute(bool mute) override; 51 int32_t GetMute(bool &mute) override;
|
H A D | audio_capture_interface_impl.h | 48 int32_t SetMute(bool mute) override; 49 int32_t GetMute(bool &mute) override;
|
/drivers/hdf_core/framework/include/audio/ |
H A D | audio_dai_if.h | 96 * @brief Defines Dai device digital mute. 100 * @param mute Indicates mute enable. 103 * @return Returns <b>0</b> if dai device digital mute success; returns a non-zero value otherwise. 109 bool mute, int32_t direction);
|