Home
last modified time | relevance | path

Searched refs:mute (Results 1 - 25 of 63) sorted by relevance

123

/drivers/peripheral/audio/interfaces/include/
H A Daudio_volume.h43 * 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 Daudio_adapter.h176 * @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 Di_audio_volume.h23 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 Daudio_volume.h43 * 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 Daudio_adapter.h177 * @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 Daudio_volume.h43 * 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 Daudio_alsa_if_lib_capture_test.cpp265 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 Diaudio_adapter_vdi.h50 int32_t (*SetMicMute)(struct IAudioAdapterVdi *self, bool mute);
51 int32_t (*GetMicMute)(struct IAudioAdapterVdi *self, bool *mute);
H A Diaudio_render_vdi.h45 int32_t (*SetMute)(struct IAudioRenderVdi *self, bool mute);
46 int32_t (*GetMute)(struct IAudioRenderVdi *self, bool *mute);
H A Diaudio_capture_vdi.h37 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 Daudio_alsa_if_lib_render_test.cpp270 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 Daudio_render_mock.c158 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 Daudio_adapter_common_test.cpp404 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 Daudio_proxy_internal.h50 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 Dfast_audio_render.h36 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 Dfast_audio_render.cpp152 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 Daudio_capture_ext_impl.cpp197 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 Daudio_capture_interface_impl.cpp235 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 Daudio_hdmi_codec_ops.h21 const struct AudioCard *audioCard, const struct DaiDevice *dai, bool mute, int32_t direction);
/drivers/peripheral/audio/test/systemtest/supportlibs/common/render/src/
H A Daudio_librender_test.cpp329 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 Daudio_internal.h184 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 Daudio_libcapture_test.cpp224 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 Daudio_capture_ext_impl.h50 int32_t SetMute(bool mute) override;
51 int32_t GetMute(bool &mute) override;
H A Daudio_capture_interface_impl.h48 int32_t SetMute(bool mute) override;
49 int32_t GetMute(bool &mute) override;
/drivers/hdf_core/framework/include/audio/
H A Daudio_dai_if.h96 * @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);

Completed in 21 milliseconds

123