小米5 android7.0 ccexp.AudioEngine 不能同时播放两个背景音效

游戏有个需求:切换背景音效时,旧的背景音乐慢慢减小音量,新的背景音乐慢慢增大音量。
我使用的是ccexp.AudioEngine
在一台小米5会有这种问题:只会有一个音乐在播放,而且切换时会顿卡。
每帧代码如下
function AudioManager:fadeing()
if self.fade_in_bgm and self:isAvalibleAudio(self.fade_in_bgm.audioID) then
self.fade_in_bgm_volumn = self.fade_in_bgm_volumn + self.fade_speed
self.fade_in_bgm_volumn = math.floor(self.fade_in_bgm_volumn * 10000) / 10000
ccexp.AudioEngine:setVolume(self.fade_in_bgm.audioID, self.fade_in_bgm_volumn)
if self.fade_in_bgm_volumn >= 1 then
self.fade_in_bgm_volumn = 0;
self.fade_in_bgm = nil;
end
end

if self.fade_out_bgm and self:isAvalibleAudio(self.fade_out_bgm.audioID) then
    self.fade_out_bgm_volumn = self.fade_out_bgm_volumn - self.fade_speed
    self.fade_out_bgm_volumn = math.floor(self.fade_out_bgm_volumn * 10000) / 10000
    ccexp.AudioEngine:setVolume(self.fade_out_bgm.audioID, self.fade_out_bgm_volumn)
    
    if self.fade_out_bgm_volumn <= 0 then
        ccexp.AudioEngine:pause(self.fade_out_bgm.audioID);
        self.fade_out_bgm_volumn = 1;
        self.fade_out_bgm = nil;
    end
end

end

调试的打印如下

