讨论广场 问答详情
鸿蒙OH6 音频无法放音--- 使用裸的工具 放音正常
ljp9405312 2026-02-04 17:37:51
131 评论 分享

aplay /etc/graphic/bootsound.wav  正常放启动音

执行 bootanimation 利用鸿蒙框架放 启动音没有  跟踪 audio_host     log 如下
# ps -ef | grep audio
audio          738     1 0 16:40:26 ?     00:00:00 sharing_service
audio_host    5419     1 0 17:34:20 ?     00:00:00 audio_host              -i 7 -n audio_host
audio         5420     1 0 17:34:20 ?     00:00:00 audio_server
root          5597  3977 0 17:37:17 pts/0 00:00:00 grep audio

# hilog --pid=5419
02-04 17:34:22.695  5419  5422 I C02512/HDF_AUDIO_PRIMARY_IMPL: [AudioManagerGetAllAdapters][line:311]: enter!
02-04 17:34:22.697  5419  5422 I C02512/HDF_AUDIO_HAL_SND: [CfgDumpAdapterInfo][line:185]: cardId:0: adapterName:primary, cardName:fthda
02-04 17:34:22.698  5419  5422 I C02512/HDF_AUDIO_HAL_SND: [DevSaveCardPcmInfo][line:374]: soundcard pcm device number: -1.
02-04 17:34:22.698  5419  5422 I C02512/HDF_AUDIO_HAL_SND: [DevGetInfoByPcmInfoId][line:313]: DevGetInfoByPcmInfoId name: usb
02-04 17:34:22.698  5419  5422 I C02512/HDF_AUDIO_HAL_SND: [AudioGetAllCardInfo][line:767]: adapter name : primary
02-04 17:34:22.698  5419  5422 E C02512/HDF_AUDIO_PRIMARY_IMPL: [AudioAdapterReleaseDescs][line:106]: Invalid parameter!
02-04 17:34:22.698  5419  5422 I C02512/HDF_AUDIO_HAL_SND: [CfgDumpAdapterInfo][line:185]: cardId:0: adapterName:primary, cardName:fthda
02-04 17:34:22.698  5419  5422 I C02512/HDF_AUDIO_HAL_SND: [DevSaveCardPcmInfo][line:374]: soundcard pcm device number: -1.
02-04 17:34:22.699  5419  5422 I C02512/HDF_AUDIO_HAL_SND: [DevGetInfoByPcmInfoId][line:313]: DevGetInfoByPcmInfoId name: usb
02-04 17:34:22.699  5419  5422 W C02512/HDF_AUDIO_HAL_SND: [AudioGetAllCardInfo][line:753]: *descs is null, need memcalloc.
02-04 17:34:22.699  5419  5422 I C02512/HDF_AUDIO_HAL_SND: [AudioGetAllCardInfo][line:767]: adapter name : primary
02-04 17:34:22.699  5419  5422 I C02512/HDF_AUDIO_PRIMARY_IMPL: [AudioManagerLoadAdapter][line:530]: adapter name primary
02-04 17:34:22.699  5419  5422 I C02512/HDF_AUDIO_PRIMARY_IMPL: [AudioManagerServiceFindAdapterPos][line:264]: can not find adapterName(primary), malloc new pos
02-04 17:34:22.699  5419  5422 I C02512/HDF_AUDIO_PRIMARY_IMPL: [AudioManagerServiceAddAdapter][line:247]: load adaptername[primary], refCount[1]
02-04 17:34:22.699  5419  5422 I C02510/HDF_LOG_TAG: g_constructorMap size 4
02-04 17:34:22.699  5419  5422 I C02510/HDF_LOG_TAG: g_constructorMap it: ohos.hdi.audio.v5_0.IAudioAdapter
02-04 17:34:22.699  5419  5422 I C02510/HDF_LOG_TAG: g_constructorMap it: ohos.hdi.audio.v5_0.IAudioCapture
02-04 17:34:22.699  5419  5422 I C02510/HDF_LOG_TAG: g_constructorMap it: ohos.hdi.audio.v5_0.IAudioManager
02-04 17:34:22.699  5419  5422 I C02510/HDF_LOG_TAG: g_constructorMap it: ohos.hdi.audio.v5_0.IAudioRender
02-04 17:34:22.707  5419  5422 I C02512/HDF_AUDIO_PRIMARY_IMPL: [CheckParaAttr][line:130]: Audio category audioCategory: 0!
02-04 17:34:22.707  5419  5422 I C02512/AUDIO_HDI_IMPL: [AudioPathSelAnalysisJson][line:841]:
02-04 17:34:22.707  5419  5422 I C02512/AUDIO_HDI_IMPL: [AudioPathSelAnalysisJson][line:842]: AudioPathSelAnalysisJson enter
02-04 17:34:22.707  5419  5422 I C02512/AUDIO_HDI_IMPL: [InitDeviceSwitchValue][line:133]: InitDeviceSwitchValue enter
02-04 17:34:22.707  5419  5422 E C02512/AUDIO_HDI_IMPL: [InitDeviceSwitchValue][line:143]: swVal is invalid or not a string
02-04 17:34:22.707  5419  5422 E C02512/AUDIO_HDI_IMPL: [SetRenderPathValue][line:373]: InitDeviceSwitchValue failed!
02-04 17:34:22.707  5419  5422 E C02512/AUDIO_HDI_IMPL: [SetMatchRenderDevicePath][line:393]: set value failed!
02-04 17:34:22.707  5419  5422 E C02512/HDF_AUDIO_PRIMARY_IMPL: [AudioAdapterCreateRenderPre][line:460]: Path Select Fail!
02-04 17:34:22.708  5419  5422 I C02512/HDF_AUDIO_PRIMARY_IMPL: [AudioManagerDecreaseAdapterRef][line:470]: unload adaptername[primary], refCount[0] decrease
02-04 17:34:22.708  5419  5422 I C02512/HDF_AUDIO_PRIMARY_IMPL: [AudioManagerUnloadAdapter][line:586]: AudioManagerUnloadAdapter success!
02-04 17:34:22.709  5419  5422 I C02512/HDF_AUDIO_PRIMARY_IMPL: [AudioManagerGetAllAdapters][line:311]: enter!
02-04 17:34:22.710  5419  5422 I C02512/HDF_AUDIO_HAL_SND: [CfgDumpAdapterInfo][line:185]: cardId:0: adapterName:primary, cardName:fthda
02-04 17:34:22.710  5419  5422 I C02512/HDF_AUDIO_HAL_SND: [DevSaveCardPcmInfo][line:374]: soundcard pcm device number: -1.
02-04 17:34:22.710  5419  5422 I C02512/HDF_AUDIO_HAL_SND: [DevGetInfoByPcmInfoId][line:313]: DevGetInfoByPcmInfoId name: usb
02-04 17:34:22.710  5419  5422 I C02512/HDF_AUDIO_HAL_SND: [AudioGetAllCardInfo][line:767]: adapter name : primary
02-04 17:34:22.710  5419  5422 I C02512/HDF_AUDIO_PRIMARY_IMPL: [AudioManagerLoadAdapter][line:530]: adapter name primary
02-04 17:34:22.710  5419  5422 I C02512/HDF_AUDIO_PRIMARY_IMPL: [AudioManagerIncreaseAdapterRef][line:455]: load adaptername[primary], refCount[1] increase
02-04 17:34:22.710  5419  5422 I C02512/HDF_AUDIO_PRIMARY_IMPL: [AudioAdapterInitAllPorts][line:355]: portCapabilitys already Init!
02-04 17:34:22.711  5419  5422 I C02512/HDF_AUDIO_PRIMARY_IMPL: [CheckParaAttr][line:130]: Audio category audioCategory: 0!
02-04 17:34:22.711  5419  5422 I C02512/AUDIO_HDI_IMPL: [AudioPathSelAnalysisJson][line:841]:
02-04 17:34:22.711  5419  5422 I C02512/AUDIO_HDI_IMPL: [AudioPathSelAnalysisJson][line:842]: AudioPathSelAnalysisJson enter
02-04 17:34:22.711  5419  5422 I C02512/AUDIO_HDI_IMPL: [InitDeviceSwitchValue][line:133]: InitDeviceSwitchValue enter
02-04 17:34:22.711  5419  5422 E C02512/AUDIO_HDI_IMPL: [InitDeviceSwitchValue][line:143]: swVal is invalid or not a string
02-04 17:34:22.711  5419  5422 E C02512/AUDIO_HDI_IMPL: [SetRenderPathValue][line:373]: InitDeviceSwitchValue failed!
02-04 17:34:22.711  5419  5422 E C02512/AUDIO_HDI_IMPL: [SetMatchRenderDevicePath][line:393]: set value failed!
02-04 17:34:22.711  5419  5422 E C02512/HDF_AUDIO_PRIMARY_IMPL: [AudioAdapterCreateRenderPre][line:460]: Path Select Fail!
02-04 17:34:22.711  5419  5422 I C02512/HDF_AUDIO_PRIMARY_IMPL: [AudioManagerDecreaseAdapterRef][line:470]: unload adaptername[primary], refCount[0] decrease
02-04 17:34:22.711  5419  5422 I C02512/HDF_AUDIO_PRIMARY_IMPL: [AudioManagerUnloadAdapter][line:586]: AudioManagerUnloadAdapter success!
02-04 17:35:16.195  5419  5422 I C02512/HDF_AUDIO_PRIMARY_IMPL: [AudioManagerGetAllAdapters][line:311]: enter!
02-04 17:35:16.195  5419  5422 I C02512/HDF_AUDIO_HAL_SND: [CfgDumpAdapterInfo][line:185]: cardId:0: adapterName:primary, cardName:fthda
02-04 17:35:16.195  5419  5422 I C02512/HDF_AUDIO_HAL_SND: [DevSaveCardPcmInfo][line:374]: soundcard pcm device number: -1.
02-04 17:35:16.195  5419  5422 I C02512/HDF_AUDIO_HAL_SND: [DevGetInfoByPcmInfoId][line:313]: DevGetInfoByPcmInfoId name: usb
02-04 17:35:16.195  5419  5422 I C02512/HDF_AUDIO_HAL_SND: [AudioGetAllCardInfo][line:767]: adapter name : primary
02-04 17:35:16.195  5419  5422 I C02512/HDF_AUDIO_PRIMARY_IMPL: [AudioManagerLoadAdapter][line:530]: adapter name primary
02-04 17:35:16.195  5419  5422 I C02512/HDF_AUDIO_PRIMARY_IMPL: [AudioManagerIncreaseAdapterRef][line:455]: load adaptername[primary], refCount[1] increase
02-04 17:35:16.196  5419  5517 W C057c1/IPCWorkThread: ThreadHandler: proto:0 policy:0 name:OS_IPC_2_5517 invoker:2895893648
02-04 17:35:16.196  5419  5421 I C02512/HDF_AUDIO_PRIMARY_IMPL: [AudioAdapterInitAllPorts][line:355]: portCapabilitys already Init!
02-04 17:35:16.196  5419  5421 I C02512/HDF_AUDIO_PRIMARY_IMPL: [CheckParaAttr][line:130]: Audio category audioCategory: 0!
02-04 17:35:16.196  5419  5421 I C02512/AUDIO_HDI_IMPL: [AudioPathSelAnalysisJson][line:841]:
02-04 17:35:16.196  5419  5421 I C02512/AUDIO_HDI_IMPL: [AudioPathSelAnalysisJson][line:842]: AudioPathSelAnalysisJson enter
02-04 17:35:16.196  5419  5421 I C02512/AUDIO_HDI_IMPL: [InitDeviceSwitchValue][line:133]: InitDeviceSwitchValue enter
02-04 17:35:16.196  5419  5421 E C02512/AUDIO_HDI_IMPL: [InitDeviceSwitchValue][line:143]: swVal is invalid or not a string
02-04 17:35:16.196  5419  5421 E C02512/AUDIO_HDI_IMPL: [SetRenderPathValue][line:373]: InitDeviceSwitchValue failed!
02-04 17:35:16.196  5419  5421 E C02512/AUDIO_HDI_IMPL: [SetMatchRenderDevicePath][line:393]: set value failed!
02-04 17:35:16.196  5419  5421 E C02512/HDF_AUDIO_PRIMARY_IMPL: [AudioAdapterCreateRenderPre][line:460]: Path Select Fail!
02-04 17:35:16.196  5419  5421 I C02512/HDF_AUDIO_PRIMARY_IMPL: [AudioManagerDecreaseAdapterRef][line:470]: unload adaptername[primary], refCount[0] decrease
02-04 17:35:16.196  5419  5421 I C02512/HDF_AUDIO_PRIMARY_IMPL: [AudioManagerUnloadAdapter][line:586]: AudioManagerUnloadAdapter success!
02-04 17:35:16.197  5419  5421 I C02512/HDF_AUDIO_PRIMARY_IMPL: [AudioManagerGetAllAdapters][line:311]: enter!
02-04 17:35:16.197  5419  5421 I C02512/HDF_AUDIO_HAL_SND: [CfgDumpAdapterInfo][line:185]: cardId:0: adapterName:primary, cardName:fthda
02-04 17:35:16.198  5419  5421 I C02512/HDF_AUDIO_HAL_SND: [DevSaveCardPcmInfo][line:374]: soundcard pcm device number: -1.
02-04 17:35:16.198  5419  5421 I C02512/HDF_AUDIO_HAL_SND: [DevGetInfoByPcmInfoId][line:313]: DevGetInfoByPcmInfoId name: usb
02-04 17:35:16.198  5419  5421 I C02512/HDF_AUDIO_HAL_SND: [AudioGetAllCardInfo][line:767]: adapter name : primary
02-04 17:35:16.198  5419  5421 I C02512/HDF_AUDIO_PRIMARY_IMPL: [AudioManagerLoadAdapter][line:530]: adapter name primary
02-04 17:35:16.198  5419  5421 I C02512/HDF_AUDIO_PRIMARY_IMPL: [AudioManagerIncreaseAdapterRef][line:455]: load adaptername[primary], refCount[1] increase
02-04 17:35:16.198  5419  5421 I C02512/HDF_AUDIO_PRIMARY_IMPL: [AudioAdapterInitAllPorts][line:355]: portCapabilitys already Init!
02-04 17:35:16.198  5419  5421 I C02512/HDF_AUDIO_PRIMARY_IMPL: [CheckParaAttr][line:130]: Audio category audioCategory: 0!
02-04 17:35:16.198  5419  5421 I C02512/AUDIO_HDI_IMPL: [AudioPathSelAnalysisJson][line:841]:
02-04 17:35:16.198  5419  5421 I C02512/AUDIO_HDI_IMPL: [AudioPathSelAnalysisJson][line:842]: AudioPathSelAnalysisJson enter
02-04 17:35:16.198  5419  5421 I C02512/AUDIO_HDI_IMPL: [InitDeviceSwitchValue][line:133]: InitDeviceSwitchValue enter
02-04 17:35:16.198  5419  5421 E C02512/AUDIO_HDI_IMPL: [InitDeviceSwitchValue][line:143]: swVal is invalid or not a string
02-04 17:35:16.198  5419  5421 E C02512/AUDIO_HDI_IMPL: [SetRenderPathValue][line:373]: InitDeviceSwitchValue failed!
02-04 17:35:16.198  5419  5421 E C02512/AUDIO_HDI_IMPL: [SetMatchRenderDevicePath][line:393]: set value failed!
02-04 17:35:16.198  5419  5421 E C02512/HDF_AUDIO_PRIMARY_IMPL: [AudioAdapterCreateRenderPre][line:460]: Path Select Fail!
02-04 17:35:16.199  5419  5421 I C02512/HDF_AUDIO_PRIMARY_IMPL: [AudioManagerDecreaseAdapterRef][line:470]: unload adaptername[primary], refCount[0] decrease
02-04 17:35:16.199  5419  5421 I C02512/HDF_AUDIO_PRIMARY_IMPL: [AudioManagerUnloadAdapter][line:586]: AudioManagerUnloadAdapter success!

