/ohos5.0/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiocommon/include/ |
H A D | audio_interrupt_info.h | 76 enum InterruptForceType { enum 95 InterruptForceType forceType; 111 InterruptForceType forceType; 137 InterruptForceType forceType;
|
/ohos5.0/docs/zh-cn/application-dev/media/audio/ |
H A D | audio-playback-concurrency.md | 117 在音频焦点事件中,应用应重点关注两个信息:打断类型(InterruptForceType)和打断提示(InterruptHint)。 119 - 打断类型([InterruptForceType](../../reference/apis-audio-kit/js-apis-audio.md#interruptforcetype9)): 121 InterruptForceType参数提示应用该焦点变化是否已由系统强制操作: 138 此操作无法由系统强制执行,其对应的InterruptForceType一定为INTERRUPT_SHARE类型。 166 if (interruptEvent.forceType === audio.InterruptForceType.INTERRUPT_FORCE) { 190 } else if (interruptEvent.forceType === audio.InterruptForceType.INTERRUPT_SHARE) {
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-audio-kit/ |
H A D | js-apis-audioHaptic.md | 546 if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_FORCE) { 572 } else if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_SHARE) { 619 if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_FORCE) { 645 } else if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_SHARE) {
|
H A D | js-apis-inner-multimedia-ringtonePlayer-sys.md | 462 if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_FORCE) { 488 } else if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_SHARE) {
|
H A D | js-apis-audio.md | 622 ## InterruptForceType<sup>9+</sup> 647 可以结合InterruptEvent中的[InterruptForceType](#interruptforcetype9)信息,判断该操作是否已由系统强制执行。关于音频打断策略的详细说明可参考文档… 656 … | 1 | 提示音频恢复,应用可主动触发开始渲染或开始采集的相关操作。<br>此操作无法由系统强制执行,其对应的[InterruptForceType](#interruptf… 720 | forceType | [InterruptForceType](#interruptforcetype9) | 是 | 操作是由系统执行或是由应用程序执行。 | 7522 if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_FORCE) { 7549 } else if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_SHARE) { 8776 if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_FORCE) { 8793 } else if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_SHARE) {
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/config/ |
H A D | audio_focus_parser.h | 44 static std::map<std::string, InterruptForceType> forceMap;
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/client/src/ |
H A D | audio_policy_manager_listener_stub.cpp | 41 interruptEvent.forceType = static_cast<InterruptForceType>(data.ReadInt32()); in ReadInterruptEventParams()
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/config/ |
H A D | audio_focus_parser.cpp | 117 std::map<std::string, InterruptForceType> AudioFocusParser::forceMap = { 305 std::map<std::string, InterruptForceType>::iterator it4 = forceMap.find(isForcedStr); in AddAllowedFocusEntry()
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/ |
H A D | js-apidiff-multimedia_api-9-canary.md | 12 | ohos.multimedia.audio | InterruptEvent | forceType: InterruptForceType; | 新增 | 14 | ohos.multimedia.audio | InterruptForceType | INTERRUPT_SHARE | 新增 | 15 | ohos.multimedia.audio | InterruptForceType | INTERRUPT_FORCE = 0 | 新增 |
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta1/ |
H A D | js-apidiff-multimedia.md | 11 | ohos.multimedia.audio | InterruptEvent | forceType: InterruptForceType; | 新增 | 13 | ohos.multimedia.audio | InterruptForceType | INTERRUPT_SHARE | 新增 | 14 | ohos.multimedia.audio | InterruptForceType | INTERRUPT_FORCE = 0 | 新增 |
|
/ohos5.0/foundation/distributedhardware/distributed_audio/services/audioclient/test/unittest/spkclient/src/ |
H A D | dspeaker_client_test.cpp | 234 … static_cast<AudioStandard::InterruptForceType>(0), static_cast<AudioStandard::InterruptHint>(0)};
|
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta1/ |
H A D | js-apidiff-multimedia.md | 11 | ohos.multimedia.audio | InterruptEvent | forceType: InterruptForceType; | Added| 13 | ohos.multimedia.audio | InterruptForceType | INTERRUPT_SHARE | Added| 14 | ohos.multimedia.audio | InterruptForceType | INTERRUPT_FORCE = 0 | Added|
|
/ohos5.0/docs/en/application-dev/reference/apis-audio-kit/ |
H A D | js-apis-audioHaptic.md | 546 if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_FORCE) { 572 } else if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_SHARE) { 619 if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_FORCE) { 645 } else if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_SHARE) {
|
H A D | js-apis-inner-multimedia-ringtonePlayer-sys.md | 462 if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_FORCE) { 488 } else if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_SHARE) {
|
H A D | js-apis-audio.md | 623 ## InterruptForceType<sup>9+</sup> 648 …hether the operation is forcibly performed by the system based on [InterruptForceType](#interruptf… 657 …cannot be forcibly performed by the system, and the corresponding [InterruptForceType](#interruptf… 721 | forceType | [InterruptForceType](#interruptforcetype9) | Yes | Whether the interruption is taken… 7525 if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_FORCE) { 7552 } else if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_SHARE) { 8781 if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_FORCE) { 8798 } else if (interruptEvent.forceType == audio.InterruptForceType.INTERRUPT_SHARE) {
|
/ohos5.0/docs/en/application-dev/media/audio/ |
H A D | audio-playback-concurrency.md | 117 …lications should pay attention to two key pieces of information: **InterruptForceType** and **Inte… 119 - [InterruptForceType](../../reference/apis-audio-kit/js-apis-audio.md#interruptforcetype9): 139 …annot be forcibly performed by the system, and the corresponding **InterruptForceType** must be **… 167 if (interruptEvent.forceType === audio.InterruptForceType.INTERRUPT_FORCE) { 191 } else if (interruptEvent.forceType === audio.InterruptForceType.INTERRUPT_SHARE) {
|
/ohos5.0/foundation/multimedia/audio_framework/test/fuzztest/audiointerruptservice_fuzzer/ |
H A D | audio_interrupt_service_fuzzer.cpp | 192 interruptEvent.forceType = *reinterpret_cast<const InterruptForceType *>(rawData); in DispatchInterruptEventWithSessionIdFuzzTest()
|
/ohos5.0/foundation/multimedia/audio_framework/test/fuzztest/audiopolicyanother_fuzzer/ |
H A D | audio_policy_another_fuzzer.cpp | 261 event.forceType = *reinterpret_cast<const InterruptForceType *>(rawData); in AudioPolicyOtherFuzzTest()
|
/ohos5.0/foundation/multimedia/player_framework/frameworks/native/audio_haptic/ |
H A D | audio_haptic_sound_normal_impl.cpp | 414 interruptEvent.forceType = static_cast<AudioStandard::InterruptForceType>(forceTypeValue); in HandleAudioInterruptEvent()
|
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/player/ |
H A D | player_callback_napi.cpp | 271 cb->interruptEvent.forceType = AudioStandard::InterruptForceType(forceType); in OnAudioInterruptCb()
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audiocapturer/src/ |
H A D | audio_capturer.cpp | 747 InterruptForceType forceType = interruptEvent.forceType; in OnInterrupt()
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/src/ |
H A D | audio_renderer.cpp | 1021 InterruptForceType forceType = interruptEvent.forceType; in OnInterrupt()
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_policy/server/src/ |
H A D | audio_policy_manager_stub.cpp | 2031 event.forceType = static_cast<InterruptForceType>(data.ReadInt32()); in InjectInterruptionInternal()
|
H A D | audio_policy_server.cpp | 1896 InterruptForceType forceType = INTERRUPT_SHARE; in InterruptOnChange()
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-Release/ |
H A D | js-apidiff-multimedia.md | 119 |新增|NA|类名:InterruptForceType;<br>方法or属性:INTERRUPT_FORCE = 0|@ohos.multimedia.audio.d.ts| 120 |新增|NA|类名:InterruptForceType;<br>方法or属性:INTERRUPT_SHARE = 1|@ohos.multimedia.audio.d.ts| 122 |新增|NA|类名:InterruptEvent;<br>方法or属性:forceType: InterruptForceType;|@ohos.multimedia.audio.d.ts|
|