09-13 14:56:37.791: D/cocos2d-x debug info(3453): [LUA-print] playBackgroundById id = 2 need_fade = true self:isBackgroundMusicPlaying() = true
09-13 14:56:37.791: D/cocos2d-x debug info(3453): [LUA-print] start fade
09-13 14:56:37.791: D/NuPlayerDriver(796): start(0xf462acc0), state is 6, eos is 0
09-13 14:56:37.792: D/cocos2d-x debug info(3453): cocos2d: TextureCache: removing unused texture: assets/res/image/ui/12_number/09_number_qianghua.png
09-13 14:56:37.792: V/msm8974_platform(788): platform_send_gain_dep_cal: Not Voice call usecase, apply new cal for level 2
09-13 14:56:37.792: V/msm8974_platform(788): platform_send_gain_dep_cal: out device is 2
09-13 14:56:37.792: D/ACDB-LOADER(788): ACDB -> send_audvoltable
09-13 14:56:37.792: D/ACDB-LOADER(788): ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE, vol index 2
09-13 14:56:37.792: D/(788): ACDBFILE_MGR:Read the devices count as zero, please check the acdb file
09-13 14:56:37.792: D/ACDB-LOADER(788): ACDB -> AUDIO_SET_VOL_CAL cal type = 40
09-13 14:56:37.798: E/AudioFlinger(788): open /proc/796/cmdline error
09-13 14:56:37.798: I/AudioFlinger(788): setAppName(), name=[], active=[1]
09-13 14:56:37.798: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=23
09-13 14:56:37.798: V/EffectDiracSound(788): DiracSound_Command EFFECT_CMD_SET_APP_NAME: stream=3, name=+
09-13 14:56:37.798: V/msm8974_platform(788): platform_send_gain_dep_cal: Not Voice call usecase, apply new cal for level 5
09-13 14:56:37.798: V/msm8974_platform(788): platform_send_gain_dep_cal: out device is 2
09-13 14:56:37.798: D/ACDB-LOADER(788): ACDB -> send_audvoltable
09-13 14:56:37.798: D/ACDB-LOADER(788): ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE, vol index 5
09-13 14:56:37.798: D/(788): ACDBFILE_MGR:Read the devices count as zero, please check the acdb file
09-13 14:56:37.798: D/ACDB-LOADER(788): ACDB -> AUDIO_SET_VOL_CAL cal type = 40
09-13 14:56:37.800: D/audio_hw_primary(788): copl(0xe68f0200):pause compress driver
09-13 14:56:37.800: D/audio_hw_primary(788): copl(0xe68f0200):calling compress flush
09-13 14:56:37.857: D/audio_hw_primary(788): copl(0xe68f0200):out of compress_wait
09-13 14:56:37.857: D/audio_hw_primary(788): copl(0xe68f0200):out of compress flush
09-13 14:56:37.859: W/AudioTrack(796): dead IAudioTrack, Offloaded or Direct, creating a new one from obtainBuffer()
09-13 14:56:37.859: D/NuPlayerDriver(796): seekTo(0xf462acc0) 41698 ms at state 5
09-13 14:56:37.859: D/NuPlayerDriver(796): notifyListener_l(0xf462acc0), (7, 0, 0), loop setting(0, 1)
09-13 14:56:37.859: W/AudioFlinger(788): An invalidated track shouldn’t be in active list
09-13 14:56:37.860: D/audio_hw_primary(788): copl(0xe68f0200):send new gapless metadata
09-13 14:56:37.860: D/NuPlayerDriver(796): notifyListener_l(0xf462acc0), (6, 0, 0), loop setting(0, 1)
09-13 14:56:37.861: E/AudioFlinger(788): open /proc/796/cmdline error
09-13 14:56:37.862: I/AudioFlinger(788): setAppName(), name=[], active=[0]
09-13 14:56:37.862: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=23
09-13 14:56:37.862: V/EffectDiracSound(788): DiracSound_Command EFFECT_CMD_SET_APP_NAME: stream=3, name=-
09-13 14:56:37.864: E/AudioFlinger(788): open /proc/796/cmdline error
09-13 14:56:37.864: I/AudioFlinger(788): setAppName(), name=[], active=[0]
09-13 14:56:37.864: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=23
09-13 14:56:37.864: V/EffectDiracSound(788): DiracSound_Command EFFECT_CMD_SET_APP_NAME: stream=3, name=-
09-13 14:56:37.865: D/audio_hw_primary(788): copl(0xe68f0200):pause compress driver
09-13 14:56:37.866: V/AudioPolicyManagerCustom(788): getNewOutputDevice() selected device 0
09-13 14:56:37.922: W/AMessage(796): failed to deliver message as target handler 1206 is gone.
09-13 14:56:37.922: W/AMessage(796): failed to post message as target looper for handler 1206 is gone.
09-13 14:56:37.922: W/AMessage(796): failed to post message as target looper for handler 1206 is gone.
09-13 14:56:37.922: W/AMessage(796): failed to post message as target looper for handler 1206 is gone.
09-13 14:56:37.922: W/AMessage(796): failed to post message as target looper for handler 1206 is gone.
09-13 14:56:37.922: W/AMessage(796): failed to post message as target looper for handler 1206 is gone.
09-13 14:56:37.922: V/AudioPolicyManagerCustom(788): getNewOutputDevice() selected device 2
09-13 14:56:37.922: W/AMessage(796): failed to post message as target looper for handler 1206 is gone.
09-13 14:56:37.922: W/AMessage(796): failed to post message as target looper for handler 1206 is gone.
09-13 14:56:37.922: W/AMessage(796): failed to post message as target looper for handler 1206 is gone.
09-13 14:56:37.922: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=9
09-13 14:56:37.922: V/EffectDiracSound(788): DiracSound_Command EFFECT_CMD_SET_DEVICE: 0x00000002
09-13 14:56:37.922: W/AMessage(796): failed to post message as target looper for handler 1206 is gone.
09-13 14:56:37.923: D/audio_hw_primary(788): out_set_parameters: enter: usecase(3: compress-offload-playback) kvpairs: routing=2
09-13 14:56:37.923: W/AMessage(796): failed to post message as target looper for handler 1206 is gone.
09-13 14:56:37.923: D/audio_hw_primary(788): select_devices for use case (compress-offload-playback)
09-13 14:56:37.923: W/AMessage(796): failed to post message as target looper for handler 1206 is gone.
09-13 14:56:37.923: W/AMessage(796): failed to post message as target looper for handler 1206 is gone.
09-13 14:56:37.923: V/msm8974_platform(788): platform_get_native_support:napb: ui Prop enabled(1) version(3)
09-13 14:56:37.923: V/msm8974_platform(788): platform_get_output_snd_device: enter: output devices(0x2)
09-13 14:56:37.923: V/msm8974_platform(788): platform_get_output_snd_device: exit: snd_device(speaker)
09-13 14:56:37.923: V/AudioPolicyManagerCustom(788): checkAndSetVolume() cannot set stream 6 volume with force use = 0 for comm
09-13 14:56:37.924: E/AudioFlinger(788): open /proc/796/cmdline error
09-13 14:56:37.924: I/AudioFlinger(788): setAppName(), name=[], active=[1]
09-13 14:56:37.924: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=23
09-13 14:56:37.924: V/EffectDiracSound(788): DiracSound_Command EFFECT_CMD_SET_APP_NAME: stream=3, name=+
09-13 14:56:37.925: D/audio_hw_primary(788): copl(0xe68f0200):calling compress flush
09-13 14:56:37.926: D/audio_hw_primary(788): copl(0xe68f0200):out of compress flush
09-13 14:56:37.938: D/NuPlayerDriver(796): notifyListener_l(0xf462acc0), (4, 0, 0), loop setting(0, 1)
09-13 14:56:37.941: W/Utils(796): track of type ‘audio/mpeg’ does not publish channel mask, channel count 2
09-13 14:56:37.942: V/AudioPolicyManagerCustom(788): isOffloadSupported: SR=44100, CM=0x3, Format=0x1000000, StreamType=3, BitRate=128000, duration=172039492 us, has_video=0
09-13 14:56:37.942: I/AudioPolicyManagerCustom(788): Offload min duration is 15s
09-13 14:56:37.942: V/AudioPolicyManagerCustom(788): isOffloadSupported() profile found
09-13 14:56:37.942: V/AudioPolicyManagerCustom(788): getOutput() reusing direct output 141
09-13 14:56:37.945: D/NuPlayerDriver(796): notifyListener_l(0xf462acc0), (6, 0, 0), loop setting(0, 1)
09-13 14:56:37.945: E/AudioFlinger(788): open /proc/796/cmdline error
09-13 14:56:37.945: I/AudioFlinger(788): setAppName(), name=[], active=[1]
09-13 14:56:37.945: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=23
09-13 14:56:37.945: V/EffectDiracSound(788): DiracSound_Command EFFECT_CMD_SET_APP_NAME: stream=3, name=+
09-13 14:56:37.945: V/msm8974_platform(788): platform_send_gain_dep_cal: Not Voice call usecase, apply new cal for level 2
09-13 14:56:37.945: V/msm8974_platform(788): platform_send_gain_dep_cal: out device is 2
09-13 14:56:37.945: D/ACDB-LOADER(788): ACDB -> send_audvoltable
09-13 14:56:37.945: D/ACDB-LOADER(788): ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE, vol index 2
09-13 14:56:37.945: D/(788): ACDBFILE_MGR:Read the devices count as zero, please check the acdb file
09-13 14:56:37.945: D/ACDB-LOADER(788): ACDB -> AUDIO_SET_VOL_CAL cal type = 40
09-13 14:56:37.947: D/audio_hw_primary(788): copl(0xe68f0200):pause compress driver
09-13 14:56:37.947: D/audio_hw_primary(788): copl(0xe68f0200):calling compress flush
09-13 14:56:37.947: D/audio_hw_primary(788): copl(0xe68f0200):out of compress flush
09-13 14:56:37.948: D/audio_hw_primary(788): out_set_parameters: enter: usecase(3: compress-offload-playback) kvpairs: music_offload_avg_bit_rate=128000;music_offload_sample_rate=44100
09-13 14:56:37.961: D/audio_hw_primary(788): copl(0xe68f0200):send new gapless metadata
09-13 14:56:37.962: W/AudioFlinger(788): An invalidated track shouldn’t be in active list
09-13 14:56:37.967: D/AudioSink(796): callbackwrapper: EVENT_UNDERRUN (discarded)
09-13 14:56:37.971: W/AudioTrack(796): dead IAudioTrack, Offloaded or Direct, creating a new one from processAudioBuffer()
09-13 14:56:37.972: E/AudioFlinger(788): open /proc/796/cmdline error
09-13 14:56:37.972: I/AudioFlinger(788): setAppName(), name=[], active=[0]
09-13 14:56:37.972: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=23
09-13 14:56:37.972: V/EffectDiracSound(788): DiracSound_Command EFFECT_CMD_SET_APP_NAME: stream=3, name=-
09-13 14:56:37.979: D/AudioSink(796): callbackwrapper: EVENT_UNDERRUN (discarded)
09-13 14:56:37.987: W/Utils(796): track of type ‘audio/mpeg’ does not publish channel mask, channel count 2
09-13 14:56:37.988: V/AudioPolicyManagerCustom(788): isOffloadSupported: SR=44100, CM=0x3, Format=0x1000000, StreamType=3, BitRate=128000, duration=173162738 us, has_video=0
09-13 14:56:37.988: I/AudioPolicyManagerCustom(788): Offload min duration is 15s
09-13 14:56:37.988: V/AudioPolicyManagerCustom(788): isOffloadSupported() profile found
09-13 14:56:37.989: V/AudioPolicyManagerCustom(788): getOutput() reusing direct output 141
09-13 14:56:37.990: D/AudioSink(796): callbackwrapper: EVENT_UNDERRUN (discarded)
09-13 14:56:37.992: E/AudioFlinger(788): open /proc/796/cmdline error
09-13 14:56:37.992: I/AudioFlinger(788): setAppName(), name=[], active=[1]
09-13 14:56:37.992: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=23
09-13 14:56:37.992: V/EffectDiracSound(788): DiracSound_Command EFFECT_CMD_SET_APP_NAME: stream=3, name=+
09-13 14:56:37.992: V/msm8974_platform(788): platform_send_gain_dep_cal: Not Voice call usecase, apply new cal for level 5
09-13 14:56:37.992: V/msm8974_platform(788): platform_send_gain_dep_cal: out device is 2
09-13 14:56:37.992: D/ACDB-LOADER(788): ACDB -> send_audvoltable
09-13 14:56:37.992: D/ACDB-LOADER(788): ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE, vol index 5
09-13 14:56:37.992: D/(788): ACDBFILE_MGR:Read the devices count as zero, please check the acdb file
09-13 14:56:37.992: D/ACDB-LOADER(788): ACDB -> AUDIO_SET_VOL_CAL cal type = 40
09-13 14:56:37.993: D/audio_hw_primary(788): copl(0xe68f0200):pause compress driver
09-13 14:56:37.994: D/audio_hw_primary(788): copl(0xe68f0200):calling compress flush
09-13 14:56:38.050: D/audio_hw_primary(788): copl(0xe68f0200):out of compress flush
09-13 14:56:38.051: D/audio_hw_primary(788): out_set_parameters: enter: usecase(3: compress-offload-playback) kvpairs: music_offload_avg_bit_rate=128000;music_offload_sample_rate=44100
09-13 14:56:38.052: W/AudioTrack(796): retrograde timestamp position corrected, -882 = 220 - 1102
09-13 14:56:38.066: W/AudioFlinger(788): An invalidated track shouldn’t be in active list
09-13 14:56:38.066: D/audio_hw_primary(788): copl(0xe68f0200):send new gapless metadata
09-13 14:56:38.067: W/AudioTrack(796): dead IAudioTrack, Offloaded or Direct, creating a new one from obtainBuffer()
09-13 14:56:38.069: E/AudioFlinger(788): open /proc/796/cmdline error
09-13 14:56:38.069: I/AudioFlinger(788): setAppName(), name=[], active=[0]
09-13 14:56:38.069: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=23
09-13 14:56:38.069: V/EffectDiracSound(788): DiracSound_Command EFFECT_CMD_SET_APP_NAME: stream=3, name=-
09-13 14:56:38.073: D/AudioSink(796): callbackwrapper: EVENT_UNDERRUN (discarded)
09-13 14:56:38.084: D/AudioSink(796): callbackwrapper: EVENT_UNDERRUN (discarded)
09-13 14:56:38.085: W/Utils(796): track of type ‘audio/mpeg’ does not publish channel mask, channel count 2
09-13 14:56:38.086: V/AudioPolicyManagerCustom(788): isOffloadSupported: SR=44100, CM=0x3, Format=0x1000000, StreamType=3, BitRate=128000, duration=172039492 us, has_video=0
09-13 14:56:38.086: I/AudioPolicyManagerCustom(788): Offload min duration is 15s
09-13 14:56:38.086: V/AudioPolicyManagerCustom(788): isOffloadSupported() profile found
09-13 14:56:38.087: V/AudioPolicyManagerCustom(788): getOutput() reusing direct output 141
09-13 14:56:38.089: E/AudioFlinger(788): open /proc/796/cmdline error
09-13 14:56:38.090: I/AudioFlinger(788): setAppName(), name=[], active=[1]
09-13 14:56:38.090: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=23
09-13 14:56:38.090: V/EffectDiracSound(788): DiracSound_Command EFFECT_CMD_SET_APP_NAME: stream=3, name=+
09-13 14:56:38.090: V/msm8974_platform(788): platform_send_gain_dep_cal: Not Voice call usecase, apply new cal for level 2
09-13 14:56:38.090: V/msm8974_platform(788): platform_send_gain_dep_cal: out device is 2
09-13 14:56:38.090: D/ACDB-LOADER(788): ACDB -> send_audvoltable
09-13 14:56:38.090: D/ACDB-LOADER(788): ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE, vol index 2
09-13 14:56:38.090: D/(788): ACDBFILE_MGR:Read the devices count as zero, please check the acdb file
09-13 14:56:38.090: D/ACDB-LOADER(788): ACDB -> AUDIO_SET_VOL_CAL cal type = 40
09-13 14:56:38.091: D/audio_hw_primary(788): copl(0xe68f0200):pause compress driver
09-13 14:56:38.091: D/audio_hw_primary(788): copl(0xe68f0200):calling compress flush
09-13 14:56:38.096: D/AudioSink(796): callbackwrapper: EVENT_UNDERRUN (discarded)
09-13 14:56:38.147: D/audio_hw_primary(788): copl(0xe68f0200):out of compress flush
09-13 14:56:38.148: D/audio_hw_primary(788): out_set_parameters: enter: usecase(3: compress-offload-playback) kvpairs: music_offload_avg_bit_rate=128000;music_offload_sample_rate=44100
09-13 14:56:38.149: W/AudioTrack(796): retrograde timestamp position corrected, -441 = 0 - 441
09-13 14:56:38.162: W/AudioTrack(796): dead IAudioTrack, Offloaded or Direct, creating a new one from obtainBuffer()
09-13 14:56:38.162: D/audio_hw_primary(788): copl(0xe68f0200):send new gapless metadata
09-13 14:56:38.163: W/AudioFlinger(788): An invalidated track shouldn’t be in active list
09-13 14:56:38.164: E/AudioFlinger(788): open /proc/796/cmdline error
09-13 14:56:38.165: I/AudioFlinger(788): setAppName(), name=[], active=[0]
09-13 14:56:38.165: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=23
09-13 14:56:38.165: V/EffectDiracSound(788): DiracSound_Command EFFECT_CMD_SET_APP_NAME: stream=3, name=-
09-13 14:56:38.168: W/AMessage(796): failed to post message as target looper for handler 1208 is gone.
09-13 14:56:38.171: D/AudioSink(796): callbackwrapper: EVENT_UNDERRUN (discarded)
09-13 14:56:38.178: W/Utils(796): track of type ‘audio/mpeg’ does not publish channel mask, channel count 2
09-13 14:56:38.179: V/AudioPolicyManagerCustom(788): isOffloadSupported: SR=44100, CM=0x3, Format=0x1000000, StreamType=3, BitRate=128000, duration=173162738 us, has_video=0
09-13 14:56:38.179: I/AudioPolicyManagerCustom(788): Offload min duration is 15s
09-13 14:56:38.179: V/AudioPolicyManagerCustom(788): isOffloadSupported() profile found
09-13 14:56:38.180: V/AudioPolicyManagerCustom(788): getOutput() reusing direct output 141
09-13 14:56:38.182: E/AudioFlinger(788): open /proc/796/cmdline error
09-13 14:56:38.182: I/AudioFlinger(788): setAppName(), name=[], active=[1]
09-13 14:56:38.182: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=23
09-13 14:56:38.182: V/EffectDiracSound(788): DiracSound_Command EFFECT_CMD_SET_APP_NAME: stream=3, name=+
09-13 14:56:38.182: V/msm8974_platform(788): platform_send_gain_dep_cal: Not Voice call usecase, apply new cal for level 5
09-13 14:56:38.182: D/AudioSink(796): callbackwrapper: EVENT_UNDERRUN (discarded)
09-13 14:56:38.182: V/msm8974_platform(788): platform_send_gain_dep_cal: out device is 2
09-13 14:56:38.182: D/ACDB-LOADER(788): ACDB -> send_audvoltable
09-13 14:56:38.182: D/ACDB-LOADER(788): ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE, vol index 5
09-13 14:56:38.182: D/(788): ACDBFILE_MGR:Read the devices count as zero, please check the acdb file
09-13 14:56:38.182: D/ACDB-LOADER(788): ACDB -> AUDIO_SET_VOL_CAL cal type = 40
09-13 14:56:38.184: D/audio_hw_primary(788): copl(0xe68f0200):pause compress driver
09-13 14:56:38.184: D/audio_hw_primary(788): copl(0xe68f0200):calling compress flush
09-13 14:56:38.201: I/XiaomiFirewall(3700): firewall pkgName:android, result:0x0
09-13 14:56:38.206: D/wpa_supplicant(1875): wlan0: Control interface command ‘SIGNAL_POLL’
09-13 14:56:38.240: D/audio_hw_primary(788): copl(0xe68f0200):out of compress flush
09-13 14:56:38.241: D/audio_hw_primary(788): out_set_parameters: enter: usecase(3: compress-offload-playback) kvpairs: music_offload_avg_bit_rate=128000;music_offload_sample_rate=44100
09-13 14:56:38.255: W/AudioFlinger(788): An invalidated track shouldn’t be in active list
09-13 14:56:38.255: D/audio_hw_primary(788): copl(0xe68f0200):send new gapless metadata
09-13 14:56:38.263: W/AudioTrack(796): dead IAudioTrack, Offloaded or Direct, creating a new one from processAudioBuffer()
09-13 14:56:38.263: E/AudioFlinger(788): open /proc/796/cmdline error
09-13 14:56:38.263: I/AudioFlinger(788): setAppName(), name=[], active=[0]
09-13 14:56:38.263: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=23
09-13 14:56:38.263: V/EffectDiracSound(788): DiracSound_Command EFFECT_CMD_SET_APP_NAME: stream=3, name=-
09-13 14:56:38.264: D/AudioSink(796): callbackwrapper: EVENT_UNDERRUN (discarded)
09-13 14:56:38.276: D/AudioSink(796): callbackwrapper: EVENT_UNDERRUN (discarded)
09-13 14:56:38.284: W/Utils(796): track of type ‘audio/mpeg’ does not publish channel mask, channel count 2
09-13 14:56:38.285: V/AudioPolicyManagerCustom(788): isOffloadSupported: SR=44100, CM=0x3, Format=0x1000000, StreamType=3, BitRate=128000, duration=172039492 us, has_video=0
09-13 14:56:38.285: I/AudioPolicyManagerCustom(788): Offload min duration is 15s
09-13 14:56:38.286: V/AudioPolicyManagerCustom(788): isOffloadSupported() profile found
09-13 14:56:38.286: V/AudioPolicyManagerCustom(788): getOutput() reusing direct output 141
09-13 14:56:38.289: E/AudioFlinger(788): open /proc/796/cmdline error
09-13 14:56:38.290: I/AudioFlinger(788): setAppName(), name=[], active=[1]
09-13 14:56:38.290: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=23
09-13 14:56:38.290: V/EffectDiracSound(788): DiracSound_Command EFFECT_CMD_SET_APP_NAME: stream=3, name=+
09-13 14:56:38.290: V/msm8974_platform(788): platform_send_gain_dep_cal: Not Voice call usecase, apply new cal for level 2
09-13 14:56:38.290: V/msm8974_platform(788): platform_send_gain_dep_cal: out device is 2
09-13 14:56:38.290: D/ACDB-LOADER(788): ACDB -> send_audvoltable
09-13 14:56:38.290: D/ACDB-LOADER(788): ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE, vol index 2
09-13 14:56:38.290: D/(788): ACDBFILE_MGR:Read the devices count as zero, please check the acdb file
09-13 14:56:38.290: D/ACDB-LOADER(788): ACDB -> AUDIO_SET_VOL_CAL cal type = 40
09-13 14:56:38.291: D/audio_hw_primary(788): copl(0xe68f0200):pause compress driver
09-13 14:56:38.291: D/audio_hw_primary(788): copl(0xe68f0200):calling compress flush
09-13 14:56:38.347: D/audio_hw_primary(788): copl(0xe68f0200):out of compress flush
09-13 14:56:38.348: D/audio_hw_primary(788): out_set_parameters: enter: usecase(3: compress-offload-playback) kvpairs: music_offload_avg_bit_rate=128000;music_offload_sample_rate=44100
09-13 14:56:38.348: D/AudioSink(796): callbackwrapper: EVENT_UNDERRUN (discarded)
09-13 14:56:38.348: W/AudioTrack(796): retrograde timestamp position corrected, -441 = 0 - 441
09-13 14:56:38.361: D/audio_hw_primary(788): copl(0xe68f0200):send new gapless metadata
09-13 14:56:38.362: W/AudioTrack(796): dead IAudioTrack, Offloaded or Direct, creating a new one from obtainBuffer()
09-13 14:56:38.363: W/AudioFlinger(788): An invalidated track shouldn’t be in active list
09-13 14:56:38.364: E/AudioFlinger(788): open /proc/796/cmdline error
09-13 14:56:38.364: I/AudioFlinger(788): setAppName(), name=[], active=[0]
09-13 14:56:38.364: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=23
09-13 14:56:38.364: V/EffectDiracSound(788): DiracSound_Command EFFECT_CMD_SET_APP_NAME: stream=3, name=-
09-13 14:56:38.367: W/AMessage(796): failed to deliver message as target handler 1210 is gone.
09-13 14:56:38.368: W/AMessage(796): failed to post message as target looper for handler 1210 is gone.
09-13 14:56:38.368: W/AMessage(796): failed to post message as target looper for handler 1210 is gone.
09-13 14:56:38.370: D/AudioSink(796): callbackwrapper: EVENT_UNDERRUN (discarded)
09-13 14:56:38.379: W/Utils(796): track of type ‘audio/mpeg’ does not publish channel mask, channel count 2
09-13 14:56:38.380: V/AudioPolicyManagerCustom(788): isOffloadSupported: SR=44100, CM=0x3, Format=0x1000000, StreamType=3, BitRate=128000, duration=173162738 us, has_video=0
09-13 14:56:38.380: I/AudioPolicyManagerCustom(788): Offload min duration is 15s
09-13 14:56:38.380: V/AudioPolicyManagerCustom(788): isOffloadSupported() profile found
09-13 14:56:38.381: V/AudioPolicyManagerCustom(788): getOutput() reusing direct output 141
09-13 14:56:38.381: D/AudioSink(796): callbackwrapper: EVENT_UNDERRUN (discarded)
09-13 14:56:38.384: E/AudioFlinger(788): open /proc/796/cmdline error
09-13 14:56:38.384: I/AudioFlinger(788): setAppName(), name=[], active=[1]
09-13 14:56:38.384: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=23
09-13 14:56:38.384: V/EffectDiracSound(788): DiracSound_Command EFFECT_CMD_SET_APP_NAME: stream=3, name=+
09-13 14:56:38.384: V/msm8974_platform(788): platform_send_gain_dep_cal: Not Voice call usecase, apply new cal for level 5
09-13 14:56:38.385: V/msm8974_platform(788): platform_send_gain_dep_cal: out device is 2
09-13 14:56:38.385: D/ACDB-LOADER(788): ACDB -> send_audvoltable
09-13 14:56:38.385: D/ACDB-LOADER(788): ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE, vol index 5
09-13 14:56:38.385: D/(788): ACDBFILE_MGR:Read the devices count as zero, please check the acdb file
09-13 14:56:38.385: D/ACDB-LOADER(788): ACDB -> AUDIO_SET_VOL_CAL cal type = 40
09-13 14:56:38.386: D/audio_hw_primary(788): copl(0xe68f0200):pause compress driver
09-13 14:56:38.386: D/audio_hw_primary(788): copl(0xe68f0200):calling compress flush
09-13 14:56:38.394: D/AudioSink(796): callbackwrapper: EVENT_UNDERRUN (discarded)
09-13 14:56:38.442: D/audio_hw_primary(788): copl(0xe68f0200):out of compress flush
09-13 14:56:38.443: D/audio_hw_primary(788): out_set_parameters: enter: usecase(3: compress-offload-playback) kvpairs: music_offload_avg_bit_rate=128000;music_offload_sample_rate=44100
09-13 14:56:38.445: W/AudioTrack(796): retrograde timestamp position corrected, -441 = 0 - 441
09-13 14:56:38.456: W/AudioTrack(796): dead IAudioTrack, Offloaded or Direct, creating a new one from obtainBuffer()
09-13 14:56:38.457: W/AudioFlinger(788): An invalidated track shouldn’t be in active list
09-13 14:56:38.457: D/audio_hw_primary(788): copl(0xe68f0200):send new gapless metadata
09-13 14:56:38.458: E/AudioFlinger(788): open /proc/796/cmdline error
09-13 14:56:38.458: I/AudioFlinger(788): setAppName(), name=[], active=[0]
09-13 14:56:38.458: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=23
09-13 14:56:38.458: V/EffectDiracSound(788): DiracSound_Command EFFECT_CMD_SET_APP_NAME: stream=3, name=-
09-13 14:56:38.459: D/audio_hw_primary(788): out_set_parameters: enter: usecase(3: compress-offload-playback) kvpairs: routing=0
09-13 14:56:38.460: D/audio_hw_primary(788): out_set_parameters: enter: usecase(3: compress-offload-playback) kvpairs: closing=true
09-13 14:56:38.461: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=4
09-13 14:56:38.461: I/EffectDiracSound(788): DiracSound_updateState(), enable=0, hifi=0, device=0x2, headset=5, samplingRate=44100
09-13 14:56:38.461: I/EffectDiracSound(788): DiracSound_updateState(), mode=0, music=0, movie=0, reset=1
09-13 14:56:38.461: I/EffectDiracSound(788): DiracSound_updateState(), Speaker Dual Mode is not supported. Stop update state.
09-13 14:56:38.461: V/EffectDiracSound(788): EFFECT_CMD_DISABLE() OK
09-13 14:56:38.461: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=20
09-13 14:56:38.461: V/EffectDiracSound(788): DiracSound_Command EFFECT_CMD_OFFLOAD
09-13 14:56:38.461: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=1
09-13 14:56:38.461: V/EffectDiracSound(788): DiracSound_setConfig start
09-13 14:56:38.461: I/EffectDiracSound(788): DiracSound_updateState(), enable=0, hifi=0, device=0x2, headset=5, samplingRate=48000
09-13 14:56:38.461: I/EffectDiracSound(788): DiracSound_updateState(), mode=0, music=0, movie=0, reset=0
09-13 14:56:38.461: I/EffectDiracSound(788): DiracSound_updateState(), Speaker Dual Mode is not supported. Stop update state.
09-13 14:56:38.461: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=9
09-13 14:56:38.461: V/EffectDiracSound(788): DiracSound_Command EFFECT_CMD_SET_DEVICE: 0x00000002
09-13 14:56:38.461: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=11
09-13 14:56:38.461: V/EffectDiracSound(788): DiracSound_Command EFFECT_CMD_SET_AUDIO_MODE: 0
09-13 14:56:38.461: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=3
09-13 14:56:38.461: I/EffectDiracSound(788): DiracSound_updateState(), enable=1, hifi=0, device=0x2, headset=5, samplingRate=48000
09-13 14:56:38.461: I/EffectDiracSound(788): DiracSound_updateState(), mode=0, music=0, movie=0, reset=1
09-13 14:56:38.461: I/EffectDiracSound(788): DiracSound_updateState(), Speaker Dual Mode is not supported. Stop update state.
09-13 14:56:38.461: V/EffectDiracSound(788): EFFECT_CMD_ENABLE() OK
09-13 14:56:38.462: D/audio_hw_primary(788): out_set_parameters: enter: usecase(3: compress-offload-playback) kvpairs: exiting=1
09-13 14:56:38.462: D/audio_hw_primary(788): out_standby: enter: stream (0xe68f0200) usecase(3: compress-offload-playback)
09-13 14:56:38.462: D/audio_hw_primary(788): copl(0xe68f0200):standby
09-13 14:56:38.465: W/AudioTrack(796): dead IAudioTrack, Offloaded or Direct, creating a new one from processAudioBuffer()
09-13 14:56:38.465: D/AudioSink(796): callbackwrapper: EVENT_UNDERRUN (discarded)
09-13 14:56:38.465: E/AudioFlinger(788): open /proc/796/cmdline error
09-13 14:56:38.465: I/AudioFlinger(788): setAppName(), name=[], active=[0]
09-13 14:56:38.469: W/AMessage(796): failed to post message as target looper for handler 1212 is gone.
09-13 14:56:38.469: W/AMessage(796): failed to post message as target looper for handler 1212 is gone.
09-13 14:56:38.481: W/Utils(796): track of type ‘audio/mpeg’ does not publish channel mask, channel count 2
09-13 14:56:38.486: W/Utils(796): track of type ‘audio/mpeg’ does not publish channel mask, channel count 2
09-13 14:56:38.530: D/offload_visualizer(788): thread exit
09-13 14:56:38.532: D/audio_hw_primary(788): disable_audio_route: reset and update mixer path: compress-offload-playback speaker
09-13 14:56:38.533: D/soundtrigger(788): audio_extn_sound_trigger_update_stream_status: uc_id 3 of type 0 for Event 2, with Raise=0
09-13 14:56:38.533: D/hardware_info(788): hw_info_append_hw_type : device_name = speaker
09-13 14:56:38.533: D/audio_hw_primary(788): disable_snd_device: snd_device(2: speaker)
09-13 14:56:38.533: D/msm8974_platform(788): platform_can_split_snd_device: snd_device(2) num devices(0) new_snd_devices(0)
09-13 14:56:38.534: D/aud_dev_arbi(788): releaseOneDevice: not sending command, device argument (2) does not match any registered device
09-13 14:56:38.534: D/aud_dev_arbi(788): releaseOneDevice: device 2 owner is 0
09-13 14:56:38.534: I/soundtrigger(788): audio_extn_sound_trigger_update_device_status: device 0x2 of type 0 for Event 0, with Raise=0
09-13 14:56:38.534: D/audio_hw_primary(788): out_standby: exit
09-13 14:56:38.534: E/audio_hw_primary(788): offload_thread_loop: Compress handle is NULL
09-13 14:56:38.534: D/audio_hw_primary(788): adev_close_output_stream: enter:stream_handle(0xe68f0200)
09-13 14:56:38.534: D/audio_hw_primary(788): out_standby: enter: stream (0xe68f0200) usecase(3: compress-offload-playback)
09-13 14:56:38.534: D/audio_hw_primary(788): out_standby: exit
09-13 14:56:38.535: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=4
09-13 14:56:38.535: I/EffectDiracSound(788): DiracSound_updateState(), enable=0, hifi=0, device=0x2, headset=5, samplingRate=48000
09-13 14:56:38.535: I/EffectDiracSound(788): DiracSound_updateState(), mode=0, music=0, movie=0, reset=1
09-13 14:56:38.535: I/EffectDiracSound(788): DiracSound_updateState(), Speaker Dual Mode is not supported. Stop update state.
09-13 14:56:38.535: V/EffectDiracSound(788): EFFECT_CMD_DISABLE() OK
09-13 14:56:38.535: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=20
09-13 14:56:38.535: V/EffectDiracSound(788): DiracSound_Command EFFECT_CMD_OFFLOAD
09-13 14:56:38.535: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=1
09-13 14:56:38.535: V/EffectDiracSound(788): DiracSound_setConfig start
09-13 14:56:38.535: I/EffectDiracSound(788): DiracSound_updateState(), enable=0, hifi=0, device=0x2, headset=5, samplingRate=48000
09-13 14:56:38.535: I/EffectDiracSound(788): DiracSound_updateState(), mode=0, music=0, movie=0, reset=0
09-13 14:56:38.535: I/EffectDiracSound(788): DiracSound_updateState(), Speaker Dual Mode is not supported. Stop update state.
09-13 14:56:38.535: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=9
09-13 14:56:38.535: V/EffectDiracSound(788): DiracSound_Command EFFECT_CMD_SET_DEVICE: 0x00000002
09-13 14:56:38.535: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=11
09-13 14:56:38.535: V/EffectDiracSound(788): DiracSound_Command EFFECT_CMD_SET_AUDIO_MODE: 0
09-13 14:56:38.535: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=3
09-13 14:56:38.535: I/EffectDiracSound(788): DiracSound_updateState(), enable=1, hifi=0, device=0x2, headset=5, samplingRate=48000
09-13 14:56:38.535: I/EffectDiracSound(788): DiracSound_updateState(), mode=0, music=0, movie=0, reset=1
09-13 14:56:38.535: I/EffectDiracSound(788): DiracSound_updateState(), Speaker Dual Mode is not supported. Stop update state.