131 评论 分享
写回答
全部评论(4)

OH5 bootanimation 运行正常放音流程log 完全不一样,难道OH5 --》OH6 audio 框架大变化?

host 进程log --------正常放音 
# hilog --pi=629  host 进程
02-05 15:38:39.119   629   673 E C02510/audio_adapter_stub: SerStubSetVoiceVolume: invalid interface function SetVoiceVolume
02-05 15:38:39.120   629   673 E C02512/HDF_AUDIO_PRIMARY_IMPL: [SetExtParam][line:543]: NO this key correspond value or value is invalid!
02-05 15:38:39.120   629   673 E C02510/audio_render_stub: SerStubSetExtraParams failed, error code is -1
02-05 15:38:39.121   629   673 E C02512/HDF_AUDIO_HAL_SND: [SndElementReadNumid][line:964]: SndElementReadNumid numid=<private>
02-05 15:38:39.121   629   673 I C02512/HDF_AUDIO_HAL_RENDER: [RenderStartImpl][line:190]: RenderStopImpl success!
02-05 15:38:39.121   629   673 I C02512/HDF_AUDIO_HAL_RENDER: [AudioOutputRenderStart][line:413]: Render start success.
02-05 15:38:47.773   629   673 E C02512/HDF_AUDIO_PRIMARY_IMPL: [SetExtParam][line:543]: NO this key correspond value or value is invalid!
02-05 15:38:47.773   629   673 E C02510/audio_render_stub: SerStubSetExtraParams failed, error code is -1
02-05 15:38:47.773   629   673 E C02512/HDF_AUDIO_HAL_SND: [SndElementReadNumid][line:964]: SndElementReadNumid numid=<private>
02-05 15:38:47.774   629   673 I C02512/HDF_AUDIO_HAL_RENDER: [RenderStopImpl][line:208]: RenderStopImpl success!
02-05 15:38:47.774   629   673 I C02512/HDF_AUDIO_HAL_RENDER: [AudioOutputRenderStop][line:433]: Render stop success.
02-05 15:39:14.200   629   673 E C02510/audio_adapter_stub: SerStubSetVoiceVolume: invalid interface function SetVoiceVolume
02-05 15:39:14.202   629   673 E C02512/HDF_AUDIO_PRIMARY_IMPL: [SetExtParam][line:543]: NO this key correspond value or value is invalid!
02-05 15:39:14.202   629   673 E C02510/audio_render_stub: SerStubSetExtraParams failed, error code is -1
02-05 15:39:14.202   629   673 E C02512/HDF_AUDIO_HAL_SND: [SndElementReadNumid][line:964]: SndElementReadNumid numid=<private>
02-05 15:39:14.203   629   673 I C02512/HDF_AUDIO_HAL_RENDER: [RenderStartImpl][line:190]: RenderStopImpl success!
02-05 15:39:14.203   629   673 I C02512/HDF_AUDIO_HAL_RENDER: [AudioOutputRenderStart][line:413]: Render start success.


