Home
last modified time | relevance | path

Searched refs:interruptEvent (Results 1 – 5 of 5) sorted by relevance

/base/web/webview/test/unittest/audio_adapter_impl_test/
Daudio_adapter_impl_test.cpp581 InterruptEvent interruptEvent; variable
582 interruptEvent.hintType = OHOS::AudioStandard::InterruptHint::INTERRUPT_HINT_PAUSE;
583 callBack->OnInterrupt(interruptEvent);
584 interruptEvent.hintType = OHOS::AudioStandard::InterruptHint::INTERRUPT_HINT_STOP;
585 callBack->OnInterrupt(interruptEvent);
586 interruptEvent.hintType = OHOS::AudioStandard::InterruptHint::INTERRUPT_HINT_RESUME;
587 callBack->OnInterrupt(interruptEvent);
588 interruptEvent.hintType = OHOS::AudioStandard::InterruptHint::INTERRUPT_HINT_NONE;
589 callBack->OnInterrupt(interruptEvent);
592 callBack->OnInterrupt(interruptEvent);
/base/telephony/call_manager/services/audio/src/
Daudio_player.cpp270 …Player::CallAudioRendererCallback::OnInterrupt(const AudioStandard::InterruptEvent &interruptEvent) in OnInterrupt() argument
272 if (interruptEvent.forceType == AudioStandard::INTERRUPT_FORCE) { in OnInterrupt()
273 switch (interruptEvent.hintType) { in OnInterrupt()
/base/web/webview/ohos_adapter/audio_adapter/src/
Daudio_renderer_adapter_impl.cpp91 void AudioRendererCallbackImpl::OnInterrupt(const InterruptEvent &interruptEvent) in OnInterrupt() argument
96 switch (interruptEvent.hintType) { in OnInterrupt()
107 … WVLOG_E("audio renderer interrupt hint not foud, code: %{public}d", interruptEvent.hintType); in OnInterrupt()
/base/web/webview/ohos_adapter/audio_adapter/include/
Daudio_renderer_adapter_impl.h36 void OnInterrupt(const InterruptEvent &interruptEvent) override;
/base/telephony/call_manager/services/audio/include/
Daudio_player.h81 void OnInterrupt(const AudioStandard::InterruptEvent &interruptEvent) override;