09-13 14:56:38.535: V/EffectDiracSound(788): EFFECT_CMD_ENABLE() OK
09-13 14:56:38.536: V/AudioPolicyManagerCustom(788): isOffloadSupported: SR=44100, CM=0x3, Format=0x1000000, StreamType=3, BitRate=128000, duration=172039492 us, has_video=0
09-13 14:56:38.536: I/AudioPolicyManagerCustom(788): Offload min duration is 15s
09-13 14:56:38.536: V/AudioPolicyManagerCustom(788): isOffloadSupported() profile found
09-13 14:56:38.536: V/AudioPolicyManagerCustom(788): isOffloadSupported: SR=44100, CM=0x3, Format=0x1000000, StreamType=3, BitRate=128000, duration=173162738 us, has_video=0
09-13 14:56:38.536: I/AudioPolicyManagerCustom(788): Offload min duration is 15s
09-13 14:56:38.536: V/AudioPolicyManagerCustom(788): isOffloadSupported() profile found
09-13 14:56:38.537: I/AudioFlinger(788): openOutput(), module 10 Device 2, SamplingRate 44100, Format 0x1000000, Channels 3, flags 31
09-13 14:56:38.537: D/audio_hw_primary(788): adev_open_output_stream: enter: format(0x1000000) sample_rate(44100) channel_mask(0x3) devices(0x2) flags(0x31) stream_handle(0xe4a74000)
09-13 14:56:38.537: V/msm8974_platform(788): platform_get_compress_offload_buffer_size: fragment_size 65536
09-13 14:56:38.537: V/audio_hw_utils(788): audio_extn_utils_update_stream_app_type_cfg: flags: 31, format: 1000000 sample_rate 44100
09-13 14:56:38.537: V/audio_hw_utils(788): set_output_cfg app_type_cfg->app_type 69936, app_type_cfg->sample_rate 44100, app_type_cfg->bit_width 16
09-13 14:56:38.537: D/audio_hw_primary(788): adev_open_output_stream: Stream (0xe4a74000) picks up usecase (compress-offload-playback)
09-13 14:56:38.537: I/AudioFlinger(788): HAL output buffer size 65536 frames, normal sink buffer size 65536 frames
09-13 14:56:38.538: I/AudioFlinger(788): AudioFlinger’s thread 0xe6a7b000 ready to run
09-13 14:56:38.538: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=4
09-13 14:56:38.538: I/EffectDiracSound(788): DiracSound_updateState(), enable=0, hifi=0, device=0x2, headset=5, samplingRate=48000
09-13 14:56:38.538: I/EffectDiracSound(788): DiracSound_updateState(), mode=0, music=0, movie=0, reset=1
09-13 14:56:38.538: I/EffectDiracSound(788): DiracSound_updateState(), Speaker Dual Mode is not supported. Stop update state.
09-13 14:56:38.538: V/EffectDiracSound(788): EFFECT_CMD_DISABLE() OK
09-13 14:56:38.538: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=20
09-13 14:56:38.539: V/EffectDiracSound(788): DiracSound_Command EFFECT_CMD_OFFLOAD
09-13 14:56:38.539: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=1
09-13 14:56:38.539: V/EffectDiracSound(788): DiracSound_setConfig start
09-13 14:56:38.539: I/EffectDiracSound(788): DiracSound_updateState(), enable=0, hifi=0, device=0x2, headset=5, samplingRate=44100
09-13 14:56:38.539: I/EffectDiracSound(788): DiracSound_updateState(), mode=0, music=0, movie=0, reset=0
09-13 14:56:38.539: I/EffectDiracSound(788): DiracSound_updateState(), Speaker Dual Mode is not supported. Stop update state.
09-13 14:56:38.539: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=9
09-13 14:56:38.539: V/EffectDiracSound(788): DiracSound_Command EFFECT_CMD_SET_DEVICE: 0x00000002
09-13 14:56:38.539: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=11
09-13 14:56:38.539: V/EffectDiracSound(788): DiracSound_Command EFFECT_CMD_SET_AUDIO_MODE: 0
09-13 14:56:38.539: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=3
09-13 14:56:38.539: I/EffectDiracSound(788): DiracSound_updateState(), enable=1, hifi=0, device=0x2, headset=5, samplingRate=44100
09-13 14:56:38.539: I/EffectDiracSound(788): DiracSound_updateState(), mode=0, music=0, movie=0, reset=1
09-13 14:56:38.539: I/EffectDiracSound(788): DiracSound_updateState(), Speaker Dual Mode is not supported. Stop update state.
09-13 14:56:38.539: V/EffectDiracSound(788): EFFECT_CMD_ENABLE() OK
09-13 14:56:38.539: V/AudioPolicyManagerCustom(788): getOutput() returns new direct output 149
09-13 14:56:38.540: V/AudioPolicyManagerCustom(788): getOutput() reusing direct output 149
09-13 14:56:38.543: V/AudioPolicyManagerCustom(788): getNewOutputDevice() selected device 2
09-13 14:56:38.544: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=9
09-13 14:56:38.545: V/EffectDiracSound(788): DiracSound_Command EFFECT_CMD_SET_DEVICE: 0x00000002
09-13 14:56:38.545: D/audio_hw_primary(788): out_set_parameters: enter: usecase(3: compress-offload-playback) kvpairs: routing=2
09-13 14:56:38.546: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=24
09-13 14:56:38.546: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=24
09-13 14:56:38.546: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=24
09-13 14:56:38.546: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=24
09-13 14:56:38.546: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=24
09-13 14:56:38.546: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=24
09-13 14:56:38.547: V/AudioPolicyManagerCustom(788): checkAndSetVolume() cannot set stream 6 volume with force use = 0 for comm
09-13 14:56:38.547: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=24
09-13 14:56:38.547: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=24
09-13 14:56:38.547: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=24
09-13 14:56:38.547: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=24
09-13 14:56:38.547: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=24
09-13 14:56:38.548: E/AudioFlinger(788): open /proc/796/cmdline error
09-13 14:56:38.548: I/AudioFlinger(788): setAppName(), name=[], active=[1]
09-13 14:56:38.548: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=23
09-13 14:56:38.548: V/EffectDiracSound(788): DiracSound_Command EFFECT_CMD_SET_APP_NAME: stream=3, name=+
09-13 14:56:38.549: E/AudioFlinger(788): open /proc/796/cmdline error
09-13 14:56:38.549: I/AudioFlinger(788): setAppName(), name=[], active=[1]
09-13 14:56:38.549: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=23
09-13 14:56:38.549: V/EffectDiracSound(788): DiracSound_Command EFFECT_CMD_SET_APP_NAME: stream=3, name=+
09-13 14:56:38.549: V/msm8974_platform(788): platform_send_gain_dep_cal: Not Voice call usecase, apply new cal for level 2
09-13 14:56:38.550: E/volume_listener(788): check_and_set_gain_dep_cal: Failed to set gain dep cal level
09-13 14:56:38.551: D/audio_hw_primary(788): out_set_parameters: enter: usecase(3: compress-offload-playback) kvpairs: music_offload_avg_bit_rate=128000;music_offload_sample_rate=44100
09-13 14:56:38.551: V/msm8974_platform(788): platform_send_gain_dep_cal: Not Voice call usecase, apply new cal for level 2
09-13 14:56:38.551: E/volume_listener(788): check_and_set_gain_dep_cal: Failed to set gain dep cal level
09-13 14:56:38.552: D/audio_hw_primary(788): out_set_parameters: enter: usecase(3: compress-offload-playback) kvpairs: music_offload_avg_bit_rate=128000;music_offload_sample_rate=44100
09-13 14:56:38.556: V/msm8974_platform(788): platform_send_gain_dep_cal: Not Voice call usecase, apply new cal for level 2
09-13 14:56:38.556: E/volume_listener(788): check_and_set_gain_dep_cal: Failed to set gain dep cal level
09-13 14:56:38.571: V/msm8974_platform(788): platform_send_gain_dep_cal: Not Voice call usecase, apply new cal for level 2
09-13 14:56:38.571: E/volume_listener(788): check_and_set_gain_dep_cal: Failed to set gain dep cal level
09-13 14:56:38.588: V/msm8974_platform(788): platform_send_gain_dep_cal: Not Voice call usecase, apply new cal for level 2
09-13 14:56:38.588: E/volume_listener(788): check_and_set_gain_dep_cal: Failed to set gain dep cal level
09-13 14:56:38.589: D/audio_hw_primary(788): start_output_stream: enter: stream(0xe4a74000)usecase(3: compress-offload-playback) devices(0x2)
09-13 14:56:38.589: D/audio_hw_primary(788): select_devices for use case (compress-offload-playback)
09-13 14:56:38.589: E/ANDR-PERF-RESOURCEQS(476): Failed to apply optimization [4, 0]
09-13 14:56:38.590: V/msm8974_platform(788): platform_get_native_support:napb: ui Prop enabled(1) version(3)
09-13 14:56:38.590: V/msm8974_platform(788): platform_get_output_snd_device: enter: output devices(0x2)
09-13 14:56:38.590: V/msm8974_platform(788): platform_get_output_snd_device: exit: snd_device(speaker)
09-13 14:56:38.590: D/audio_hw_primary(788): select_devices: out_snd_device(2: speaker) in_snd_device(0: )
09-13 14:56:38.590: V/msm8974_platform(788): platform_get_backend_index:napb: backend port - 0 snd_device 2
09-13 14:56:38.590: I/msm8974_platform(788): platform_check_and_set_codec_backend_cfg:becf: afe: bitwidth 16, samplerate 44100 channels 2, backend_idx 0 usecase = 3 device (speaker)
09-13 14:56:38.590: D/msm8974_platform(788): platform_can_split_snd_device: snd_device(2) num devices(1) new_snd_devices(0)
09-13 14:56:38.590: I/msm8974_platform(788): platform_check_and_set_codec_backend_cfg: new_snd_devices[0] is 2
09-13 14:56:38.590: V/msm8974_platform(788): platform_get_native_support:napb: ui Prop enabled(1) version(3)
09-13 14:56:38.590: V/msm8974_platform(788): platform_get_backend_index:napb: backend port - 0 snd_device 2
09-13 14:56:38.590: I/msm8974_platform(788): platform_check_codec_backend_cfg:becf: afe: bitwidth 16, samplerate 44100 channels 2, backend_idx 0 usecase = 3 device (speaker)
09-13 14:56:38.590: V/msm8974_platform(788): platform_get_native_support:napb: ui Prop enabled(1) version(3)
09-13 14:56:38.590: D/msm8974_platform(788): platform_check_codec_backend_cfg:becf: afe: playback on non-44.1-support device Configure afe to default Sample Rate(48k)
09-13 14:56:38.590: I/msm8974_platform(788): platform_check_codec_backend_cfg:becf: afe: Codec selected backend: 0 updated bit width: 16 and sample rate: 48000
09-13 14:56:38.590: D/audio_hw_primary(788): check_usecases_codec_backend:becf: force routing 0
09-13 14:56:38.590: V/msm8974_platform(788): platform_check_backends_match: snd_device1 = speaker, snd_device2 =
09-13 14:56:38.590: E/msm8974_platform(788): platform_check_backends_match: Invalid snd_device =
09-13 14:56:38.590: D/audio_hw_primary(788): check_usecases_codec_backend:becf: (42) check_usecases curr device: speaker, usecase device: backends match 0
09-13 14:56:38.590: D/audio_hw_primary(788): check_usecases_codec_backend:becf: check_usecases num.of Usecases to switch 0
09-13 14:56:38.590: D/hardware_info(788): hw_info_append_hw_type : device_name = speaker
09-13 14:56:38.591: D/msm8974_platform(788): platform_can_split_snd_device: snd_device(2) num devices(0) new_snd_devices(0)
09-13 14:56:38.591: D/audio_hw_primary(788): enable_snd_device: snd_device(2: speaker)
09-13 14:56:38.591: I/soundtrigger(788): audio_extn_sound_trigger_update_device_status: device 0x2 of type 0 for Event 1, with Raise=0
09-13 14:56:38.591: D/aud_dev_arbi(788): acquireOneDevice: device owner for device 2 is 1
09-13 14:56:38.591: V/audio_hw_utils(788): audio_extn_utils_update_stream_app_type_cfg: flags: 31, format: 1000000 sample_rate 44100
09-13 14:56:38.591: V/audio_hw_utils(788): set_output_cfg app_type_cfg->app_type 69936, app_type_cfg->sample_rate 44100, app_type_cfg->bit_width 16
09-13 14:56:38.591: I/audio_hw_primary(788): select_devices Selected apptype: 69936
09-13 14:56:38.591: D/soundtrigger(788): audio_extn_sound_trigger_update_stream_status: uc_id 3 of type 0 for Event 3, with Raise=0
09-13 14:56:38.591: V/audio_hw_utils(788): audio_extn_utils_send_app_type_cfg
09-13 14:56:38.591: I/audio_hw_utils(788): audio_extn_utils_send_app_type_cfg PLAYBACK app_type 69936, acdb_dev_id 34, sample_rate 48000
09-13 14:56:38.591: V/msm8974_platform(788): platform_get_default_app_type_v2: Platform: 0xe7940300, type: 0
09-13 14:56:38.591: I/audio_hw_utils(788): audio_extn_utils_send_app_type_cfg:becf: adm: app_type 69936, acdb_dev_id 34, sample_rate 48000
09-13 14:56:38.591: D/msm8974_platform(788): platform_can_split_snd_device: snd_device(2) num devices(1) new_snd_devices(-418225004)
09-13 14:56:38.592: V/msm8974_platform(788): platform_send_audio_calibration: sending audio calibration for snd_device(2) acdb_id(34)
09-13 14:56:38.592: D/ACDB-LOADER(788): ACDB -> send_audio_cal, acdb_id = 34, path = 0, app id = 0x11130, sample rate = 48000
09-13 14:56:38.592: D/ACDB-LOADER(788): ACDB -> send_asm_topology
09-13 14:56:38.592: D/ACDB-LOADER(788): ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
09-13 14:56:38.592: D/ACDB-LOADER(788): ACDB -> send_adm_topology
09-13 14:56:38.592: D/ACDB-LOADER(788): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
09-13 14:56:38.592: D/ACDB-LOADER(788): ACDB -> send_audtable
09-13 14:56:38.592: D/ACDB-LOADER(788): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE_SIZE
09-13 14:56:38.592: D/(788): ACDBFILE_MGR:Read the devices count as zero, please check the acdb file
09-13 14:56:38.592: D/ACDB-LOADER(788): ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TABLE
09-13 14:56:38.592: D/(788): ACDBFILE_MGR:Read the devices count as zero, please check the acdb file
09-13 14:56:38.592: D/ACDB-LOADER(788): ACDB -> AUDIO_SET_AUDPROC_CAL
09-13 14:56:38.592: D/ACDB-LOADER(788): ACDB -> send_audvoltable
09-13 14:56:38.592: D/ACDB-LOADER(788): ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE, vol index 5
09-13 14:56:38.592: D/(788): ACDBFILE_MGR:Read the devices count as zero, please check the acdb file
09-13 14:56:38.593: D/ACDB-LOADER(788): ACDB -> AUDIO_SET_VOL_CAL cal type = 12
09-13 14:56:38.593: D/ACDB-LOADER(788): ACDB -> send_audstrmtable
09-13 14:56:38.593: D/ACDB-LOADER(788): ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TABLE_V2
09-13 14:56:38.593: D/ACDB-LOADER(788): ACDB -> audstrm_cal->cal_type.cal_data.cal_size = 456
09-13 14:56:38.593: D/ACDB-LOADER(788): ACDB -> send_afe_topology
09-13 14:56:38.593: D/ACDB-LOADER(788): ACDB -> ACDB_CMD_GET_AFE_TOPOLOGY_ID
09-13 14:56:38.593: D/ACDB-LOADER(788): ACDB -> GET_AFE_TOPOLOGY_ID for adcd_id 34, Topology Id 112fc
09-13 14:56:38.593: D/ACDB-LOADER(788): ACDB -> send_afe_cal
09-13 14:56:38.593: D/ACDB-LOADER(788): ACDB -> ACDB_CMD_GET_AFE_COMMON_TABLE
09-13 14:56:38.593: D/(788): ACDBFILE_MGR:Read the devices count as zero, please check the acdb file
09-13 14:56:38.593: D/(788): Failed to fetch the lookup information of the device 00000022
09-13 14:56:38.593: E/ACDB-LOADER(788): Error: ACDB AFE returned = -19
09-13 14:56:38.593: D/ACDB-LOADER(788): ACDB -> AUDIO_SET_AFE_CAL
09-13 14:56:38.593: D/ACDB-LOADER(788): ACDB -> send_hw_delay : acdb_id = 34 path = 0
09-13 14:56:38.593: D/ACDB-LOADER(788): ACDB -> ACDB_AVSYNC_INFO: ACDB_CMD_GET_DEVICE_PROPERTY
09-13 14:56:38.593: D/audio_hw_primary(788): enable_audio_route: apply mixer and update path: compress-offload-playback speaker
09-13 14:56:38.594: D/audio_hw_primary(788): select_devices: done
09-13 14:56:38.594: V/msm8974_platform(788): platform_set_channel_map channel_count:2
09-13 14:56:38.594: D/msm8974_platform(788): platform_set_channel_map mixer_ctl_name:Playback Channel Map9
09-13 14:56:38.595: D/msm8974_platform(788): platform_set_channel_map: set mapping(1 2 0 0 0 0 0 0) for channel:2
09-13 14:56:38.626: D/offload_visualizer(788): thread enter
09-13 14:56:38.626: D/audio_hw_primary(788): start_output_stream: exit
09-13 14:56:38.626: D/audio_hw_primary(788): out_write: retry previous failed cal level set
09-13 14:56:38.626: V/msm8974_platform(788): platform_send_gain_dep_cal: Not Voice call usecase, apply new cal for level 2
09-13 14:56:38.626: V/msm8974_platform(788): platform_send_gain_dep_cal: out device is 2
09-13 14:56:38.626: D/ACDB-LOADER(788): ACDB -> send_audvoltable
09-13 14:56:38.626: D/ACDB-LOADER(788): ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE, vol index 2
09-13 14:56:38.626: D/(788): ACDBFILE_MGR:Read the devices count as zero, please check the acdb file
09-13 14:56:38.626: D/ACDB-LOADER(788): ACDB -> AUDIO_SET_VOL_CAL cal type = 40
09-13 14:56:38.627: D/audio_hw_primary(788): copl(0xe4a74000):send new gapless metadata
09-13 14:56:38.628: V/msm8974_platform(788): platform_send_gain_dep_cal: Not Voice call usecase, apply new cal for level 2
09-13 14:56:38.628: V/msm8974_platform(788): platform_send_gain_dep_cal: out device is 2
09-13 14:56:38.638: D/AudioSink(796): callbackwrapper: EVENT_UNDERRUN (discarded)
09-13 14:56:38.650: D/AudioSink(796): callbackwrapper: EVENT_UNDERRUN (discarded)
09-13 14:56:38.662: D/AudioSink(796): callbackwrapper: EVENT_UNDERRUN (discarded)
09-13 14:56:38.674: D/AudioSink(796): callbackwrapper: EVENT_UNDERRUN (discarded)
09-13 14:56:38.686: D/AudioSink(796): callbackwrapper: EVENT_UNDERRUN (discarded)
09-13 14:56:38.699: D/AudioSink(796): callbackwrapper: EVENT_UNDERRUN (discarded)
09-13 14:56:38.702: D/audio_hw_primary(788): No space available in compress driver, post msg to cb thread
09-13 14:56:38.702: D/audio_hw_primary(788): copl(0xe4a74000):calling compress_wait
09-13 14:56:38.713: D/AudioSink(796): callbackwrapper: EVENT_UNDERRUN (discarded)
09-13 14:56:38.839: V/msm8974_platform(788): platform_send_gain_dep_cal: Not Voice call usecase, apply new cal for level 3
09-13 14:56:38.840: V/msm8974_platform(788): platform_send_gain_dep_cal: out device is 2
09-13 14:56:38.840: D/ACDB-LOADER(788): ACDB -> send_audvoltable
09-13 14:56:38.840: D/ACDB-LOADER(788): ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE, vol index 3
09-13 14:56:38.840: D/(788): ACDBFILE_MGR:Read the devices count as zero, please check the acdb file
09-13 14:56:38.841: D/ACDB-LOADER(788): ACDB -> AUDIO_SET_VOL_CAL cal type = 40
09-13 14:56:39.066: D/cocos2d-x debug info(3453): suffix = csb
09-13 14:56:39.067: D/cocos2d-x debug info(3453): textureSize = 0
09-13 14:56:39.067: D/cocos2d-x debug info(3453): size = 1
09-13 14:56:39.071: D/cocos2d-x debug info(3453): callBackName cannot be found
09-13 14:56:39.074: D/cocos2d-x debug info(3453): size = 0
09-13 14:56:39.075: D/cocos2d-x debug info(3453): suffix = csb
09-13 14:56:39.076: D/cocos2d-x debug info(3453): textureSize = 0
09-13 14:56:39.076: D/cocos2d-x debug info(3453): size = 1
09-13 14:56:39.077: D/cocos2d-x debug info(3453): callBackName cannot be found
09-13 14:56:39.079: D/cocos2d-x debug info(3453): size = 0
09-13 14:56:39.492: V/msm8974_platform(788): platform_send_gain_dep_cal: Not Voice call usecase, apply new cal for level 4
09-13 14:56:39.492: V/msm8974_platform(788): platform_send_gain_dep_cal: out device is 2
09-13 14:56:39.493: D/ACDB-LOADER(788): ACDB -> send_audvoltable
09-13 14:56:39.493: D/ACDB-LOADER(788): ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE, vol index 4
09-13 14:56:39.493: D/(788): ACDBFILE_MGR:Read the devices count as zero, please check the acdb file
09-13 14:56:39.493: D/ACDB-LOADER(788): ACDB -> AUDIO_SET_VOL_CAL cal type = 40
09-13 14:56:40.002: V/msm8974_platform(788): platform_send_gain_dep_cal: Not Voice call usecase, apply new cal for level 5
09-13 14:56:40.002: V/msm8974_platform(788): platform_send_gain_dep_cal: out device is 2
09-13 14:56:40.002: D/ACDB-LOADER(788): ACDB -> send_audvoltable
09-13 14:56:40.002: D/ACDB-LOADER(788): ACDB -> ACDB_CMD_GET_AUDPROC_GAIN_DEP_STEP_TABLE, vol index 5
09-13 14:56:40.003: D/(788): ACDBFILE_MGR:Read the devices count as zero, please check the acdb file
09-13 14:56:40.003: D/ACDB-LOADER(788): ACDB -> AUDIO_SET_VOL_CAL cal type = 40
09-13 14:56:41.216: I/XiaomiFirewall(3700): firewall pkgName:android, result:0x0
09-13 14:56:41.218: D/SecurityCenter(2838): memDiff : 1, timeDiff : 105166
09-13 14:56:41.228: D/wpa_supplicant(1875): wlan0: Control interface command ‘SIGNAL_POLL’
09-13 14:56:41.991: W/volume_listener(788): check_and_set_gain_dep_cal: Failed to find gain dep cal level for volume 0.000399
09-13 14:56:42.006: D/NuPlayerDriver(796): pause(0xf462b680)
09-13 14:56:42.006: D/NuPlayerDriver(796): notifyListener_l(0xf462b680), (7, 0, 0), loop setting(0, 1)
09-13 14:56:42.008: E/AudioFlinger(788): open /proc/796/cmdline error
09-13 14:56:42.008: I/AudioFlinger(788): setAppName(), name=[], active=[0]
09-13 14:56:42.008: V/EffectDiracSound(788): DiracSound_command() start, cmdCode=23
09-13 14:56:42.008: V/EffectDiracSound(788): DiracSound_Command EFFECT_CMD_SET_APP_NAME: stream=3, name=-
09-13 14:56:42.009: D/audio_hw_primary(788): copl(0xe4a74000):pause compress driver
: E/(): Device disconnected