02-05 15:39:22.880   629   673 E C02512/HDF_AUDIO_PRIMARY_IMPL: [SetExtParam][line:543]: NO this key correspond value or value is invalid!
02-05 15:39:22.880   629   673 E C02510/audio_render_stub: SerStubSetExtraParams failed, error code is -1
02-05 15:39:22.880   629   673 E C02512/HDF_AUDIO_HAL_SND: [SndElementReadNumid][line:964]: SndElementReadNumid numid=<private>
02-05 15:39:22.881   629   673 I C02512/HDF_AUDIO_HAL_RENDER: [RenderStopImpl][line:208]: RenderStopImpl success!
02-05 15:39:22.881   629   673 I C02512/HDF_AUDIO_HAL_RENDER: [AudioOutputRenderStop][line:433]: Render stop success.
02-05 15:39:24.703   629   673 E C02510/audio_adapter_stub: SerStubSetVoiceVolume: invalid interface function SetVoiceVolume
02-05 15:39:24.705   629   673 E C02512/HDF_AUDIO_PRIMARY_IMPL: [SetExtParam][line:543]: NO this key correspond value or value is invalid!
02-05 15:39:24.705   629   673 E C02510/audio_render_stub: SerStubSetExtraParams failed, error code is -1
02-05 15:39:24.705   629   673 E C02512/HDF_AUDIO_HAL_SND: [SndElementReadNumid][line:964]: SndElementReadNumid numid=<private>
02-05 15:39:24.706   629   673 I C02512/HDF_AUDIO_HAL_RENDER: [RenderStartImpl][line:190]: RenderStopImpl success!
02-05 15:39:24.706   629   673 I C02512/HDF_AUDIO_HAL_RENDER: [AudioOutputRenderStart][line:413]: Render start success.
02-05 15:39:33.365   629   673 E C02512/HDF_AUDIO_PRIMARY_IMPL: [SetExtParam][line:543]: NO this key correspond value or value is invalid!
02-05 15:39:33.365   629   673 E C02510/audio_render_stub: SerStubSetExtraParams failed, error code is -1
02-05 15:39:33.365   629   673 E C02512/HDF_AUDIO_HAL_SND: [SndElementReadNumid][line:964]: SndElementReadNumid numid=<private>
02-05 15:39:33.366   629   673 I C02512/HDF_AUDIO_HAL_RENDER: [RenderStopImpl][line:208]: RenderStopImpl success!
02-05 15:39:33.366   629   673 I C02512/HDF_AUDIO_HAL_RENDER: [AudioOutputRenderStop][line:433]: Render stop success.


# hilog -r
Log type core,app,only_prerelease buffer clear successfully
# hilog --pid=416  audio server 进程

02-05 15:41:03.157   416   441 I C02b8b/AudioServiceAppStateListener: [OnAppStateChanged]app state changed, bundleName=com.ohos.systemui uid=10008 pid=1337 state=4
02-05 15:41:03.157   416   441 I C02b8b/AudioServiceAppStateListener: [HandleAppStateChange]app state changed, pid=1337 state=4
02-05 15:41:03.164   416   441 I P02b8b/AudioRouterCenter: [FetchOutputDevices]usage:15 uid:-1 size:[1], 1st type:[2], id:[1], router:1
02-05 15:41:03.164   416   441 I C02b8b/AudioDeviceCommon: [GetPreferredOutputStreamTypeInner]Device type: 2, stream usage: 15, flag: 0
02-05 15:41:03.165   416   441 I C02b8b/AudioServer: [ResetProcessConfig]Create process for 1013, clientUid:0.
02-05 15:41:03.165   416   441 I C02b8b/AudioServer: [CreateAudioStream]Create normal ipc stream, isFastControlled: 0
02-05 15:41:03.165   416   441 I C02b86/IpcStreamInServer: [IpcStreamInServer]IpcStreamInServer(), uid: 0
02-05 15:41:03.165   416   441 I C02b86/IpcStreamInServer: [StreamListenerHolder]StreamListenerHolder()
02-05 15:41:03.165   416   441 I C02b83/RendererInServer: [IsHighResolution]normal stream,device type:2
02-05 15:41:03.165   416   441 I C02b8b/PaAdapterManager: [InitPaContext]Context is not null, return
02-05 15:41:03.165   416   441 I C02b8b/PolicyHandler: [GenerateSessionId]uid:0 sessionId:100004
02-05 15:41:03.165   416   441 I C02b8b/PaAdapterManager: [SetHighResolution]current stream marked as non-high resolution
02-05 15:41:03.165   416   441 I C02b8b/PaAdapterManager: [SetPaProplist]Creating stream of channels 2
02-05 15:41:03.165   416   441 I C02b8b/PaAdapterManager: [ConnectRendererStreamToPA]Create ipc playback stream tlength: 4, maxlength: 4 prebuf: 1
02-05 15:41:03.165   416   441 I C02b8b/PaAdapterManager: [PAStreamStateCb]Current Stream State: 1
02-05 15:41:03.166   416   967 I C02b89/HdiSink: Sink[primary] state change:[SUSPENDED]-->[IDLE]
02-05 15:41:03.166   416   967 I C02b89/HdiSink: Primary sink from suspend to idle
02-05 15:41:03.166   416   443 I C02b88/PulseAudio: LoadProResampler: absolutePath is /system/lib64/-1
02-05 15:41:03.166   416   443 E C02b88/PulseAudio: ProResampler does not exist! use SpeeX resampler!
02-05 15:41:03.166   416   443 I C02b88/PulseAudio: pa_resampler_new: rate 44100 -> 48000 (method trivial), format s16le -> s16le (intermediate s16le), channels 2 -> 2 (resampling 2)
02-05 15:41:03.166   416   443 I C02b88/ProtocolNative: [NEW]: SinkInput[4] -----> sink[0, Speaker].
02-05 15:41:03.166   416  1154 I C02b8b/PaAdapterManager: [PAStreamStateCb]Current Stream State: 2
02-05 15:41:03.166   416   441 I C02b8b/PaAdapterManager: [ConnectStreamToPA]PaStream is ready
02-05 15:41:03.166   416   447 I C02b88/PulseAudioServiceAdapterImpl: [PaSubscribeCb]PA_SUBSCRIPTION_EVENT_NEW
02-05 15:41:03.166   416   441 I C02b86/PaRendererStreamImpl: [InitParams]sampleSpec: channels: 2, formats: 3, rate: 44100
02-05 15:41:03.166   416   441 W C02b86/PaRendererStreamImpl: [InitParams]Unequal format, in server: 3, in client: 1
02-05 15:41:03.166   416   441 I C02b86/PaRendererStreamImpl: [SetStreamIndex]Using index/sessionId 100004
02-05 15:41:03.166   416   443 I C02b87/AudioEffectChainManager: [UpdateSceneTypeList]scene Type SCENE_OTHERS is added
02-05 15:41:03.166   416   443 I C02b87/AudioEffectChainManager: [CreateAudioEffectChain]max audio effect chain count reached, create current and default effect chain
02-05 15:41:03.166   416   443 I C02b87/AudioEffectChainManager: [NotifyAndCreateAudioEffectChain]Create new sceneTypeAndDeviceKey [SCENE_OTHERS_&_DEVICE_TYPE_SPEAKER]
02-05 15:41:03.166   416   443 E C02b87/AudioEffectChainManager: [SetAudioEffectChainDynamic]EffectChain key [SCENE_DEFAULT_&_EFFECT_DEFAULT_&_DEVICE_TYPE_SPEAKER] does not exist, auto set to EFFECT_NONE
02-05 15:41:03.166   416   443 I P02b87/AudioEffectChainManager: [SetAudioEffectChainDynamic]Effectchain is empty, copy bufIn to bufOut like EFFECT_NONE mode
02-05 15:41:03.166   416   443 I C02b87/AudioEffectChainManager: [SetAudioEffectChainDynamic]SceneType SCENE_DEFAULT delay 0
02-05 15:41:03.166   416   443 I C02b85/AudioEffectChainAdapter: [EffectChainManagerCreateCb]Create Audio Effect Chain Success, sessionID is 100004, sceneType is SCENE_OTHERS
02-05 15:41:03.166   416   441 I C02b8b/AudioVolume: [AddStreamVolume]stream volume, sessionId:100004
02-05 15:41:03.166   416   441 I C02b83/RendererInServer: [ConfigServerBuffer]totalSizeInFrame_: 882, spanSizeInFrame_: 882, byteSizePerFrame_:4 spanSizeInByte_: 3528,
02-05 15:41:03.167   416   441 I C02b83/RendererInServer: [InitBufferStatus]InitBufferStatus: spanCount 1
02-05 15:41:03.167   416   441 I C02b8b/AudioService: [InsertRenderer]Insert renderer:100004 into map
02-05 15:41:03.167   416   441 I C02b86/IpcStreamListenerProxy: [IpcStreamListenerProxy]IpcStreamListenerProxy()
02-05 15:41:03.167   416   441 I C02b86/IpcStreamInServer: [ResolveBuffer]Resolve buffer, mode: 0
02-05 15:41:03.167   416   441 I C02b8b/AudioPolicyServer: [GetAppVolumeLevel]GetAppVolumeLevel appUid : 1013
02-05 15:41:03.167   416   441 I C02b8b/AudioPolicyServer: [RegisterClientDeathRecipient]Tracker has been registered for 1013!
02-05 15:41:03.168   416   441 E C01121/BMSQuery: GetBundleInfoV9 fail params empty
02-05 15:41:03.168   416   441 I C02b8b/AudioStreamCollector: [AddRendererStream]Add playback client uid 0 sessionId 100004
02-05 15:41:03.168   416   982 I C02b8b/AudioPolicyServerHandler: [HandleRendererInfoEvent]pids: [1337,642,770,635,311,] size: 5
02-05 15:41:03.168   416   441 I C02b8b/AudioPolicyServerHandler: [SetClientCallbacksEnable]Set clientId:642, callbacks:17, enable:true
02-05 15:41:03.168   416   441 I C02b8b/AudioInterruptService: [SetCallingUid]uid: 0
02-05 15:41:03.168   416   441 I C02b8b/AudioPolicyServer: [GetAppVolumeLevel]GetAppVolumeLevel appUid : 0
02-05 15:41:03.168   416   441 I C02b8b/AudioStreamCollector: [UpdateRendererStream]UpdateRendererStream client 0 state 1 session 100004
02-05 15:41:03.169   416   441 I C02b83/RendererInServer: [SetSilentModeAndMixWithOthers]SetStreamVolumeMute:0
02-05 15:41:03.169   416   441 I C02b8b/AudioVolume: [SetStreamVolumeMute]stream volume, sessionId:100004, isMuted:0
02-05 15:41:03.207   416   441 I C02b8b/AudioInterruptService: [ActivateAudioInterruptInternal]streamId: 100004 pid: 642 streamType: 17 usage: 15 source: -1
02-05 15:41:03.207   416   441 I C02b8b/AudioOffloadStream: [OffloadStreamSetCheck]sessionId[100004] not fetch device, Offload Skipped
02-05 15:41:03.207   416   441 W C02b8b/AudioInterruptService: [WriteStartDfxMsg]WriteStartDfxMsg check app state
02-05 15:41:03.207   416   441 I C01311/AppMS: [app_mgr_client.cpp:84]get AppMgrRemote object
02-05 15:41:03.207   416   441 W C02b8b/AudioInterruptService: [GetAppState]GetAppState failed
02-05 15:41:03.207   416   441 I C02b8b/AudioInterruptDfxCollector: [WriteActionMsg][WriteInfoMsg] infoIdx=1, effectIdx=0
02-05 15:41:03.207   416   441 I C02b8b/AudioInterruptDfxCollector: [WriteInfoMsg][WriteInfoMsg] streamUsage=15, concurrencyMode=-1
02-05 15:41:03.207   416   441 I C02b8b/AudioInterruptService: [ProcessAudioScene]audioFocusInfoList is empty, add the session into it directly
02-05 15:41:03.207   416   441 W C02b87/AudioSessionService: [IsAudioSessionActivated]The audio seesion of pid 642 is not found!
02-05 15:41:03.207   416   441 I P02b8b/AudioInterruptService: [UpdateAudioSceneFromInterrupt]currentScene: 0, targetScene: 0, changeType: 0
02-05 15:41:03.207   416   441 I C02b8b/AudioDeviceLock: [SetAudioScene]Set audio scene start: 0, lastScene: 0, uid: 0, pid: 642
02-05 15:41:03.207   416   441 I C02b87/AudioFramework: [SetAudioSceneOwnerUid]ownerUid_: 0, uid: 0
02-05 15:41:03.207   416   441 I P02b8b/AudioDeviceCommon: [FetchOutputDevice]Start for 1 stream, connected device type:id:(category:constate) 15:2 2:1
02-05 15:41:03.208   416   441 W C02b8b/AudioDeviceCommon: [FetchOutputDevice]stream 100004 not running, no need fetch device
02-05 15:41:03.208   416   984 I C02b8b/AudioPolicyServerHandler: [HandleFocusInfoChangeEvent]HandleFocusInfoChangeEvent focusInfoList :1
02-05 15:41:03.208   416   441 I P02b8b/AudioRouterCenter: [FetchOutputDevices]usage:1 uid:-1 size:[1], 1st type:[2], id:[1], router:1
02-05 15:41:03.208   416   441 I P02b8b/AudioDeviceCommon: [FetchInputDevice]Start for 0 stream, connected device type:id:(category:constate) 15:2 2:1
02-05 15:41:03.208   416   441 I P02b8b/AudioRouterCenter: [FetchInputDevice]source:0 uid:-1 fetch type:15 id:2 router:1
02-05 15:41:03.208   416   441 I C02b8b/AudioDeviceCommon: [OnAudioSceneChange]Start
02-05 15:41:03.208   416   441 I C02b8b/AudioVolumeManager: [SetVoiceRingtoneMute]Set Voice Ringtone is 0
02-05 15:41:03.208   416   441 I C02b89/LocalDeviceManager: [SetVoiceVolume]set modem call, volume: 0.466667
02-05 15:41:03.208   416   441 E C02510/audio_adapter_proxy: AudioAdapterProxySetVoiceVolume: call failed! error code is -2
02-05 15:41:03.208   416   441 I C02b8b/AudioVolumeManager: [SetVoiceCallVolume]SetVoiceVolume: 0.466667
02-05 15:41:03.208   416   441 I C02b8b/AudioCapturerSession: [ReloadSourceForDeviceChange]form caller: SetAudioScene
02-05 15:41:03.208   416   441 I C02b8b/AudioCapturerSession: [ReloadSourceForDeviceChange]reload ignore for feature not enable
02-05 15:41:03.208   416   441 I C02b8b/AudioDeviceLock: [FetchOutputDeviceForTrack]fetch device for track, sessionid:100004 start
02-05 15:41:03.208   416   441 W C02b8b/AudioDeviceManager: [UpdateDefaultOutputDeviceWhenStarting]no need to update default output device since current stream has not set
02-05 15:41:03.209   416   441 I P02b8b/AudioDeviceCommon: [FetchOutputDevice]Start for 1 stream, connected device type:id:(category:constate) 15:2 2:1
02-05 15:41:03.209   416   441 I P02b8b/AudioRouterCenter: [FetchOutputDevices]usage:15 uid:0 size:[1], 1st type:[2], id:[1], router:1
02-05 15:41:03.209   416   441 I C02b8b/AudioDeviceCommon: [NotifyRecreateDirectStream]current pipe type is:1
02-05 15:41:03.209   416   441 I C02b8b/AudioDeviceCommon: [NotifyRecreateRendererStream]New device type: 2, current rendererFlag: 0, origianl flag: 0
02-05 15:41:03.209   416   441 E C02b8b/AudioDeviceCommon: [NotifyRecreateRendererStream]isUpdateActiveDevice is false
02-05 15:41:03.209   416   441 W C02b8b/AudioDeviceCommon: [MoveToNewOutputDevice]move session 100004 [0][]-->[2][], reason 0
02-05 15:41:03.209   416   441 I C02b8b/AudioDeviceCommon: [MuteSinkPortForSwitchDevice]mute sink old:[_out] new:[Speaker]
02-05 15:41:03.209   416   441 I P02b87/AudioEffectChainManager: [UpdateDeviceInfo]Same DeviceSinkName
02-05 15:41:03.209   416   441 I C02b87/AudioEffectChainManager: [UpdateDeviceInfo]DeviceType do not need to be Updated
02-05 15:41:03.209   416   441 I C02b8b/AudioDeviceCommon: [MoveToLocalOutputDevice]Start for [1] sink-inputs
02-05 15:41:03.209   416   441 I C02b8b/AudioDeviceCommon: [MoveToLocalOutputDevice]move for session [100004], portName Speaker pipeType 1
02-05 15:41:03.209   416   441 I C02b8b/AudioAdapterManager: [SetVolumeForSwitchDevice]Old device: 2. New device: 2. No need to update volume
02-05 15:41:03.209   416   441 I C02b8b/AudioVolumeManager: [SetSharedVolume]Success Set Shared Volume with StreamType:0, DeviceType:2
02-05 15:41:03.210   416   441 I C02b8b/AudioServer: [NotifyStreamVolumeChanged]Enter the notifyStreamVolumeChanged interface
02-05 15:41:03.210   416   441 I C02b86/AudioServer: [SetSystemVolumeToEffect]streamType: 0, systemVolume: 0.172332
02-05 15:41:03.210   416   441 I C02b87/AudioEffectChainManager: [SetEffectSystemVolume]systemVolumeType: 0, systemVolume: 0.172332
02-05 15:41:03.210   416   441 I C02b87/AudioEffectChainManager: [EffectApVolumeUpdate]send volume to ap.
02-05 15:41:03.210   416   441 I C02b87/AudioEffectChainManager: [SendEffectApVolume]SendEffectApVolume
02-05 15:41:03.210   416   441 I C02b8b/AudioVolumeManager: [SetSharedVolume]Success Set Shared Volume with StreamType:2, DeviceType:2
02-05 15:41:03.210   416   441 I C02b8b/AudioServer: [NotifyStreamVolumeChanged]Enter the notifyStreamVolumeChanged interface
02-05 15:41:03.210   416   441 I C02b86/AudioServer: [SetSystemVolumeToEffect]streamType: 2, systemVolume: 0.195394
02-05 15:41:03.210   416   441 I C02b87/AudioEffectChainManager: [SetEffectSystemVolume]systemVolumeType: 2, systemVolume: 0.195394
02-05 15:41:03.210   416   441 I C02b87/AudioEffectChainManager: [EffectApVolumeUpdate]send volume to ap.
02-05 15:41:03.210   416   441 I C02b87/AudioEffectChainManager: [SendEffectApVolume]SendEffectApVolume
02-05 15:41:03.210   416   441 I C02b8b/AudioVolumeManager: [SetSharedVolume]Success Set Shared Volume with StreamType:1, DeviceType:2
02-05 15:41:03.210   416   441 I C02b8b/AudioServer: [NotifyStreamVolumeChanged]Enter the notifyStreamVolumeChanged interface
02-05 15:41:03.210   416   441 I C02b86/AudioServer: [SetSystemVolumeToEffect]streamType: 1, systemVolume: 0.195394
02-05 15:41:03.210   416   441 I C02b87/AudioEffectChainManager: [SetEffectSystemVolume]systemVolumeType: 1, systemVolume: 0.195394
02-05 15:41:03.210   416   441 I C02b87/AudioEffectChainManager: [EffectApVolumeUpdate]send volume to ap.
02-05 15:41:03.210   416   441 I C02b87/AudioEffectChainManager: [SendEffectApVolume]SendEffectApVolume
02-05 15:41:03.210   416   441 I C02b8b/AudioVolumeManager: [SetSharedVolume]Success Set Shared Volume with StreamType:4, DeviceType:2
02-05 15:41:03.210   416   441 I C02b8b/AudioServer: [NotifyStreamVolumeChanged]Enter the notifyStreamVolumeChanged interface
02-05 15:41:03.210   416   441 I C02b86/AudioServer: [SetSystemVolumeToEffect]streamType: 4, systemVolume: 0.172332
02-05 15:41:03.210   416   441 I C02b87/AudioEffectChainManager: [SetEffectSystemVolume]systemVolumeType: 4, systemVolume: 0.172332
02-05 15:41:03.210   416   441 I C02b87/AudioEffectChainManager: [EffectApVolumeUpdate]send volume to ap.
02-05 15:41:03.210   416   441 I C02b87/AudioEffectChainManager: [SendEffectApVolume]SendEffectApVolume
02-05 15:41:03.210   416   441 I C02b8b/AudioVolumeManager: [SetSharedVolume]Success Set Shared Volume with StreamType:6, DeviceType:2
02-05 15:41:03.210   416   441 I C02b8b/AudioServer: [NotifyStreamVolumeChanged]Enter the notifyStreamVolumeChanged interface
02-05 15:41:03.210   416   441 I C02b86/AudioServer: [SetSystemVolumeToEffect]streamType: 6, systemVolume: 0.172332
02-05 15:41:03.210   416   441 I C02b87/AudioEffectChainManager: [SetEffectSystemVolume]systemVolumeType: 6, systemVolume: 0.172332
02-05 15:41:03.210   416   441 I C02b87/AudioEffectChainManager: [EffectApVolumeUpdate]send volume to ap.
02-05 15:41:03.210   416   441 I C02b87/AudioEffectChainManager: [SendEffectApVolume]SendEffectApVolume
02-05 15:41:03.210   416   441 I C02b8b/AudioVolumeManager: [SetSharedVolume]Success Set Shared Volume with StreamType:12, DeviceType:2
02-05 15:41:03.210   416   441 I C02b8b/AudioServer: [NotifyStreamVolumeChanged]Enter the notifyStreamVolumeChanged interface
02-05 15:41:03.210   416   441 I C02b86/AudioServer: [SetSystemVolumeToEffect]streamType: 12, systemVolume: 0.172332
02-05 15:41:03.210   416   441 I C02b87/AudioEffectChainManager: [SetEffectSystemVolume]systemVolumeType: 12, systemVolume: 0.172332
02-05 15:41:03.210   416   441 I C02b87/AudioEffectChainManager: [EffectApVolumeUpdate]send volume to ap.
02-05 15:41:03.210   416   441 I C02b87/AudioEffectChainManager: [SendEffectApVolume]SendEffectApVolume
02-05 15:41:03.211   416   441 I C02b8b/AudioVolumeManager: [SetSharedVolume]Success Set Shared Volume with StreamType:18, DeviceType:2
02-05 15:41:03.211   416   441 I C02b8b/AudioServer: [NotifyStreamVolumeChanged]Enter the notifyStreamVolumeChanged interface
02-05 15:41:03.211   416   441 I C02b86/AudioServer: [SetSystemVolumeToEffect]streamType: 18, systemVolume: 1.000000
02-05 15:41:03.211   416   441 I C02b87/AudioEffectChainManager: [SetEffectSystemVolume]systemVolumeType: 18, systemVolume: 1.000000
02-05 15:41:03.211   416   441 I C02b87/AudioEffectChainManager: [EffectApVolumeUpdate]send volume to ap.
02-05 15:41:03.211   416   441 I C02b87/AudioEffectChainManager: [SendEffectApVolume]SendEffectApVolume
02-05 15:41:03.211   416   441 I C02b8b/AudioVolumeManager: [SetSharedVolume]Success Set Shared Volume with StreamType:5, DeviceType:2
02-05 15:41:03.211   416   441 I C02b8b/AudioServer: [NotifyStreamVolumeChanged]Enter the notifyStreamVolumeChanged interface
02-05 15:41:03.211   416   441 I C02b86/AudioServer: [SetSystemVolumeToEffect]streamType: 5, systemVolume: 0.195394
02-05 15:41:03.211   416   441 I C02b87/AudioEffectChainManager: [SetEffectSystemVolume]systemVolumeType: 2, systemVolume: 0.195394
02-05 15:41:03.211   416   441 I C02b87/AudioEffectChainManager: [EffectApVolumeUpdate]send volume to ap.
02-05 15:41:03.211   416   441 I C02b87/AudioEffectChainManager: [SendEffectApVolume]SendEffectApVolume
02-05 15:41:03.211   416   441 W C02b8b/AudioAdapterManager: [GetMinVolumeLevel]can't find volumeType:26 and use default STREAM_MUSIC
02-05 15:41:03.211   416   441 W C02b8b/AudioAdapterManager: [GetMaxVolumeLevel]can't find volumeType:26 and use default STREAM_MUSIC
02-05 15:41:03.211   416   441 I C02b8b/AudioVolumeManager: [SetSharedVolume]Don't find and Set Shared Volume failed
02-05 15:41:03.211   416   441 E C02b8b/AudioAdapterManager: [GetMinVolumeLevel]Invalid stream type
02-05 15:41:03.211   416   441 E C02b8b/AudioAdapterManager: [GetMaxVolumeLevel]Invalid stream type
02-05 15:41:03.211   416   441 I C02b8b/AudioVolumeManager: [SetSharedVolume]Success Set Shared Volume with StreamType:100, DeviceType:2
02-05 15:41:03.211   416   441 I C02b8b/AudioServer: [NotifyStreamVolumeChanged]Enter the notifyStreamVolumeChanged interface
02-05 15:41:03.211   416   441 I C02b86/AudioServer: [SetSystemVolumeToEffect]streamType: 100, systemVolume: 0.000000
02-05 15:41:03.211   416   441 I C02b87/AudioEffectChainManager: [SetEffectSystemVolume]systemVolumeType: 100, systemVolume: 0.000000
02-05 15:41:03.211   416   441 I C02b87/AudioEffectChainManager: [EffectApVolumeUpdate]send volume to ap.
02-05 15:41:03.211   416   441 I C02b87/AudioEffectChainManager: [SendEffectApVolume]SendEffectApVolume
02-05 15:41:03.211   416   441 I C02b8b/AudioOffloadStream: [CheckStreamOffloadMode]Offload not available, skipped for set
02-05 15:41:03.211   416   984 I C02b8b/AudioPolicyServerHandler: [HandleRendererInfoEvent]pids: [1337,642,770,635,311,] size: 5
02-05 15:41:03.211   416   441 I C02b86/IpcStreamInServer: [Start]IpcStreamInServer::Start()
02-05 15:41:03.211   416   441 I C02b83/RendererInServer: [StartInner]sessionId: 100004
02-05 15:41:03.211   416   441 I C02b83/RendererInServer: [StartInner]fadeoutFlag_ = NO_FADING
02-05 15:41:03.211   416   441 I C02b86/PaRendererStreamImpl: [Start]Enter
02-05 15:41:03.211   416   441 I C02b83/RendererInServer: [StartInner]Server update position 0 time 291978538960.
02-05 15:41:03.211   416   441 I C02b8b/AudioRenderDfxCollector: [WriteInfoMsg][Start] duration=1
02-05 15:41:03.212   416   967 I C02b8b/AudioVolume: [GetVolume]volume, sessionId:100004, volume:0.195394, volumeType:17, devClass:primary, system volume:0.195394, stream volume:1.000000 app volume:1.000000
02-05 15:41:03.212   416   967 I C02b89/HdiSink: session 100004, stream system_enforced, zerovol 0
02-05 15:41:03.212   416   967 E C02510/audio_render_proxy: AudioRenderProxySetExtraParams: call failed! error code is -1
02-05 15:41:03.212   416   967 I C02b89/HdiSink: PaInputStateChangeCb, Sink[primary]->SinkInput[system_enforced_0_642_100004_of0] state change:[CORKED]-->[RUNNING]
02-05 15:41:03.212   416   967 I C02b89/HdiSink: PaInputStateChangeCb, Restart with rate:48000,channels:2, format:2
02-05 15:41:03.212   416   968 I C02b89/AudioRenderSink: [Start]halName: primary
02-05 15:41:03.212   416   968 I C02b89/AudioRunningLock: [Lock]in
02-05 15:41:03.212   416   968 E C02b89/AudioRunningLock: [Lock]lock is nullptr
02-05 15:41:03.213   416   968 I C02b8b/AudioService: [UpdateAudioSinkState]Sink 13 started
02-05 15:41:03.213   416   967 I C02b89/HdiSink: store fadingFlagForPrimary for 1
02-05 15:41:03.213   416   967 I C02b89/HdiSink: PaInputStateChangeCb, Successfully restarted HDI renderer
02-05 15:41:03.213   416   967 I C02b89/HdiSink: Sink[primary] state change:[IDLE]-->[RUNNING]
02-05 15:41:03.213   416   967 I C02b8b/AudioLimiter: [AudioLimiter]AudioLimiter
02-05 15:41:03.213   416   967 I C02b8b/AudioLimiterManager: [CreateLimiter]Create limiter success, sinkIndex = 0
02-05 15:41:03.213   416   967 I C02b8b/AudioLimiter: [SetConfig]maxRequest = 4096, biteSize = 2, sampleRate = 48000, channels = 2,algoFrameLen_ = 512, latency_ = 5
02-05 15:41:03.213   416   443 I C02b87/AudioEffectChainManager: [EffectApVolumeUpdate]send volume to ap.
02-05 15:41:03.213   416   443 I C02b87/AudioEffectChainManager: [SendEffectApVolume]SendEffectApVolume
02-05 15:41:03.213   416   443 I C02b87/AudioEffectChainManager: [UpdateDefaultAudioEffect]newest stream, maxDefaultSessionID: 0, sceneType: ,maxSessionID: 0, sceneType:
02-05 15:41:03.213   416   443 I P02b87/AudioEffectChainManager: [SetHdiParam]set hdi room mode sceneType: -1
02-05 15:41:03.213   416   443 E C02b87/AudioEffectChainManager: [SetHdiParam]set hdi room mode failed, ret is -62980096
02-05 15:41:03.213   416  1154 I C02b86/PaRendererStreamImpl: [PAStreamStartSuccessCb]PAStreamStartSuccessCb in
02-05 15:41:03.213   416  1154 I C02b83/RendererInServer: [OnStatusUpdate]100004 recv operation:0 standByEnable_:false
02-05 15:41:03.213   416   967 I C02b89/HdiSink: SceneToResamplerMap new [SCENE_DEFAULT], output channels[2], sample rate[48000], format[5]
02-05 15:41:03.213   416   967 I C02b88/PulseAudio: pa_resampler_new: rate 48000 -> 48000 (method trivial), format float32le -> float32le (intermediate float32le), channels 2 -> 2 (resampling 2)
02-05 15:41:03.213   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.213   416   967 I C02b89/HdiSink: Timing begins, will close [EFFECT_NONE] effect after [4]s
02-05 15:41:03.213   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.214   416   967 I P02b89/HdiSink: [ProcessAudioVolume]pa_memblock_is_silence
02-05 15:41:03.214   416   967 I C02b89/HdiSink: sessionID:100004, length:4096, volumeBeg:0.000000, volumeEnd:0.195394, fadeBeg:1.000000, fadeEnd:1.000000
02-05 15:41:03.214   416   967 I C02b8b/AudioVolume: [SetHistoryVolume]history volume, sessionId:100004, volume:0.195394
02-05 15:41:03.214   416   441 I C02b8b/AudioPolicyServer: [GetAppVolumeLevel]GetAppVolumeLevel appUid : 0
02-05 15:41:03.214   416   441 I C02b8b/AudioStreamCollector: [UpdateRendererStream]UpdateRendererStream client 0 state 2 session 100004
02-05 15:41:03.214   416   967 I C02b8b/AudioPerformanceMonitor: [RecordSilenceState]start record silence state of sessionId : 100004
02-05 15:41:03.214   416   967 I P02b89/HdiSink: [PreparePrimaryFading]pa_memblock_is_silence
02-05 15:41:03.214   416   982 I C02b8b/AudioPolicyServerHandler: [HandleRendererInfoEvent]pids: [1337,642,770,635,311,] size: 5
02-05 15:41:03.214   416   441 I P02b8b/AudioA2dpOffloadManager: [UpdateA2dpOffloadFlag]deviceType: 2, currentActiveDevice_: 2, allActiveSessions: 1, a2dpOffloadFlag: 0, receiveOffloadFlag: 0
02-05 15:41:03.214   416   441 I P02b8b/AudioA2dpOffloadManager: [UpdateOffloadWhenActiveDeviceSwitchFromA2dp]a2dpOffloadFlag change from 0 to 0
02-05 15:41:03.214   416   441 I P02b8b/AudioA2dpOffloadManager: [OffloadStopPlaying]OffloadStopPlaying, a2dpOffloadFlag_: 0, sessionIds: 1
02-05 15:41:03.214   416   441 I C02b8b/AudioOffloadStream: [CheckStreamOffloadMode]Offload not available, skipped for set
02-05 15:41:03.214   416  1154 I C02b83/RendererInServer: [OnStatusUpdate]100004 recv operation:7 standByEnable_:false
02-05 15:41:03.214   416   441 I C02b8b/AudioDeviceLock: [SendA2dpConnectedWhileRunning]Notify client not to block.
02-05 15:41:03.214   416  1154 I C02b83/RendererInServer: [StandByCheck]sessionId:100004 standByCounter_:0 standByEnable_:false
02-05 15:41:03.214   416   967 I C02b89/HdiSink: do fade-in for MIXED DATA
02-05 15:41:03.214   416   967 I C02b89/HdiSink: length:8192 channels:2 format:4 fadeType:0
02-05 15:41:03.214   416   441 I C02b8b/AudioOffloadStream: [CheckStreamOffloadMode]Offload not available, skipped for set
02-05 15:41:03.214   416  2315 I C02b8b/AudioServer: [UpdateSessionConnectionState]Server get sessionID: 100004, state: 11
02-05 15:41:03.215   416   968 E C02b89/AudioRunningLock: [UpdateAppsUidToPowerMgr]lock is nullptr
02-05 15:41:03.220   416   441 I C02b8b/AudioSchedule: [ScheduleReportData]Report tid 2308
02-05 15:41:03.234   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.234   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.235   416   967 I C02b89/HdiSink: do fading in for sink[4],buffer avg:77
02-05 15:41:03.235   416   967 I C02b89/HdiSink: length:3840 channels:2 format:1 fadeType:0
02-05 15:41:03.235   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.235   416  1154 I P02b86/PaRendererStreamImpl: [PAStreamSetStartedCb]PAStreamSetStartedCb
02-05 15:41:03.235   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.236   416   968 I C02b82/AudioLogUtils: [ProcessVolumeData][AudioSinkprimary] slient 356frames change to not slient
02-05 15:41:03.236   416   968 E C02b89/AudioRunningLock: [UpdateAppsUidToPowerMgr]lock is nullptr
02-05 15:41:03.257   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.257   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.257   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.257   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.258   416   968 E C02b89/AudioRunningLock: [UpdateAppsUidToPowerMgr]lock is nullptr
02-05 15:41:03.277   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.277   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.277   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.278   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.278   416   968 E C02b89/AudioRunningLock: [UpdateAppsUidToPowerMgr]lock is nullptr
02-05 15:41:03.298   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.298   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.298   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.299   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.299   416   968 E C02b89/AudioRunningLock: [UpdateAppsUidToPowerMgr]lock is nullptr
02-05 15:41:03.320   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.320   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.320   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.321   416   968 E C02b89/AudioRunningLock: [UpdateAppsUidToPowerMgr]lock is nullptr
02-05 15:41:03.341   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.341   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.341   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.341   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.341   416  1154 I C02b83/RendererInServer: [WriteData]sessionId: 100004 OHAudioBuffer 0size is not enough
02-05 15:41:03.343   416   968 E C02b89/AudioRunningLock: [UpdateAppsUidToPowerMgr]lock is nullptr
02-05 15:41:03.362   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.362   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.363   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.363   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.364   416   968 E C02b89/AudioRunningLock: [UpdateAppsUidToPowerMgr]lock is nullptr
02-05 15:41:03.384   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.384   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.384   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.384   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.385   416   968 E C02b89/AudioRunningLock: [UpdateAppsUidToPowerMgr]lock is nullptr
02-05 15:41:03.405   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.405   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.405   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.406   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.408   416   968 E C02b89/AudioRunningLock: [UpdateAppsUidToPowerMgr]lock is nullptr
02-05 15:41:03.426   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.427   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.427   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.428   416   968 E C02b89/AudioRunningLock: [UpdateAppsUidToPowerMgr]lock is nullptr
02-05 15:41:03.448   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.448   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.448   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.448   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.448   416   968 E C02b89/AudioRunningLock: [UpdateAppsUidToPowerMgr]lock is nullptr
02-05 15:41:03.448   416  1154 I C02b83/RendererInServer: [WriteData]sessionId: 100004 OHAudioBuffer 0size is not enough
02-05 15:41:03.469   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.469   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.469   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.469   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.470   416   968 E C02b89/AudioRunningLock: [UpdateAppsUidToPowerMgr]lock is nullptr
02-05 15:41:03.490   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.490   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.491   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.491   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.492   416   968 E C02b89/AudioRunningLock: [UpdateAppsUidToPowerMgr]lock is nullptr
02-05 15:41:03.512   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.512   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.512   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.512   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.512   416   968 E C02b89/AudioRunningLock: [UpdateAppsUidToPowerMgr]lock is nullptr
02-05 15:41:03.533   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.533   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.533   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.534   416   968 E C02b89/AudioRunningLock: [UpdateAppsUidToPowerMgr]lock is nullptr
02-05 15:41:03.554   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.554   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.555   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.555   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.557   416   968 E C02b89/AudioRunningLock: [UpdateAppsUidToPowerMgr]lock is nullptr
02-05 15:41:03.576   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.576   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.576   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.576   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.677   416   968 W C02b8b/AudioPerformanceMonitor: [RecordTimeStamp]AdapterType 1, PipeType 1, write time interval 120 ms! overTime!
02-05 15:41:03.677   416   968 W C02b89/AudioRenderSink: [RenderFrame]len: [4096], cost: [100]ms
02-05 15:41:03.677   416   968 E C02b89/AudioRunningLock: [UpdateAppsUidToPowerMgr]lock is nullptr
02-05 15:41:03.678   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.678   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain
02-05 15:41:03.679   416   967 E C02b87/AudioEffectChainManager: [QueryEffectChannelInfoInner]null audioEffectChain

2026-02-05 19:56:16

执行 bootanimation 利用鸿蒙框架放 启动音没有  跟踪 audio       log 如下

# hilog -r
Log type core,app,only_prerelease buffer clear successfully
# hilog | grep audio
02-05 11:42:56.589   782 18439 I C02b3a/DemuxerLogCompressor: (StringifyMeta(), 185): [track 1]: adts=1|outChannelLayout=3|outChannelCnt=2|blockAlign=0|smpFmt=9|smpFrm=1024|bitRate=124372|bitsPerCodedSmp=16|bi
tsPerRawSmp=0|channelCnt=2|channelLayout=3|csd, size=5|mime=audio/mp4a-latm|lang=*|smpRate=44100|trackStartTime=*|trackType=0|
02-05 11:42:56.590   782 18439 I C02b22/AudioDecoderFilter: #169 audio decoder filter create, isAsyncMode:1
02-05 11:42:56.590   782 18439 I C02b22/DemuxerFilter: (LinkNext(), 737): LinkNext NextFilter, mimeType audio/mp4a-latm filterType 3
02-05 11:42:56.590   782 18439 I C02b22/AudioDecoderFilter: #442 UpdateTrackInfoSampleFormat mime:audio/mp4a-latm
02-05 11:42:56.590   782 18439 E C02b22/AudioDecoderAdapter: (SetParameter(), 73): audiocodec_ is nullptr
02-05 11:42:56.621   782 18439 I C02b24/Filter: (LinkPipeLine(), 60): Filter player.audiodecoder LinkPipeLine:HiPlayer_1, isAsyncMode_:1
02-05 11:42:56.621   782 18439 I C02b24/TaskInner: [Task]:>> player.audiodecoder groupId:HiPlayer_1 type:6 ctor
02-05 11:42:56.621   782 18439 I C02b24/PipelineTreadPool: (PipeLineThread(), 131): PipeLineThread groupId:player.audiodecoder6 type:6 created call
02-05 11:42:56.621   782 18439 I C02b24/Thread: (CreateThread(), 97): thread player.audiodecoder6_S create success
02-05 11:42:56.621   782 18439 W C02b24/Thread: (SetNameInternal(), 124): task name player.audiodecoder6_S exceed max size: 15
02-05 11:42:56.621   782 18439 I C02b24/TaskInner: [Task]:>> player.audiodecoder Init
02-05 11:42:56.621   782 18447 I C02b24/PipelineTreadPool: (Run(), 178): PipeLineThread player.audiodecoder6_S run enter
02-05 11:42:56.621   782 18447 I C02b24/Filter: (ChangeState(), 680): player.audiodecoder > 1, target: 1
02-05 11:42:56.621   782 18447 I C02b24/Filter: (PrepareDone(), 114): Prepare enter player.audiodecoder
02-05 11:42:56.621   782 18439 I C02b24/Filter: (WaitAllState(), 687): player.audiodecoder wait 3
02-05 11:42:56.621   782 18447 I C02b22/AudioSink: (GetAudioLatencyFixDelay(), 59): audio.latency_offset, pid:782 , offset: -1
02-05 11:42:56.621   782 18447 I C02b22/AudioSink: (GetAudioLatencyFixDelay(), 64): audio_sync_fix_delay, pid:782, fixdelay: 120000
02-05 11:42:56.621   782 18447 I C02b24/PluginManagerV2: (CreatePluginByMime(), 34): CreatePluginByMime pluginType: 7 mime: audio/raw
02-05 11:42:56.621   782 18447 I C02b22/AudioSinkFilter: (Init(), 116): audio sink Init called
02-05 11:42:56.621   782 18447 I C02b22/AudioSink: (SetMaxAmplitudeCbStatus(), 1643): audio SetMaxAmplitudeCbStatus  = 1
02-05 11:42:56.621   782 18447 I C02b24/Filter: (LinkPipeLine(), 60): Filter player.audiosink LinkPipeLine:HiPlayer_1, isAsyncMode_:1
02-05 11:42:56.621   782 18447 I C02b24/TaskInner: [Task]:>> player.audiosink groupId:HiPlayer_1 type:2 ctor
02-05 11:42:56.622   782 18447 I C02b24/TaskInner: [Task]:>> player.audiosink Init
02-05 11:42:56.622   782 18447 I C02b24/Filter: (ChangeState(), 680): player.audiodecoder > 3, target: 3
02-05 11:42:56.622   782 18439 I C02b24/Filter: (WaitAllState(), 687): player.audiosink wait 3
02-05 11:42:56.622   782 18448 I P02b22/HiStreamer: #629 Set mimeType: audio/mp4a-latm
02-05 11:42:56.622   782 18448 I P02b22/HiStreamer: #280 Create audio renderer for apppid_ 0 appuid_ 0 contentType 0 streamUsage 15 rendererFlags 0 audioInterruptMode_ 0
02-05 11:42:56.622   782 18448 I P02b22/HiStreamer: #316 volumeMode_ = 0, audioRenderInfo_.volumeMode = 0
02-05 11:42:56.622   782 18448 I P02b22/HiStreamer: #296 Create audio renderer for samplingRate 44100 encoding 0 sampleFormat 1 channels 2
02-05 11:42:56.653   571   624 I C02512/HDF_AUDIO_PRIMARY_IMPL: [CheckParaAttr][line:130]: Audio category audioCategory: 0!
02-05 11:42:56.653   395   434 E C02510/audio_adapter_proxy: AudioAdapterProxyCreateRender: call failed! error code is -1
02-05 11:42:56.655   571   624 I C02512/HDF_AUDIO_PRIMARY_IMPL: [CheckParaAttr][line:130]: Audio category audioCategory: 0!
02-05 11:42:56.655   395 18454 E C02510/audio_adapter_proxy: AudioAdapterProxyCreateRender: call failed! error code is -1
02-05 11:42:56.655   395 18454 E C02b88/HpaeSinkOutputNode: [RenderSinkInit]audioRendererSink_ init failed, errCode is -62980104
02-05 11:42:56.659   782 18448 I C02b83/AudioRenderer: [InitAudioRouteCallback]set audio route callback, sessionId: 100001
02-05 11:42:56.662   782 18448 I C02b24/Filter: (ChangeState(), 680): player.audiosink > 1, target: 1
02-05 11:42:56.662   782 18448 I C02b24/Filter: (PrepareDone(), 114): Prepare enter player.audiosink
02-05 11:42:56.662   782 18448 I C02b24/Filter: (ChangeState(), 680): player.audiosink > 3, target: 3
02-05 11:42:56.699   782 18447 I C02b24/Filter: (StartDone(), 164): Start in player.audiodecoder
02-05 11:42:56.699   782 18447 I C02b24/Filter: (ChangeState(), 680): player.audiodecoder > 4, target: 4
02-05 11:42:56.699   782 18447 I C02b24/TaskInner: [Task]:player.audiodecoder Start
02-05 11:42:56.699   782 18447 I C02b24/TaskInner: (Start(), 128): task player.audiodecoder Start done, topProcessUs:-1
02-05 11:42:56.699   782 18448 I C02b24/Filter: (StartDone(), 164): Start in player.audiosink
02-05 11:42:56.699   782 18439 I C02b24/Filter: (WaitAllState(), 687): player.audiodecoder wait 4
02-05 11:42:56.699   782 18439 I C02b24/Filter: (WaitAllState(), 687): player.audiosink wait 4
02-05 11:42:56.700   395   434 I C02b8b/AudioInterruptService: [GetAudioInterruptBundleName]Get audio interrupt bundle name:
02-05 11:42:56.700   395   434 W C02b8b/AudioInterruptService: [PrintLogsOfFocusStrategyBaseMusic]The audio focus strategy based on music: forceType: 0, hintType: 0, actionOn: 1. Caller info: pid [782], uid [0
], bundleName [].
02-05 11:42:56.701   395   434 I C02b8b/AudioInterruptService: [ProcessAudioScene]audioFocusInfoList is empty
02-05 11:42:56.701   395   434 W C02b87/AudioSessionService: [IsAudioSessionActivated]The audio seesion of pid 782 is not found!
02-05 11:42:56.701   395   434 I C02b8b/AudioSceneManager: Set audio scene start 0, lastScene 0
02-05 11:42:56.724   782 18448 E C02b83/AudioRenderer: [GetStartStreamResult]Start audio stream failed
02-05 11:42:56.724   395   434 W C02b87/AudioSessionService: [IsAudioSessionActivated]The audio seesion of pid 782 is not found!
02-05 11:42:56.724   782 18440 E C02b2b/PlayerListenerProxy: player callback onError, errorCode: 331350552, errorMsg: unsupport interface, audio render failed
02-05 11:42:56.724   782 18448 I C02b24/Filter: (ChangeState(), 680): player.audiosink > 9, target: 9
02-05 11:42:56.724   782 18448 I C02b24/TaskInner: [Task]:player.audiosink Start
02-05 11:42:56.724   782 18448 I C02b24/TaskInner: (Start(), 128): task player.audiosink Start done, topProcessUs:-1
02-05 11:42:56.725   782 18439 E C02b24/Filter: (WaitAllState(), 698): Filter(player.audiosink) wait state 4 fail, curState 9
02-05 11:42:56.726 18430 18437 E C0140b/BootAnimation: PlayerCallbackError received, errorMsg:unsupport interface, audio render failed
02-05 11:42:56.727   782 18439 I C02b24/Filter: (StopDone(), 382): Stop in player.audiodecoder
02-05 11:42:56.727   782 18439 I C02b24/Filter: (ChangeState(), 680): player.audiodecoder > 7, target: 7
02-05 11:42:56.727   782 18439 I C02b24/TaskInner: [Task]:>> player.audiodecoder Stop
02-05 11:42:56.727   782 18439 I C02b24/Filter: (StopDone(), 382): Stop in player.audiosink
02-05 11:42:56.727   782 18439 I C02b22/AudioSinkFilter: (DoStop(), 235): audio sink stop start
02-05 11:42:56.727   395   434 W C02b87/AudioSessionService: [IsAudioSessionActivated]The audio seesion of pid 782 is not found!
02-05 11:42:56.727   782 18439 I C02b22/AudioSinkFilter: (DoStop(), 241): audio sink stop finish
02-05 11:42:56.727   782 18439 I C02b24/Filter: (ChangeState(), 680): player.audiosink > 9, target: 7
02-05 11:42:56.727   782 18439 I C02b24/TaskInner: [Task]:>> player.audiosink Stop
02-05 11:42:56.781   782 18439 I C02b24/Filter: (WaitAllState(), 687): player.audiodecoder wait 7
02-05 11:42:56.781   782 18439 I C02b24/Filter: (WaitAllState(), 687): player.audiosink wait 7
02-05 11:42:56.781   782 18439 E C02b24/Filter: (WaitAllState(), 698): Filter(player.audiosink) wait state 7 fail, curState 9
02-05 11:42:56.782   782 18448 I C02b24/Filter: (ReleaseDone(), 429): Release in player.audiosink
02-05 11:42:56.782   782 18467 I C02b24/Filter: (WaitAllState(), 687): player.audiodecoder wait 8
02-05 11:42:56.782   782 18447 I C02b24/Filter: (ReleaseDone(), 429): Release in player.audiodecoder
02-05 11:42:56.783   782 18447 I C02b24/Filter: (ChangeState(), 680): player.audiodecoder > 8, target: 8
02-05 11:42:56.783   782 18467 I C02b24/Filter: (WaitAllState(), 687): player.audiosink wait 8
02-05 11:42:56.785   395   434 W C02b87/AudioSessionService: [IsAudioSessionActivated]The audio seesion of pid 782 is not found!
02-05 11:42:56.787   782 18448 I C02b24/Filter: (ChangeState(), 680): player.audiosink > 8, target: 8
02-05 11:42:56.789   782 18467 I C02b24/TaskInner: [Task]:>> player.audiodecoder Stop
02-05 11:42:56.789   782 18467 I C02b22/AudioDecoderFilter: #184 audio decoder filter destroy
02-05 11:42:56.789   782 18467 I C02b24/TaskInner: [Task]:>> player.audiosink Stop
02-05 11:42:56.790   782 18467 I C02b24/TaskInner: [Task]:player.audiosink DeInit
02-05 11:42:56.790   782 18467 I C02b24/TaskInner: [Task]:player.audiodecoder DeInit
02-05 11:42:56.790   782 18467 E C02b24/PipelineTreadPool: (RemoveTask(), 223): PipeLineThread player.audiodecoder6_S remove all Task
02-05 11:42:56.790   782 18467 I C02b24/PipelineTreadPool: (DestroyThread(), 112): DestroyThread groupId:player.audiodecoder6
02-05 11:42:56.790   782 18467 I C02b24/PipelineTreadPool: (Exit(), 162): PipeLineThread player.audiodecoder6_S exit
02-05 11:42:56.790   782 18447 W C02b24/Thread: (Run(), 162): Thread player.audiodecoder6_S exited...
02-05 11:43:47.835   395   527 I C02b8b/AudioPolicyServer: [OnReceiveEvent]receive SCREEN_ON action, control audio focus if need
02-05 11:43:47.835   395   527 I C02b8b/PowerStateListener: [ControlAudioFocus]control audio focus, want: 0, last: 0
# cat /proc/asound/
card0/   cards    devices  fthda/   hwdep    pcm      timers   version
# cat /proc/asound/devices
  2: [ 0- 0]: digital audio playback
  3: [ 0- 0]: digital audio capture
  4: [ 0]   : control
 33:        : timer
# cat /proc/asound/fthda/
codec#0  id       pcm0c/   pcm0p/
 

2026-02-05 11:45:21
2026-02-05 19:57:07
引用:“从最新的日志来看,问题已经从 状态机超时 演变为 音频渲染路径初始化失败,具体表现为: 关键错误链: InitDeviceSwitchValue 失败(swVal is invalid or not a string) 导致 SetRenderPathValue 失败 最终 AudioAdapterCreateRenderPre 报错 Path Select Fail! 根本原因: 音频硬件抽象层”
感谢答复,帮看下 OH5 正常 放音 log 和OH6 差别很大 。无法对比分析。。。 难道OH5,6 差别这么大?
2026-02-05 19:57:07
2026-02-05 19:01:49
从最新的日志来看,问题已经从 状态机超时 演变为 音频渲染路径初始化失败,具体表现为: 关键错误链: InitDeviceSwitchValue 失败(swVal is invalid or not a string) 导致 SetRenderPathValue 失败 最终 AudioAdapterCreateRenderPre 报错 Path Select Fail! 根本原因: 音频硬件抽象层(HDI)在初始化渲染路径时,无法正确解析设备切换参数(swVal),可能是配置文件缺失、格式错误或硬件适配层(HAL)逻辑缺陷。
2026-02-05 19:01:49