Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't play wav file on some device, just noise #2873

Closed
cr1944 opened this issue May 27, 2017 · 8 comments
Closed

can't play wav file on some device, just noise #2873

cr1944 opened this issue May 27, 2017 · 8 comments

Comments

@cr1944
Copy link

cr1944 commented May 27, 2017

Issue description

can't play wav file on some device

Reproduction steps

1.push wav file into device
2.modify exoplayer2 demo for play local wav file

the wav file is OK, can be played on nexus 5X and other device, and also normal play on this device with music player, see the attachment

Version of ExoPlayer being used

2.4.1

Device(s) and version(s) of Android being used

OPPO A37m

A full bug report captured from the device

05-27 15:59:04.913 12446-12446/? W/ADB_SERVICES: read_meminfo() mem_free=44968
05-27 15:59:04.959 12446-12446/? W/ADB_SERVICES: read_meminfo() mem_free=44968
05-27 15:59:04.965 911-1096/? I/WifiStateMachine: fetchRssiLinkSpeedAndFrequencyNative, newRssi:-49, newLinkSpeed:65, SSID:"namibox"
05-27 15:59:04.969 911-1099/? D/NetworkLinkMonitor: RSSI_PKTCNT_FETCH_SUCCEEDED--dtotal= 0
                                                    
                                                    --------- beginning of system
05-27 15:59:05.022 382-382/? I/thermal_repeater: select timeout
05-27 15:59:05.068 911-939/? V/ProcessCpuTracker: cpu0 time_in_state not exist, read cpu4 time_in_state...
05-27 15:59:05.070 911-939/? V/ProcessCpuTracker: cpu4 time_in_state not exist, is it a BUG??!!
                                                  
                                                  [ 05-27 15:59:05.079   376:  409 D/         ]
                                                  thermal_monitor main loop 13363 log_has_update = 0
05-27 15:59:05.080 379-379/? I/thermal_src: wake up function 3
05-27 15:59:05.080 379-379/? I/thermal_src: TA_DAEMON_CMD_GET_TPCB cmd=0x5, len=4 PCB=37000
05-27 15:59:05.080 379-379/? I/thermal_src: TA_DAEMON_CMD_SET_TTJ cmd=0x4, len=4 Tj=85000
05-27 15:59:05.173 911-1085/? I/PerfService: PerfServiceNative_boostEnableAsync:5
05-27 15:59:05.178 911-1084/? D/lights: write_int open fd=-1
05-27 15:59:05.183 911-1129/? I/libPerfService: 5: set freq: 910000, -1
05-27 15:59:05.183 911-1129/? I/libPerfService: 5: set: 3, -1
05-27 15:59:05.185 30242-30242/com.google.android.exoplayer2.demo D/AbsListView: Touch down: touch mode = 0,mScrollY = 0,y = 408.4261,mFirstPosition = 8,mActivePointerId = 0,mDataChanged = false,adatper size = 31,this = android.widget.ExpandableListView{31eaa9f7 VFED.VC. .F...... 0,0-720,1132 #7f0b0096 app:id/sample_list}
05-27 15:59:05.216 911-1085/? I/PerfService: PerfServiceNative_boostDisableAsync:5
05-27 15:59:05.218 911-1129/? I/libPerfService: 5: set: -1, -1
05-27 15:59:05.218 911-1129/? I/libPerfService: 5: set max: -1, -1
05-27 15:59:05.218 911-1129/? I/libPerfService: [perfScnDisable] scn:6, scn_root_cluster:-1
05-27 15:59:05.219 911-1129/? I/libPerfService: 5: set freq: -1, -1
05-27 15:59:05.219 911-1129/? I/libPerfService: 5: set vcore level: 0
05-27 15:59:05.224 30242-30242/com.google.android.exoplayer2.demo D/AbsListView: Touch up: touch mode = 0,mScrollY = 0,mLastY = -2147483648,mMotionPosition = 12,mFirstPosition = 8,mDataChanged = false,adatper size = 31,this = android.widget.ExpandableListView{31eaa9f7 VFED.VC. .F...... 0,0-720,1132 #7f0b0096 app:id/sample_list}
05-27 15:59:05.237 911-930/? D/PerfServiceManager: [PerfService] notifyFrameUpdate - bDuringTouchBoost:true 
05-27 15:59:05.240 911-1129/? I/libPerfService: 7: set freq: 910000, -1
05-27 15:59:05.240 911-1129/? I/libPerfService: 7: set: 3, -1
05-27 15:59:05.298 911-2295/? I/ActivityManager: START u0 {act=com.google.android.exoplayer.demo.action.VIEW dat=file:///sdcard/test2.wav cmp=com.google.android.exoplayer2.demo/.PlayerActivity (has extras)} from uid 10141 from pid 30242 on display 0
05-27 15:59:05.299 5814-12641/? I/SafeCenter.AppProtectService: activityStarting() intent: Intent { act=com.google.android.exoplayer.demo.action.VIEW dat=file:///sdcard/test2.wav cmp=com.google.android.exoplayer2.demo/.PlayerActivity (has extras) }
05-27 15:59:05.307 911-2295/? V/WindowManager: addAppToken: AppWindowToken{8c0be39 token=Token{14520600 ActivityRecord{22560483 u0 com.google.android.exoplayer2.demo/.PlayerActivity t66}}} to stack=1 task=66 at 2
05-27 15:59:05.307 911-1129/? I/libPerfService: 1: set freq: 1001000, 1508000
05-27 15:59:05.308 911-1129/? I/libPerfService: 1: set: 4, 4
05-27 15:59:05.308 911-1129/? I/libPerfService: 1: set vcore level: 3
05-27 15:59:05.313 911-911/? D/UsbDeviceManager: onReceive - BATTERY_CHANGED - mPlugType: 2, mSettingUsbCharging: false, mConnected: true, mSettingUsbBicr: false
05-27 15:59:05.314 911-911/? D/WifiService: onReceive, action:android.intent.action.BATTERY_CHANGED
05-27 15:59:05.321 911-2229/? I/PPS: [PPSNotifyAppState] nPackNum:1, pack:com.google.android.exoplayer2.demo, com:.PlayerActivity, state:1, pid:0, last_boost_tid:-1
05-27 15:59:05.324 911-2229/? D/ActivityManager: Delay resumeKeyDispatchingLocked() to avoid deadlock.
05-27 15:59:05.325 911-2229/? I/PPS: [PPSNotifyAppState] nPackNum:1, pack:com.google.android.exoplayer2.demo, com:.SampleChooserActivity, state:0, pid:0, last_boost_tid:-1
05-27 15:59:05.336 12446-12446/? W/ADB_SERVICES: read_meminfo() mem_free=42728
05-27 15:59:05.343 30242-30242/com.google.android.exoplayer2.demo I/ExoPlayerImpl: Init ExoPlayerLib/2.4.1 [A37, OPPO A37m, OPPO, 22]
05-27 15:59:05.345 30242-30242/com.google.android.exoplayer2.demo D/EventLogger: state [0.00, true, I]
05-27 15:59:05.346 30242-30242/com.google.android.exoplayer2.demo V/PhoneWindow: DecorView setVisiblity: visibility = 4 ,Parent =null, this =com.android.internal.policy.impl.PhoneWindow$DecorView{296c1efa I.E..... R.....ID 0,0-0,0}
05-27 15:59:05.348 30242-30242/com.google.android.exoplayer2.demo D/ViewRootImpl: hardware acceleration is enabled, this = ViewRoot{1a4f9c14 com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity,ident = 5}
05-27 15:59:05.350 911-1876/? V/WindowManager: Adding window Window{2f6a65df u0 com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity} at 7 of 14 (after Window{32cba57 u0 com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.SampleChooserActivity})
05-27 15:59:05.353 30242-30242/com.google.android.exoplayer2.demo V/PhoneWindow: DecorView setVisiblity: visibility = 0 ,Parent =ViewRoot{1a4f9c14 com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity,ident = 5}, this =com.android.internal.policy.impl.PhoneWindow$DecorView{296c1efa V.E..... R.....ID 0,0-0,0}
05-27 15:59:05.354 30242-30242/com.google.android.exoplayer2.demo D/EventLogger: state [0.01, true, B]
05-27 15:59:05.355 30242-30242/com.google.android.exoplayer2.demo D/EventLogger: sourceInfo [periodCount=1, windowCount=1
05-27 15:59:05.355 30242-30242/com.google.android.exoplayer2.demo D/EventLogger:   period [?]
05-27 15:59:05.355 30242-30242/com.google.android.exoplayer2.demo D/EventLogger:   window [?, false, false]
05-27 15:59:05.355 30242-30242/com.google.android.exoplayer2.demo D/EventLogger: ]
05-27 15:59:05.355 30242-30242/com.google.android.exoplayer2.demo D/EventLogger: loading [true]
05-27 15:59:05.368 911-1567/? V/WindowManager: Changing focus from Window{32cba57 u0 com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.SampleChooserActivity} to Window{2f6a65df u0 com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity} Callers=com.android.server.wm.WindowManagerService.relayoutWindow:3964 com.android.server.wm.Session.relayout:203 android.view.IWindowSession$Stub.onTransact:273 com.android.server.wm.Session.onTransact:136 
05-27 15:59:05.368 911-1567/? I/WindowManager: handleNotObscuredLocked: w=Window{2f6a65df u0 com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity}
05-27 15:59:05.374 12446-12446/? W/ADB_SERVICES: read_meminfo() mem_free=42200
05-27 15:59:05.380 911-1567/? I/WindowManager: setHoldScreenLocked: hold=true
05-27 15:59:05.381 911-1567/? I/WindowManager: setHoldScreenLocked: hold=true, pid=30242, uid=10141
05-27 15:59:05.384 911-948/? I/WindowManager: Gaining focus: Window{2f6a65df u0 com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.PlayerActivity}
05-27 15:59:05.386 30242-30242/com.google.android.exoplayer2.demo V/InputMethodManager: onWindowFocus: null softInputMode=288 first=true flags=#1810180
05-27 15:59:05.386 30242-30242/com.google.android.exoplayer2.demo V/InputMethodManager: START INPUT: com.android.internal.policy.impl.PhoneWindow$DecorView{296c1efa V.E..... R.....ID 0,0-720,1280} ic=null tba=android.view.inputmethod.EditorInfo@ebbcbd controlFlags=#104
05-27 15:59:05.386 911-2226/? V/InputMethodManagerService: windowGainedFocus: android.os.BinderProxy@6f3b32f controlFlags=#104 softInputMode=#120 windowFlags=#1810180
05-27 15:59:05.389 30242-30280/com.google.android.exoplayer2.demo D/OpenGLRenderer: CanvasContext() 0x7f8ae85dc0 initialize 0x7f98673410
05-27 15:59:05.389 30242-30280/com.google.android.exoplayer2.demo D/Surface: Surface::connect(this=0x7f98673400,api=1)
05-27 15:59:05.390 30242-30280/com.google.android.exoplayer2.demo D/mali_winsys: new_window_surface returns 0x3000
05-27 15:59:05.390 30242-30280/com.google.android.exoplayer2.demo D/Surface: Surface::allocateBuffers(this=0x7f98673400)
05-27 15:59:05.395 30242-11383/com.google.android.exoplayer2.demo W/WavHeaderReader: Ignoring unknown WAV chunk: 1380533830
05-27 15:59:05.395 30242-11383/com.google.android.exoplayer2.demo W/WavHeaderReader: Ignoring unknown WAV chunk: 1718449184
05-27 15:59:05.405 30242-30280/com.google.android.exoplayer2.demo I/GLConsumer: [unnamed-30242-3] attachToContext
05-27 15:59:05.406 30242-11382/com.google.android.exoplayer2.demo I/MediaCodec: [CreateByComponentName]line:155 OMX.MTK.AUDIO.DECODER.RAW
                                                                                
                                                                                [ 05-27 15:59:05.410   376:  410 D/         ]
                                                                                charger_monitor log_has_update will be set false
05-27 15:59:05.410 30242-11385/com.google.android.exoplayer2.demo I/OMXClient: Using client-side OMX mux.
05-27 15:59:05.410 30242-11385/com.google.android.exoplayer2.demo D/ACodec: mDeathNotifier is set
05-27 15:59:05.411 357-18554/? D/MtkOmxCore: Mtk_OMX_GetHandle (OMX.MTK.AUDIO.DECODER.RAW)
05-27 15:59:05.411 357-18554/? D/MtkOmxCore: comp_index(30), path(libMtkOmxRawDec.so)
05-27 15:59:05.414 357-18554/? D/MtkOmxRawDec: MtkOmxComponentCreate +++ !!!
05-27 15:59:05.414 357-18554/? D/MtkOmxAudioDecBase: MtkOmxAudioDecBase::MtkOmxAudioDecBase this= 0xec4da000
05-27 15:59:05.414 357-18554/? D/MtkOmxRawDec: MtkOmxRawDec Construct !!!
05-27 15:59:05.414 357-18554/? D/MtkOmxRawDec: initmChannelAssign
05-27 15:59:05.414 357-18554/? D/MtkOmxRawDec: fileTableSize is 55
05-27 15:59:05.414 357-18554/? D/MtkOmxRawDec: mChnAssignment.size is 55
05-27 15:59:05.414 357-18554/? D/MtkOmxRawDec: registerChnAssignHandler
05-27 15:59:05.414 357-18554/? D/MtkOmxRawDec: FuncTableSize is 10
05-27 15:59:05.414 357-18554/? D/MtkOmxRawDec: mHandleChnAssign size is 8
05-27 15:59:05.414 357-18554/? D/MtkOmxAudioDecBase: ComponentInit (OMX.MTK.AUDIO.DECODER.RAW)
05-27 15:59:05.414 357-18554/? D/MtkOmxRawDec: Init Audio(Raw PCM) Params!!!
05-27 15:59:05.414 357-18554/? D/MtkOmxAudioDecBase: 0xec4da000_Ctrl 0, total path is in ,out 
05-27 15:59:05.415 357-18554/? D/MtkOmxCore: MtkOmxSetCoreGlobal is NOT supported on this component
05-27 15:59:05.415 357-18554/? D/MtkOmxCore: +++++ dump_inst_handle_pool +++++
05-27 15:59:05.415 357-18554/? D/MtkOmxCore: gCoreCompInstance[0].comp_module=0x0xea800e74, comp_handle=0x0xec4da004
05-27 15:59:05.415 357-18554/? D/MtkOmxCore: ----- dump_inst_handle_pool -----
05-27 15:59:05.415 357-11386/? D/MtkOmxAudioDecBase: Audio Command Thread priority is -16
05-27 15:59:05.416 357-11386/? D/MtkOmxAudioDecBase: MtkOmxAudioCommandThread created pOmxAudioDec=0xec4da000
05-27 15:59:05.416 357-11386/? D/MtkOmxAudioDecBase: fdmax = 31
05-27 15:59:05.416 30242-11385/com.google.android.exoplayer2.demo D/ACodec: [OMX.MTK.AUDIO.DECODER.RAW] Now Loaded
05-27 15:59:05.416 30242-11382/com.google.android.exoplayer2.demo I/MediaCodec: [CreateByComponentName]line:162 OMX.MTK.AUDIO.DECODER.RAW
05-27 15:59:05.416 357-11387/? D/MtkOmxAudioDecBase: Audio Decode Thread priority is -16
05-27 15:59:05.416 357-11387/? D/MtkOmxAudioDecBase: MtkOmxAudioDecodeThread created pOmxAudioDec=0xec4da000, tid=11387
05-27 15:59:05.416 30242-11385/com.google.android.exoplayer2.demo I/MediaCodec: Found 0 pieces of codec specific data.
05-27 15:59:05.416 357-15219/? D/MtkOmxAudioDecBase: SetParameter index(0x01000017)
05-27 15:59:05.417 6007-6007/? D/BluetoothAdapter: 91591358: getState() :  mService = null. Returning STATE_OFF
05-27 15:59:05.417 6007-6007/? D/BluetoothAdapter: 91591358: getState() :  mService = null. Returning STATE_OFF
05-27 15:59:05.417 357-1109/? D/MtkOmxRawDec: GetParameter OMX_IndexParamAudioRaw !!!
05-27 15:59:05.417 30242-11385/com.google.android.exoplayer2.demo D/ACodec: endian is 1, bitWidth is 16, pcmType is 1, channelAssignment is 0, numericalType is 0
05-27 15:59:05.417 30242-11385/com.google.android.exoplayer2.demo D/ACodec: Config raw codec, pcmType is 1
05-27 15:59:05.417 30242-11385/com.google.android.exoplayer2.demo E/ACodec: default numerical type is OMX_NumericalDataSigned !
05-27 15:59:05.417 357-1059/? D/MtkOmxRawDec: SetParameter OMX_IndexParamAudioRaw !!!
05-27 15:59:05.417 357-1059/? D/MtkOmxRawDec: RAW mRawParamForInput.nChannels is 1
05-27 15:59:05.417 357-1059/? D/MtkOmxRawDec: RAW mRawParamForInput.eEndian is 0, if 0,big endian, if 1,little endian
05-27 15:59:05.417 357-1059/? D/MtkOmxRawDec: RAW mRawParamForInput.nBitPerSample is 16
05-27 15:59:05.417 357-1059/? D/MtkOmxRawDec: RAW mRawParamForInput.nSamplingRate is 44100
05-27 15:59:05.417 357-1059/? D/MtkOmxRawDec: RAW mRawParamForInput.eRawType is 0x1,
05-27 15:59:05.417 357-1059/? D/MtkOmxRawDec: RAW mRawParamForInput.nChannelAssignment is 0x7f
05-27 15:59:05.417 357-1059/? D/MtkOmxRawDec: RAW mRawParamForInput.eNumData is OMX_NumericalDataSigned
05-27 15:59:05.417 357-1059/? D/MtkOmxRawDec: checkInputParameter !
05-27 15:59:05.417 357-1059/? D/MtkOmxAudioDecBase: GetParameter (0x02000001)
05-27 15:59:05.418 357-1059/? D/MtkOmxRawDec: RAW Support Partial Frame !
05-27 15:59:05.418 30242-11385/com.google.android.exoplayer2.demo I/ACodec: mSupportsPartialFrames 1 err 0 
05-27 15:59:05.418 30242-11385/com.google.android.exoplayer2.demo D/ACodec: acodec.video.bstrdump 0
05-27 15:59:05.418 30242-11385/com.google.android.exoplayer2.demo D/ACodec: acodec.video.rawdump 0
05-27 15:59:05.418 357-15219/? D/MtkOmxAudioDecBase: GetParameter (0x02000001)
05-27 15:59:05.418 30242-11385/com.google.android.exoplayer2.demo D/ACodec: sendFormatChange 0
05-27 15:59:05.419 357-1109/? D/MtkOmxRawDec: GetParameter OMX_IndexParamAudioPcm !!!
05-27 15:59:05.419 357-18554/? D/MtkOmxAudioDecBase: GetParameter (0x02000001)
05-27 15:59:05.419 30242-11385/com.google.android.exoplayer2.demo D/ACodec: sendFormatChange 0
05-27 15:59:05.419 357-1059/? D/MtkOmxRawDec: GetParameter OMX_IndexParamAudioPcm !!!
05-27 15:59:05.420 357-357/? D/MtkOmxAudioDecBase: GetParameter (0x7F200406)
05-27 15:59:05.420 357-357/? E/MtkOmxAudioDecBase: GetParameter unsupported nParamIndex
05-27 15:59:05.420 357-357/? E/OMXNodeInstance: getParameter(50b:MTK.DECODER.RAW, ??(0x7f200406)) ERROR: UnsupportedIndex(0x8000101a)
05-27 15:59:05.421 911-2226/? W/System.err: java.lang.SecurityException: uid 10141 does not have android.permission.UPDATE_DEVICE_STATS.
05-27 15:59:05.421 911-2226/? W/System.err:     at android.app.ContextImpl.enforce(ContextImpl.java:2125)
05-27 15:59:05.421 911-2226/? W/System.err:     at android.app.ContextImpl.enforcePermission(ContextImpl.java:2137)
05-27 15:59:05.421 911-2226/? W/System.err:     at com.android.server.am.BatteryStatsService.enforceCallingPermission(BatteryStatsService.java:716)
05-27 15:59:05.421 911-2226/? W/System.err:     at com.android.server.am.BatteryStatsService.noteStartAudio(BatteryStatsService.java:429)
05-27 15:59:05.421 911-2226/? W/System.err:     at com.android.internal.app.IBatteryStats$Stub.onTransact(IBatteryStats.java:90)
05-27 15:59:05.421 911-2226/? W/System.err:     at android.os.Binder.execTransact(Binder.java:451)
05-27 15:59:05.422 30242-11382/com.google.android.exoplayer2.demo I/MediaCodec: [start]line:341 [OMX.MTK.AUDIO.DECODER.RAW]+++
05-27 15:59:05.422 30242-30242/com.google.android.exoplayer2.demo D/EventLogger: sourceInfo [periodCount=1, windowCount=1
05-27 15:59:05.423 30242-30242/com.google.android.exoplayer2.demo D/EventLogger:   period [0.36]
05-27 15:59:05.423 30242-30242/com.google.android.exoplayer2.demo D/EventLogger:   window [0.36, true, false]
05-27 15:59:05.423 30242-30242/com.google.android.exoplayer2.demo D/EventLogger: ]
05-27 15:59:05.423 357-15219/? D/MtkOmxAudioDecBase: SendCommand cmd=OMX_CommandStateSet
05-27 15:59:05.423 357-15219/? D/MtkOmxAudioDecBase: set MTK_OMX_IDLE_PENDING
05-27 15:59:05.423 357-11386/? D/MtkOmxAudioDecBase: # Got general command (OMX_CommandStateSet)
05-27 15:59:05.423 357-11386/? D/MtkOmxAudioDecBase: Request [OMX_StateLoaded]-> [OMX_StateIdle]
05-27 15:59:05.423 357-11386/? D/MtkOmxAudioDecBase: wait on mInPortAllocDoneSem(0), mOutPortAllocDoneSem(0)!!
05-27 15:59:05.423 30242-11385/com.google.android.exoplayer2.demo D/ACodec: [OMX.MTK.AUDIO.DECODER.RAW] Now Loaded->Idle
05-27 15:59:05.424 357-1109/? D/MtkOmxAudioDecBase: GetParameter (0x02000001)
05-27 15:59:05.427 357-18554/? D/MtkOmxAudioDecBase: UseBuffer port_idx(0x0), idx[0], pBuffHead(0xe9edcdc0), pBuffer(0xea8b5000)
05-27 15:59:05.428 357-1059/? D/MtkOmxAudioDecBase: UseBuffer port_idx(0x0), idx[1], pBuffHead(0xea4d8160), pBuffer(0xea8bd000)
05-27 15:59:05.429 357-357/? D/MtkOmxAudioDecBase: UseBuffer port_idx(0x0), idx[2], pBuffHead(0xea4d81c0), pBuffer(0xea8c5000)
05-27 15:59:05.430 357-15219/? D/MtkOmxAudioDecBase: UseBuffer port_idx(0x0), idx[3], pBuffHead(0xe9edc0a0), pBuffer(0xea8cd000)
05-27 15:59:05.430 30242-30242/com.google.android.exoplayer2.demo D/EventLogger: Tracks [
05-27 15:59:05.431 911-948/? D/WindowManager: notifyActivityDrawnForKeyguard: waiting=false Callers=com.android.server.wm.WindowManagerService.handleAppTransitionReadyLocked:10660 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedInner:11290 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedLoop:10029 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLocked:9971 com.android.server.wm.WindowManagerService.access$900:216 
05-27 15:59:05.431 30242-30242/com.google.android.exoplayer2.demo D/EventLogger:   Renderer:1 [
05-27 15:59:05.431 30242-30242/com.google.android.exoplayer2.demo D/EventLogger:     Group:0, adaptive_supported=N/A [
05-27 15:59:05.431 911-936/? D/PerfServiceManager: [PerfService] notifyFrameUpdate - bDuringTouchBoost:true 
05-27 15:59:05.431 30242-30242/com.google.android.exoplayer2.demo D/EventLogger:       [X] Track:0, id=null, mimeType=audio/raw, bitrate=705600, channels=1, sample_rate=44100, supported=YES
05-27 15:59:05.431 30242-30242/com.google.android.exoplayer2.demo D/EventLogger:     ]
05-27 15:59:05.431 30242-30242/com.google.android.exoplayer2.demo D/EventLogger:   ]
05-27 15:59:05.431 30242-30242/com.google.android.exoplayer2.demo D/EventLogger: ]
05-27 15:59:05.432 30242-30242/com.google.android.exoplayer2.demo D/EventLogger: audioEnabled [0.09]
05-27 15:59:05.432 30242-30242/com.google.android.exoplayer2.demo D/EventLogger: loading [false]
05-27 15:59:05.432 357-1109/? D/MtkOmxAudioDecBase: UseBuffer port_idx(0x0), idx[4], pBuffHead(0xe9edc100), pBuffer(0xea8d5000)
05-27 15:59:05.433 357-18554/? D/MtkOmxAudioDecBase: UseBuffer port_idx(0x0), idx[5], pBuffHead(0xea4d8880), pBuffer(0xea8dd000)
05-27 15:59:05.436 357-1059/? D/MtkOmxAudioDecBase: UseBuffer port_idx(0x0), idx[6], pBuffHead(0xea4d8280), pBuffer(0xea8e5000)
05-27 15:59:05.436 911-948/? I/ActivityManager: [AppLaunch] Displayed Displayed com.google.android.exoplayer2.demo/.PlayerActivity: +118ms
05-27 15:59:05.437 911-948/? D/ActivityManager: AP_PROF:AppLaunch_LaunchTime:com.google.android.exoplayer2.demo/.PlayerActivity:118:66891204
05-27 15:59:05.437 911-948/? D/ActivityManager: reportJunkFromApp:LaunchTime:com.google.android.exoplayer2.demo/.PlayerActivity:[AppLaunch] Displayed Displayed com.google.android.exoplayer2.demo/.PlayerActivity: +118ms
05-27 15:59:05.437 357-357/? D/MtkOmxAudioDecBase: UseBuffer port_idx(0x0), idx[7], pBuffHead(0xea4d87c0), pBuffer(0xea8ed000)
05-27 15:59:05.437 357-15219/? D/MtkOmxAudioDecBase: UseBuffer port_idx(0x0), idx[8], pBuffHead(0xe9edc1c0), pBuffer(0xea8f5000)
05-27 15:59:05.438 357-1109/? D/MtkOmxAudioDecBase: UseBuffer port_idx(0x0), idx[9], pBuffHead(0xe9edc400), pBuffer(0xea8fd000)
05-27 15:59:05.438 357-1109/? D/MtkOmxAudioDecBase: signal mInPortAllocDoneSem (1)
05-27 15:59:05.438 357-1109/? D/MtkOmxAudioDecBase: input port populated
05-27 15:59:05.438 357-18554/? D/MtkOmxAudioDecBase: GetParameter (0x02000001)
05-27 15:59:05.442 357-1059/? D/MtkOmxAudioDecBase: UseBuffer port_idx(0x1), idx[0], pBuffHead(0xea4d83a0), pBuffer(0xea825000)
05-27 15:59:05.443 357-357/? D/MtkOmxAudioDecBase: UseBuffer port_idx(0x1), idx[1], pBuffHead(0xea4d8820), pBuffer(0xea835000)
05-27 15:59:05.443 357-15219/? D/MtkOmxAudioDecBase: UseBuffer port_idx(0x1), idx[2], pBuffHead(0xe9edc460), pBuffer(0xea845000)
05-27 15:59:05.444 357-1109/? D/MtkOmxAudioDecBase: UseBuffer port_idx(0x1), idx[3], pBuffHead(0xe9edc040), pBuffer(0xea855000)
05-27 15:59:05.444 357-18554/? D/MtkOmxAudioDecBase: UseBuffer port_idx(0x1), idx[4], pBuffHead(0xea4d80a0), pBuffer(0xea865000)
05-27 15:59:05.445 357-1059/? D/MtkOmxAudioDecBase: UseBuffer port_idx(0x1), idx[5], pBuffHead(0xea4d8100), pBuffer(0xea875000)
05-27 15:59:05.445 357-357/? D/MtkOmxAudioDecBase: UseBuffer port_idx(0x1), idx[6], pBuffHead(0xea4d88e0), pBuffer(0xea885000)
05-27 15:59:05.445 357-15219/? D/MtkOmxAudioDecBase: UseBuffer port_idx(0x1), idx[7], pBuffHead(0xea4d82e0), pBuffer(0xea895000)
05-27 15:59:05.446 357-1109/? D/MtkOmxAudioDecBase: UseBuffer port_idx(0x1), idx[8], pBuffHead(0xec4356a0), pBuffer(0xea8a5000)
05-27 15:59:05.446 357-1109/? D/MtkOmxAudioDecBase: signal mOutPortAllocDoneSem (0)
05-27 15:59:05.446 357-1109/? D/MtkOmxAudioDecBase: output port populated
05-27 15:59:05.446 357-18554/? D/MtkOmxAudioDecBase: SendCommand cmd=OMX_CommandStateSet
05-27 15:59:05.446 357-11386/? D/MtkOmxAudioDecBase: # Got general command (OMX_CommandStateSet)
05-27 15:59:05.446 357-11386/? D/MtkOmxAudioDecBase: Request [OMX_StateIdle]-> [OMX_StateExecuting]
05-27 15:59:05.446 357-11386/? D/MtkOmxAudioDecBase: state changes to OMX_StateExecuting
05-27 15:59:05.447 30242-11385/com.google.android.exoplayer2.demo D/ACodec: [OMX.MTK.AUDIO.DECODER.RAW] Now Idle->Executing
05-27 15:59:05.447 30242-11382/com.google.android.exoplayer2.demo I/MediaCodec: [getInputBuffers]line:583 [OMX.MTK.AUDIO.DECODER.RAW]+++
05-27 15:59:05.449 30242-11382/com.google.android.exoplayer2.demo I/MediaCodec: [getOutputBuffers]line:594 [OMX.MTK.AUDIO.DECODER.RAW]+++
05-27 15:59:05.450 30242-30280/com.google.android.exoplayer2.demo D/OpenGLRenderer: Flushing caches (mode 0)
05-27 15:59:05.452 30242-30280/com.google.android.exoplayer2.demo D/Surface: Surface::disconnect(this=0x7f98675000,api=1)
05-27 15:59:05.452 30242-11385/com.google.android.exoplayer2.demo D/ACodec: [OMX.MTK.AUDIO.DECODER.RAW] Now Executing
05-27 15:59:05.453 357-11387/? D/MtkOmxRawDec: Init RAW PCM Decoder !!!
05-27 15:59:05.453 357-11387/? D/MtkOmxRawDec: BigEndianToLittleEndian !
05-27 15:59:05.453 357-11387/? D/MtkOmxRawDec: BigEndianToLittleEndian !
05-27 15:59:05.454 357-11387/? D/MtkOmxRawDec: BigEndianToLittleEndian !
05-27 15:59:05.454 357-11387/? D/MtkOmxRawDec: BigEndianToLittleEndian !
05-27 15:59:05.454 357-11387/? D/MtkOmxRawDec: BigEndianToLittleEndian !
05-27 15:59:05.455 357-357/? D/MtkOmxAudioDecBase: GetParameter (0x02000001)
05-27 15:59:05.455 30242-11385/com.google.android.exoplayer2.demo D/ACodec: sendFormatChange 0
05-27 15:59:05.455 30242-30280/com.google.android.exoplayer2.demo D/OpenGLRenderer: Flushing caches (mode 0)
05-27 15:59:05.455 30242-30280/com.google.android.exoplayer2.demo D/OpenGLRenderer: endAllStagingAnimators on 0x7f8adf1400 (ExpandableListView @31eaa9f7) with handle 0x7f7dc5e040
05-27 15:59:05.455 357-15219/? D/MtkOmxRawDec: GetParameter OMX_IndexParamAudioPcm !!!
05-27 15:59:05.456 30242-11385/com.google.android.exoplayer2.demo I/MediaCodec: codec output format changed mFlags 800
05-27 15:59:05.456 30242-11385/com.google.android.exoplayer2.demo D/ACodec: InputBuffer EOS
05-27 15:59:05.456 30242-11385/com.google.android.exoplayer2.demo D/ACodec: [OMX.MTK.AUDIO.DECODER.RAW] calling emptyBuffer 0xea4d81c0 w/ EOS
05-27 15:59:05.456 30242-11385/com.google.android.exoplayer2.demo D/ACodec: [OMX.MTK.AUDIO.DECODER.RAW] Signalled EOS on the input port
05-27 15:59:05.456 357-11387/? D/MtkOmxRawDec: RAW PCM FlushAudioDecoder !!!
05-27 15:59:05.457 30242-11385/com.google.android.exoplayer2.demo I/MediaCodec: [onMessageReceived]line:1242 [OMX.MTK.AUDIO.DECODER.RAW][what=kWhatEOS][state 6] 
05-27 15:59:05.461 30242-30242/com.google.android.exoplayer2.demo D/AbsListView: onWindowFocusChanged: hasWindowFocus=false, this=android.widget.ExpandableListView{31eaa9f7 VFED.VC. .F....ID 0,0-720,1132 #7f0b0096 app:id/sample_list}
05-27 15:59:05.461 30242-30242/com.google.android.exoplayer2.demo D/AbsListView: endFling+: mScrollY = 0,mTouchMode = -1,mFirstPosition = 8
05-27 15:59:05.461 30242-30242/com.google.android.exoplayer2.demo D/AbsListView: reportScrollStateChange: newState = 0, mLastScrollState = 0, mOnScrollListener = null, mScrollY = 0, mTouchMode = -1, mFirstPosition = 8
05-27 15:59:05.462 30242-30242/com.google.android.exoplayer2.demo D/AbsListView: endFling-: mScrollY = 0,mTouchMode = -1,mFirstPosition = 8
05-27 15:59:05.462 30242-30242/com.google.android.exoplayer2.demo D/EventLogger: audioDecoderInitialized [0.12, OMX.MTK.AUDIO.DECODER.RAW]
05-27 15:59:05.462 30242-30242/com.google.android.exoplayer2.demo D/EventLogger: audioFormatChanged [0.12, id=null, mimeType=audio/raw, bitrate=705600, channels=1, sample_rate=44100]
05-27 15:59:05.464 30242-11382/com.google.android.exoplayer2.demo I/MediaCodec: [getOutputFormat]line:540 [OMX.MTK.AUDIO.DECODER.RAW]+++
05-27 15:59:05.465 357-18554/? D/AudioPolicyManager: getOutput() device 2, stream 3, samplingRate 0, format 0, channelMask 3, flags 0
05-27 15:59:05.465 357-18554/? D/AudioPolicyManager: getOutput() returns output 2
05-27 15:59:05.466 357-1059/? D/AudioPolicyManager: getOutput() device 2, stream 3, samplingRate 0, format 0, channelMask 3, flags 0
05-27 15:59:05.466 357-1059/? D/AudioPolicyManager: getOutput() returns output 2
05-27 15:59:05.466 357-357/? D/AudioPolicyManager: getOutput() device 2, stream 3, samplingRate 0, format 0, channelMask 3, flags 0
05-27 15:59:05.466 357-357/? D/AudioPolicyManager: getOutput() returns output 2
05-27 15:59:05.466 30242-30242/com.google.android.exoplayer2.demo D/EventLogger: state [0.12, true, R]
05-27 15:59:05.467 30242-11382/com.google.android.exoplayer2.demo D/AudioTrack: audiotrack 0x7f9142ad00 set Type -1, rate 44100, fmt 1, chn 1, fcnt 24576, flags 0000
05-27 15:59:05.468 30242-11382/com.google.android.exoplayer2.demo D/AudioTrack: mChannelMask 0x1
05-27 15:59:05.468 357-1109/? D/AudioPolicyManager: getOutput() returns output 2
05-27 15:59:05.469 357-18554/? V/AudioMixer: Non-stereo channel mask: 1
05-27 15:59:05.469 357-18554/? D/AudioMixer: getTrackName, n 2 start init
05-27 15:59:05.471 357-1109/? D/AudioFlinger_Threads: attachAuxEffect_l EffectId 0
05-27 15:59:05.471 357-1109/? D/AudioFlinger_Threads: attachAuxEffect_l status 0
05-27 15:59:05.471 30242-11382/com.google.android.exoplayer2.demo D/AudioTrackCenter: addTrack, trackId:0x7f7d47e000, frameCount:24576, sampleRate:44100, trackPtr:0x7f9142ad00
05-27 15:59:05.471 30242-11382/com.google.android.exoplayer2.demo D/AudioTrackCenter: mAfSampleRate 44100, sampleRate 44100, AfFrameCount 1024 , mAfSampleRate 44100, frameCount 24576
05-27 15:59:05.471 30242-30242/com.google.android.exoplayer2.demo D/EventLogger: audioSessionId [630]
05-27 15:59:05.472 357-1059/? D/AudioPolicyManager: StartOutputSamplerate output = 2 stream = 3 session = 630 samplerate=44100 getPrimaryOutput= 2
05-27 15:59:05.472 357-1059/? D/AudioPolicyManager: startOutput() output 2, stream 3, session 630
05-27 15:59:05.472 357-1059/? D/AudioFlinger: +getParameters(): get_session_mode
05-27 15:59:05.472 357-1059/? D/AudioFlinger_Threads: getPidBySessionId session 630
05-27 15:59:05.472 357-1059/? D/AudioFlinger_Threads: numtracks 3 numactive 0
05-27 15:59:05.472 357-1059/? D/AudioFlinger_Threads: session 630 sessionId 582 status 2
05-27 15:59:05.472 357-1059/? D/AudioFlinger_Threads: session 630 sessionId 548 status 0
05-27 15:59:05.472 357-1059/? D/AudioFlinger_Threads: session 630 sessionId 630 status 5
05-27 15:59:05.472 357-1059/? D/AudioFlinger_Threads: track pid  30242
05-27 15:59:05.472 357-1059/? D/AudioFlinger: session 630 has no mPlaybackThreads
05-27 15:59:05.472 357-1059/? D/AudioFlinger: mAudioSessionRefs.size = 3 
05-27 15:59:05.472 357-1059/? D/AudioFlinger: mSessionid 548 pid = 10255
05-27 15:59:05.472 357-1059/? D/AudioFlinger: mSessionid 582 pid = 6007
05-27 15:59:05.472 357-1059/? D/AudioFlinger: mSessionid 630 pid = 30242
05-27 15:59:05.472 357-1059/? D/AudioPolicyManager: get_session_mode 0
05-27 15:59:05.472 357-1059/? D/AudioPolicyManager: getNewOutputDevice() selected device 2
05-27 15:59:05.472 357-1059/? D/AudioPolicyManager: setOutputDevice() output 2 device 0002 delayMs 0 force 0
05-27 15:59:05.472 357-1059/? D/AudioPolicyManager: setOutputDevice() prevDevice 0002
05-27 15:59:05.472 357-1059/? D/AudioPolicyManager: setOutputDevice() mMutePrevDevice 0002
05-27 15:59:05.472 357-1059/? D/AudioPolicyManager: setOutputDevice() setting same device 0002 or null device for output 2
05-27 15:59:05.472 357-1059/? D/AudioPolicyManager:  checkAndSetVolume stream = 3 index = 12 output = 2 device = 0x2 delayMs = 0 force = 0
05-27 15:59:05.473 357-1059/? D/AudioPolicyManager: computeAndSetAnalogGain stream 3, device 0x2, index 12 MuteTid 0 force 0
05-27 15:59:05.473 357-1029/? D/AudioSystem: +setParameters(): volumeDevice=2;volumeIndex=12;volumeStreamType=3 
05-27 15:59:05.473 357-1029/? D/AudioFlinger: setParameters(): io 0, keyvalue volumeDevice=2;volumeIndex=12;volumeStreamType=3, calling pid 357
05-27 15:59:05.473 357-1029/? D/AudioALSAHardware: +setParameters(): volumeDevice=2;volumeIndex=12;volumeStreamType=3
05-27 15:59:05.473 357-1029/? D/AudioALSAStreamManager: setAnalogVolume(),stream=3, device=2, index=12
05-27 15:59:05.473 357-1029/? D/AudioMTKGainController: setAnalogVolume(), stream 3, devices 0x2, index 12, mode 0
05-27 15:59:05.473 357-1029/? D/AudioMTKGainController: setNormalVolume(), stream 3, devices 0x2, index 12, mode 0x0
05-27 15:59:05.473 357-1029/? D/AudioMTKGainController: getGainDevice(), input devices = 0x2, return gainDevice = 2
05-27 15:59:05.473 357-1029/? D/AudioMTKGainController: setSpeakerGain(), gain = 9, spkAnaType = 1, spkLMixerName = Headset_PGAL_GAIN, spkRMixerName = Headset_PGAR_GAIN
05-27 15:59:05.473 357-1029/? D/AudioMTKGainController: tuneGainForMasterVolume(), degraded gain of mMasterVolume = 0 dB
05-27 15:59:05.473 357-1029/? D/AudioMTKGainController: setSpeakerGain, gain_idx 9, mHwVolume.speaker 10
05-27 15:59:05.473 357-1029/? D/AudioMTKGainController: SetSpeakerGain,index=9 
05-27 15:59:05.473 357-1029/? D/AudioALSAHardware: set analog volume
05-27 15:59:05.473 357-1029/? D/AudioALSAStreamManager: +setMDVolumeIndex() stream= 3, device= 2, index= c
05-27 15:59:05.473 357-1029/? D/AudioALSAStreamManager: -setMDVolumeIndex() not in incall mode
05-27 15:59:05.474 357-1029/? D/AudioALSAHardware: +processEMAudioLoopbacktest(): 
05-27 15:59:05.474 357-1029/? D/AudioALSAHardware: MMI_Auto_Test(): 
05-27 15:59:05.474 357-1029/? D/AudioALSAHardware: -setParameters(): volumeDevice=2;volumeIndex=12;volumeStreamType=3 
05-27 15:59:05.474 357-1029/? D/bt_audio_a2dp_hw: [A2DP_HW] [adev_set_parameters@1633] out is null , check in stream
05-27 15:59:05.474 357-1029/? I/str_params: key: 'volumeDevice' value: '2'
05-27 15:59:05.474 357-1029/? I/str_params: key: 'volumeIndex' value: '12'
05-27 15:59:05.474 357-1029/? I/str_params: key: 'volumeStreamType' value: '3'
05-27 15:59:05.474 357-1029/? D/AudioSystem: -setParameters(): volumeDevice=2;volumeIndex=12;volumeStreamType=3 
05-27 15:59:05.474 357-1059/? D/AudioPolicyManager: AddSampleRateArray index = 0 sampleRate = 44100
05-27 15:59:05.474 357-1059/? D/AudioPolicyManager: DumpSampleRateArray
05-27 15:59:05.474 357-1059/? D/AudioPolicyManager: SampleRateArray[0] = 1 
05-27 15:59:05.474 357-1059/? D/AudioPolicyManager: SampleRateArray[1] = 0 
05-27 15:59:05.474 357-1059/? D/AudioPolicyManager: SampleRateArray[2] = 0 
05-27 15:59:05.474 357-1059/? D/AudioPolicyManager: SampleRateArray[3] = 0 
05-27 15:59:05.474 357-1059/? D/AudioPolicyManager: SampleRateArray[4] = 0 
05-27 15:59:05.474 357-1059/? D/AudioPolicyManager: SampleRateArray[5] = 0 
05-27 15:59:05.474 357-1059/? D/AudioPolicyManager: PolicyFirstStart stream = 3 sampleRate = 44100, CheckFirstActive() 1 mSampleRate_Policy = 1
05-27 15:59:05.474 357-1059/? D/AudioPolicyManager: PrimarySupportSampleRate SampleRate = 44100
05-27 15:59:05.474 357-1059/? D/AudioPolicyManager: PrimarySupportSampleRate mSamplingRates[0] = 44100
05-27 15:59:05.474 357-1059/? D/AudioPolicyManager: SetFMIndirectMode SampleRate = 44100 
05-27 15:59:05.474 357-1059/? D/AudioFlinger_Threads: notifyAudiotrack create start
05-27 15:59:05.474 357-1059/? D/AudioFlinger_Threads: signal playback thread
05-27 15:59:05.474 357-1055/? D/AudioFlinger_Threads: thread 0xf5377000 type 0 TID 1055 waking up
05-27 15:59:05.474 357-1055/? D/AudioFlinger_Threads: +acquireWakeLock_l() AudioOut_2 status 0
05-27 15:59:05.475 30242-11382/com.google.android.exoplayer2.demo D/AudioTrackCenter: setTrackActive
05-27 15:59:05.475 357-1055/? D/AudioFlinger_Threads: -acquireWakeLock_l() AudioOut_2 status 0
05-27 15:59:05.475 357-1055/? V/AudioFlinger_Threads: anticipated start
05-27 15:59:05.475 357-1055/? D/dirac.effect_dirac: has_processed: resetting!
05-27 15:59:05.475 357-1055/? E/dirac.effect_dirac: first processing
05-27 15:59:05.475 357-1055/? D/AudioALSAStreamOut: open()
05-27 15:59:05.475 357-1055/? D/AudioALSASampleRateController: AudioALSASampleRateController mPlaybackScenarioMask = 1
05-27 15:59:05.475 357-1055/? D/AudioALSAStreamManager: +createPlaybackHandler(), mAudioMode = 0, output_devices = 0x2
05-27 15:59:05.475 357-1055/? D/AudioYusuParam: QueryFeatureSupportInfo(),feature support a290055 
05-27 15:59:05.475 357-1055/? D/AudioALSAPlaybackHandlerBase: AudioALSAPlaybackHandlerBase()
05-27 15:59:05.475 357-1055/? D/AudioALSAPlaybackHandlerNormal: AudioALSAPlaybackHandlerNormal()
05-27 15:59:05.475 357-1055/? D/AudioALSAStreamManager: createPlaybackHandler() ApplyFilter [0]/[1] Device [0x2]
05-27 15:59:05.475 357-1055/? D/AudioALSAPlaybackHandlerNormal: +setFilterMng() mAudioFilterManagerHandler [0xf510eee0]
05-27 15:59:05.475 357-1055/? D/AudioALSAPlaybackHandlerNormal: -setFilterMng()
05-27 15:59:05.475 357-1055/? D/AudioALSAStreamManager: -createPlaybackHandler(), mPlaybackHandlerVector.size() = 1
05-27 15:59:05.475 357-1055/? D/AudioALSAPlaybackHandlerNormal: +open(), mDevice = 0x2
05-27 15:59:05.475 357-1055/? D/AudioALSAHardwareResourceManager: EnableAudBufClk(), bEanble = 1
05-27 15:59:05.475 357-1055/? D/AudioALSADeviceParser: GetPcmIndexByString() stringpair = I2S0DL1_PLayback 
05-27 15:59:05.475 357-1055/? D/AudioALSADeviceParser: compare success = 8
05-27 15:59:05.475 357-1055/? D/AudioALSADeviceParser: GetCardIndexByString() stringpair = I2S0DL1_PLayback 
05-27 15:59:05.475 357-1055/? D/AudioALSADeviceParser:  compare success Cardindex = 0
05-27 15:59:05.475 357-1055/? D/AudioALSAPlaybackHandlerNormal: AudioALSAPlaybackHandlerNormal::open() pcmindex = 8
05-27 15:59:05.476 357-1055/? D/AudioALSAPlaybackHandlerBase:         Rate:	min=8000Hz	max=192000Hz
05-27 15:59:05.476 357-1055/? D/AudioALSAPlaybackHandlerBase:     Channels:	min=1		max=2
05-27 15:59:05.476 357-1055/? D/AudioALSAPlaybackHandlerBase:  Sample bits:	min=16		max=32
05-27 15:59:05.476 30242-11382/com.google.android.exoplayer2.demo D/AudioTrackShared: this(0x7f7dd79a60), mCblk(0x7f7d47e000), front(0), mIsOut 1, interrupt() FUTEX_WAKE
05-27 15:59:05.476 357-1055/? D/AudioALSAPlaybackHandlerBase:  Period size:	min=0		max=24576
05-27 15:59:05.476 357-1055/? D/AudioALSAPlaybackHandlerBase: Period count:	min=1		max=4
05-27 15:59:05.476 357-1055/? D/AudioALSAPlaybackHandlerBase: PCM_PARAM_BUFFER_SIZE :	 max=24576	
05-27 15:59:05.476 357-1055/? D/AudioALSAPlaybackHandlerBase: PCM_PARAM_BUFFER_BYTES :	 max=49152	
05-27 15:59:05.476 357-1055/? D/AudioALSAPlaybackHandlerNormal: ChooseTargetSampleRate SampleRate = 44100 outputdevice = 2
05-27 15:59:05.476 357-1055/? D/AudioALSAPlaybackHandlerBase: transferAudioFormatToPcmFormat(), audio_format(0x4) => pcm_format(0x1)
05-27 15:59:05.476 357-1055/? D/AudioALSAPlaybackHandlerNormal: open(), mConfig: channels = 2, rate = 44100, period_size = 3072, period_count = 2, format = 1
05-27 15:59:05.476 30242-11382/com.google.android.exoplayer2.demo D/AudioTrackCenter: setTrackActive
05-27 15:59:05.476 357-1055/? D/AudioALSAPlaybackHandlerBase: initBitConverter(), audio_format: 0x3 => 0x4, bcv_pcm_format = 0x3
05-27 15:59:05.476 30242-11382/com.google.android.exoplayer2.demo D/AudioTrack: audiotrack 0x7f9142ad00 stop done
05-27 15:59:05.476 6007-6007/? D/BluetoothAdapter: 91591358: getState() :  mService = null. Returning STATE_OFF
05-27 15:59:05.476 357-1055/? D/MtkAudioBitConverter: MtkAudioBitConverter Constructor, SR 44100, CH 2, format 3
05-27 15:59:05.476 357-1055/? D/MtkAudioBitConverter: +Open()
05-27 15:59:05.476 6007-6007/? D/BluetoothAdapter: 91591358: getState() :  mService = null. Returning STATE_OFF
05-27 15:59:05.476 357-1055/? D/MtkAudioBitConverter: -Open()
05-27 15:59:05.476 357-1055/? D/MtkAudioBitConverter: +ResetBuffer()
05-27 15:59:05.476 357-1055/? D/MtkAudioBitConverter: -ResetBuffer()
05-27 15:59:05.476 357-1055/? D/AudioALSAPlaybackHandlerNormal: SetLowJitterMode() bEanble = 1 SampleRate = 44100
05-27 15:59:05.476 357-1055/? D/AudioALSAPlaybackHandlerNormal: SetLowJitterMode(), bEanble = 1, setting
05-27 15:59:05.476 357-1055/? D/AudioALSAPlaybackHandlerBase: +openPcmDriver(), pcm device = 8
05-27 15:59:05.476 357-11390/? D/AudioFlinger_Threads: socket send start
05-27 15:59:05.477 357-11390/? D/AudioFlinger_Threads: socket send end
05-27 15:59:05.477 5741-5834/? D/DetectSceneService: run, server.accept() new tast
05-27 15:59:05.477 5741-5834/? D/DetectSceneService: run, server.accept() new tast end
05-27 15:59:05.478 5741-5834/? D/DetectSceneService: run, server.accept() start
05-27 15:59:05.479 357-1055/? E/AudioALSAPlaybackHandlerBase: openPcmDriver(), pcm_start(0xec621320) fail due to cannot start channel: Broken pipe
05-27 15:59:05.479 357-1055/? D/AudioALSAPlaybackHandlerBase: -openPcmDriver(), mPcm = 0xec621320
05-27 15:59:05.479 357-1055/? D/AudioALSAHardwareResourceManager: +startOutputDevice(), new_devices = 0x2, mStartOutputDevicesCount = 0 SampleRate = 44100
05-27 15:59:05.479 357-1055/? D/AudioALSADriverUtility: GetPropertyValue key = af.resouce.extdac_support value = 0
05-27 15:59:05.479 357-1055/? D/AudioALSAHardwareResourceManager: OpenSpeakerPath()
05-27 15:59:05.479 357-1055/? D/AudioALSADriverUtility: GetPropertyValue key = af.resouce.extdac_support value = 0
05-27 15:59:05.479 357-1055/? D/AudioALSADeviceConfigManager: ApplyDeviceTurnonSequenceByName() DeviceName = speaker_output descriptor->DeviceStatusCounte = 0
05-27 15:59:05.479 357-1055/? D/AudioALSADeviceConfigManager: cltname = Audio_Amp_L_Switch cltvalue = On
05-27 15:59:05.480 5741-14999/? D/DiracEffectControlService: getEffectIsEnabled, effectIsEnabled=true
05-27 15:59:05.481 5741-14999/? D/DiracEffectControlService: putSettingsDirac, mDiracEnable=true mIsInitDiracParameter=true
05-27 15:59:05.482 357-1055/? D/AudioALSADeviceConfigManager: cltname = Speaker_Amp_Switch cltvalue = On
05-27 15:59:05.483 5741-14999/? D/DetectSceneService: Task.run, effectenable = true
05-27 15:59:05.483 357-357/? D/AudioFlinger: +getParameters(): get_pid
05-27 15:59:05.484 5741-14999/? D/DetectSceneService: handlesocket, activeAuidoPids = :30242 music state = true
05-27 15:59:05.486 5741-14999/? D/DiracEffectControlService: setDiracEffectEnableInternal = false
05-27 15:59:05.487 357-1059/? E/dirac.controller: 'USECASE_GROUP_INTERNAL' will now utilize usecase 'USECASE_INVALID'
05-27 15:59:05.487 357-1059/? E/dirac.controller: no need to reevaluate
05-27 15:59:05.488 5741-14999/? D/DetectSceneService: this case  is not in app list
05-27 15:59:05.502 357-1055/? D/AudioALSAHardwareResourceManager: -startOutputDevice(), mOutputDevices = 0x2, mStartOutputDevicesCount = 1
05-27 15:59:05.502 357-1055/? D/AudioVoiceUIDL: [GetSRCInputParameter] mOutputSampleRate 16000,  mInputSampleRate 44100, mInChannel 2, mOutChannel, 0 format 4
05-27 15:59:05.502 357-1055/? D/AudioVoiceUIDL: [GetSRCInputParameter] create SRC handle fail
05-27 15:59:05.502 357-1055/? D/AudioALSAPlaybackHandlerNormal: -open()
05-27 15:59:05.502 357-1055/? D/AudioMTKGainController: AudioMTKGainController getMasterVolume
05-27 15:59:05.502 357-1055/? D/AudioALSAStreamManager: setMasterVolume(), volume = 1.000000
05-27 15:59:05.502 357-1055/? D/AudioMTKGainController: setMasterVolume(), mMasterVolume = 1.000000, mode = 0, devices = 0x2
05-27 15:59:05.502 357-1055/? D/AudioMTKGainController: setMasterVolume call setNormalVolume
05-27 15:59:05.502 357-1055/? D/AudioMTKGainController: setNormalVolume(), stream 3, devices 0x2, index 12, mode 0x0
05-27 15:59:05.502 357-1055/? D/AudioMTKGainController: getGainDevice(), input devices = 0x2, return gainDevice = 2
05-27 15:59:05.502 357-1055/? D/AudioMTKGainController: setSpeakerGain(), gain = 9, spkAnaType = 1, spkLMixerName = Headset_PGAL_GAIN, spkRMixerName = Headset_PGAR_GAIN
05-27 15:59:05.502 357-1055/? D/AudioMTKGainController: tuneGainForMasterVolume(), degraded gain of mMasterVolume = 0 dB
05-27 15:59:05.502 357-1055/? D/AudioMTKGainController: setSpeakerGain, gain_idx 9, mHwVolume.speaker 9
05-27 15:59:05.502 357-1055/? D/AudioMTKGainController: SetSpeakerGain,index=9 
05-27 15:59:05.502 357-1055/? D/AudioALSAStreamOut: +setLowLatencyMode(), mode 1
05-27 15:59:05.502 357-1055/? D/AudioALSAPlaybackHandlerNormal: setLowLatencyMode, rate 1024, mode = 1 , buffer_size = 8192, channel 2, format4
05-27 15:59:05.503 357-1055/? D/AudioMTKFilter: AudioMTKFilter::start() type 0 mode 4 bFirstDataWrite 1
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: +SetWorkMode()
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: SetWorkMode(), chNum 2, sampleRate 44100, workMode 4 RampupEnable 0
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: +SetParameter(), paramID 2, param 0x2
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: -SetParameter()
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: +SetParameter(), paramID 3, param 0xac44
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: -SetParameter()
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: +SetParameter(), paramID 1, param 0x4
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: -SetParameter()
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: +SetParameter(), paramID 12, param 0x0
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: SetParameter 484 mInitParam.Initial_State 0
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: -SetParameter()
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: -SetWorkMode()
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: +Open()
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: AudLdSz 8036/8036 61440/61440 fmt 1
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: -Open() result 0
05-27 15:59:05.503 357-1055/? E/AudioALSAPlaybackHandlerBase: -getHardwareBufferInfo pcm_get_htimestamp fail, ret = -1, pcm_get_error = cannot start channel: Broken pipe
05-27 15:59:05.503 357-1055/? D/AudioMixer: setParameter(TRACK, MIXER_FORMAT, 0x5)
05-27 15:59:05.503 357-1055/? D/AudioMixer: setParameter(TRACK, MAIN_BUFFER, 0xf53bc000)
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: MtkAudioLoud Constructor
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: +SetParameter(), paramID 0, param 0x5
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: -SetParameter()
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: +SetParameter(), paramID 3, param 0xac44
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: -SetParameter()
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: +SetParameter(), paramID 2, param 0x1
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: -SetParameter()
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: +SetParameter(), paramID 4, param 0x1
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: -SetParameter()
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: +SetParameter(), paramID 5, param 0x0
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: bIsZeroCoeff 1 mFilterType 5
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: Channel 1
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: Sampling_Rate 44100
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: PCM_Format 1
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: copyParam mIsSepLR_Filter [0]
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: LHSF_Coeff [0][0]=0x0, addr = 0xec61a400,
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: LHSF_Coeff [0][1]=0x0, addr = 0xec61a404,
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: LBPF_Coeff [0][0]=0x0, addr = 0xec61a428,
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: LBPF_Coeff [0][1]=0x0, addr = 0xec61a42c,
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: RHSF_Coeff [0][0]=0x0, addr = 0xec61a2c0,
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: RHSF_Coeff [0][1]=0x0, addr = 0xec61a2c4,
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: RBPF_Coeff [0][0]=0x0, addr = 0xec61a2e8,
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: RBPF_Coeff [0][1]=0x0, addr = 0xec61a2ec,
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: WS_Gain_Max 0
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: WS_Gain_Min 0
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: Filter_First 0
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: Num_Bands 8
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: Flt_Bank_Order 0
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: DRC_Delay 0
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: Lim_Th 32767
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: Lim_Gn 32767
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: Lim_Const 4
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: Lim_Delay 0
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: Sep_LR_Filter 0
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: Att_Time[0][0] = 8
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: Rel_Time[0][0] = 6400
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: Att_Time[0][1] = 8
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: Rel_Time[0][1] = 6400
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: Att_Time[0][2] = 8
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: Rel_Time[0][2] = 6400
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: Att_Time[0][3] = 8
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: Rel_Time[0][3] = 6400
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: Att_Time[0][4] = 8
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: Rel_Time[0][4] = 6400
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: Att_Time[0][5] = 8
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: Rel_Time[0][5] = 6400
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: DRC_Th[0][0] = -11520
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: DRC_Gn[0][0] = 2560
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: DRC_Th[0][1] = -9728
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: DRC_Gn[0][1] = 2560
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: DRC_Th[0][2] = -4864
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: DRC_Gn[0][2] = 2048
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: DRC_Th[0][3] = -2560
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: DRC_Gn[0][3] = 768
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: DRC_Th[0][4] = 0
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: DRC_Gn[0][4] = -768
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: -SetParameter()
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: +SetParameter(), paramID 1, param 0x3
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: -SetParameter()
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: +SetParameter(), paramID 11, param 0x1
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: +Open()
05-27 15:59:05.503 357-1055/? D/MtkAudioLoud: AudLdSz 8036/0 61440/0 fmt 1
05-27 15:59:05.504 357-1055/? D/MtkAudioLoud: AudLdSz New mpInternalBuf Pass
05-27 15:59:05.504 357-1055/? D/MtkAudioLoud: AudLdSz New mpTempBuf Pass
05-27 15:59:05.504 357-1055/? D/MtkAudioLoud: -Open() result 0
05-27 15:59:05.504 357-1055/? D/AudioMixer: resetDRC
05-27 15:59:05.504 357-1055/? D/MtkAudioLoud: +ResetBuffer()
05-27 15:59:05.504 357-1055/? D/MtkAudioLoud: -ResetBuffer()
05-27 15:59:05.505 357-1055/? E/AudioALSAPlaybackHandlerBase: -getHardwareBufferInfo pcm_get_htimestamp fail, ret = -1, pcm_get_error = cannot start channel: Broken pipe
05-27 15:59:05.523 12446-12446/? W/ADB_SERVICES: read_meminfo() mem_free=44632
05-27 15:59:05.698 327-327/? W/SurfaceFlinger: couldn't log to binary event log: overflow.
05-27 15:59:05.716 357-1055/? E/AudioFlinger: getNextBuffer, get null buffer
05-27 15:59:05.739 357-1055/? D/AudioALSAStreamOut: latency(), return 139
05-27 15:59:05.751 357-1055/? D/AudioALSAStreamOut: latency(), return 139
05-27 15:59:05.762 357-1055/? D/AudioALSAStreamOut: latency(), return 139
05-27 15:59:05.774 357-1055/? D/AudioALSAStreamOut: latency(), return 139
05-27 15:59:05.785 357-1055/? D/AudioALSAStreamOut: latency(), return 139
05-27 15:59:05.785 357-1055/? D/AudioTrackShared: this(0xe9f95580), mCblk(0xe62be000), front(15244), mIsOut 1, setStreamEndDone() FUTEX_WAKE
05-27 15:59:05.785 357-1055/? D/AudioFlinger_Threads: removeTracks_l removing track on session 630
05-27 15:59:05.786 357-1055/? D/MtkAudioLoud: +Close()
05-27 15:59:05.786 357-1055/? D/MtkAudioLoud: -Close()
05-27 15:59:05.786 357-1055/? D/MtkAudioLoud: +~MtkAudioLoud()
05-27 15:59:05.786 357-1055/? D/MtkAudioLoud: -~MtkAudioLoud()
05-27 15:59:05.786 357-1055/? D/AudioFlinger_Threads: notifyAudiotrack create removeTracks_l
05-27 15:59:05.786 357-11394/? D/AudioFlinger_Threads: socket send start
05-27 15:59:05.786 357-11394/? D/AudioFlinger_Threads: socket send end
05-27 15:59:05.786 5741-5834/? D/DetectSceneService: run, server.accept() new tast
05-27 15:59:05.786 5741-5834/? D/DetectSceneService: run, server.accept() new tast end
05-27 15:59:05.786 5741-5834/? D/DetectSceneService: run, server.accept() start
05-27 15:59:05.787 5741-14991/? D/DiracEffectControlService: getEffectIsEnabled, effectIsEnabled=true
05-27 15:59:05.787 5741-14991/? D/DiracEffectControlService: putSettingsDirac, mDiracEnable=true mIsInitDiracParameter=true
05-27 15:59:05.788 5741-14991/? D/DetectSceneService: Task.run, effectenable = true
05-27 15:59:05.788 357-1059/? D/AudioFlinger: +getParameters(): get_pid
05-27 15:59:05.788 5741-14991/? D/DetectSceneService: handlesocket, activeAuidoPids = null music state = true
05-27 15:59:05.788 5741-14991/? D/DiracEffectControlService: setDiracEffectEnableInternal = false
05-27 15:59:05.789 357-18554/? E/dirac.controller: 'USECASE_GROUP_INTERNAL' will now utilize usecase 'USECASE_INVALID'
05-27 15:59:05.789 357-18554/? E/dirac.controller: no need to reevaluate
05-27 15:59:05.797 357-1055/? D/AudioPolicyService: AudioCommandThread() adding stopOutputSamplerateCommand 2
05-27 15:59:05.798 357-1030/? D/AudioPolicyManager: StopOutputSampletate output = 2 stream = 3 session = 630 samplerate=44100 getPrimaryOutput = 2
05-27 15:59:05.798 357-1030/? D/AudioPolicyManager: DumpSampleRateArray
05-27 15:59:05.798 357-1030/? D/AudioPolicyManager: SampleRateArray[0] = 0 
05-27 15:59:05.798 357-1030/? D/AudioPolicyManager: SampleRateArray[1] = 0 
05-27 15:59:05.798 357-1030/? D/AudioPolicyManager: SampleRateArray[2] = 0 
05-27 15:59:05.798 357-1030/? D/AudioPolicyManager: SampleRateArray[3] = 0 
05-27 15:59:05.798 357-1030/? D/AudioPolicyManager: SampleRateArray[4] = 0 
05-27 15:59:05.798 357-1030/? D/AudioPolicyManager: SampleRateArray[5] = 0 
05-27 15:59:05.798 357-1030/? D/AudioPolicyManager: ReleaseFMIndirectMode 
05-27 15:59:05.798 357-1029/? D/AudioSystem: +setParameters(): FM_DIRECT_CONTROL=1 
05-27 15:59:05.798 357-1029/? D/AudioFlinger: setParameters(): io 2, keyvalue FM_DIRECT_CONTROL=1, calling pid 357
05-27 15:59:05.798 357-1029/? D/AudioFlinger_Threads: ThreadBase::setParameters() FM_DIRECT_CONTROL=1
05-27 15:59:05.798 357-1029/? D/AudioFlinger_Threads: sendConfigEvent_l() num events 1 event 2
05-27 15:59:05.809 357-1055/? D/AudioFlinger_Threads: processConfigEvents_l() remaining events 1
05-27 15:59:05.809 357-1055/? D/AudioALSAStreamOut: +setParameters(): FM_DIRECT_CONTROL=1
05-27 15:59:05.809 357-1055/? D/AudioALSAStreamOut: -setParameters(): FM_DIRECT_CONTROL=1 
05-27 15:59:05.809 357-1055/? V/AudioFlinger_Threads: processConfigEvents_l() DONE thread 0xf5377000
05-27 15:59:05.809 357-1029/? D/AudioSystem: -setParameters(): FM_DIRECT_CONTROL=1 
05-27 15:59:05.809 357-1030/? D/AudioPolicyManager: PolicyRestore
05-27 15:59:05.809 357-1030/? D/AudioPolicyManager: stopOutput() output 2, stream 3, session 630
05-27 15:59:05.809 357-1030/? D/AudioPolicyManager: getNewOutputDevice() selected device 0
05-27 15:59:05.809 357-1030/? D/AudioPolicyManager: setOutputDevice() output 2 device 0000 delayMs 278 force 0
05-27 15:59:05.809 357-1030/? D/AudioPolicyManager: setOutputDevice() prevDevice 0002
05-27 15:59:05.809 357-1030/? D/AudioPolicyManager: setOutputDevice() mMutePrevDevice 0002
05-27 15:59:05.809 357-1030/? D/AudioPolicyManager: setOutputDevice() setting same device 0000 or null device for output 2
05-27 15:59:05.817 911-948/? D/ActivityManager: ACT-IDLE_NOW_MSG from windowsVisible() for idle: ActivityRecord{22560483 u0 com.google.android.exoplayer2.demo/.PlayerActivity t66}
05-27 15:59:05.817 911-1129/? I/libPerfService: 1: set: 3, -1
05-27 15:59:05.818 911-1129/? I/libPerfService: 1: set max: -1, -1
05-27 15:59:05.818 911-1129/? I/libPerfService: [perfScnDisable] scn:6, scn_root_cluster:-1
05-27 15:59:05.818 911-1129/? I/libPerfService: [perfScnDisable] scn:7, scn_root_cluster:-1
05-27 15:59:05.818 911-1129/? I/libPerfService: 1: set freq: 910000, -1
05-27 15:59:05.818 911-1129/? I/libPerfService: 1: set vcore level: 0
05-27 15:59:05.837 911-2061/? D/PerfServiceManager: [PerfService] notifyFrameUpdate - bDuringTouchBoost:true 
05-27 15:59:05.837 30242-30242/com.google.android.exoplayer2.demo V/PhoneWindow: DecorView setVisiblity: visibility = 4 ,Parent =ViewRoot{13b98ed0 com.google.android.exoplayer2.demo/com.google.android.exoplayer2.demo.SampleChooserActivity,ident = 3}, this =com.android.internal.policy.impl.PhoneWindow$DecorView{343f7234 I.E..... R......D 0,0-720,1280}
05-27 15:59:05.853 911-936/? I/PPS: [PPSNotifyAppState] nPackNum:1, pack:com.google.android.exoplayer2.demo, com:.SampleChooserActivity, state:4, pid:0, last_boost_tid:-1
05-27 15:59:05.856 30242-30242/com.google.android.exoplayer2.demo D/EventLogger: state [0.51, true, E]
05-27 15:59:05.911 12446-12446/? W/ADB_SERVICES: read_meminfo() mem_free=45468
05-27 15:59:05.950 12446-12446/? W/ADB_SERVICES: read_meminfo() mem_free=45188
05-27 15:59:05.974 911-1096/? I/WifiStateMachine: fetchRssiLinkSpeedAndFrequencyNative, newRssi:-49, newLinkSpeed:65, SSID:"namibox"
05-27 15:59:05.976 911-1099/? D/NetworkLinkMonitor: RSSI_PKTCNT_FETCH_SUCCEEDED--dtotal= 1
05-27 15:59:06.060 12446-12446/? W/ADB_SERVICES: read_meminfo() mem_free=47768
05-27 15:59:06.143 911-1096/? I/WifiStateMachine: fetchRssiLinkSpeedAndFrequencyNative, newRssi:-49, newLinkSpeed:65, SSID:"namibox"
05-27 15:59:06.338 911-1129/? D/PerfServiceManager: [PerfService] MESSAGE_TIMEOUT:107 
05-27 15:59:06.339 911-1129/? I/libPerfService: 7: set: -1, -1
05-27 15:59:06.339 911-1129/? I/libPerfService: 7: set max: -1, -1
05-27 15:59:06.339 911-1129/? I/libPerfService: [perfScnDisable] scn:6, scn_root_cluster:-1
05-27 15:59:06.339 911-1129/? I/libPerfService: 7: set freq: -1, -1
05-27 15:59:06.339 911-1129/? I/libPerfService: 7: set vcore level: 0
05-27 15:59:06.340 911-1129/? D/PerfServiceManager: [PerfService] set utilization:0.8 
05-27 15:59:06.491 12446-12446/? W/ADB_SERVICES: read_meminfo() mem_free=47792
05-27 15:59:06.529 12446-12446/? W/ADB_SERVICES: read_meminfo() mem_free=47792
05-27 15:59:06.602 379-379/? I/thermal_src: wake up function 3
05-27 15:59:06.602 379-379/? I/thermal_src: TA_DAEMON_CMD_GET_TPCB cmd=0x5, len=4 PCB=36000
05-27 15:59:06.602 379-379/? I/thermal_src: TA_DAEMON_CMD_SET_TTJ cmd=0x4, len=4 Tj=85000
05-27 15:59:06.623 12446-12446/? W/ADB_SERVICES: read_meminfo() mem_free=47792
05-27 15:59:06.974 911-1096/? I/WifiStateMachine: fetchRssiLinkSpeedAndFrequencyNative, newRssi:-49, newLinkSpeed:65, SSID:"namibox"
05-27 15:59:06.979 911-1099/? D/NetworkLinkMonitor: RSSI_PKTCNT_FETCH_SUCCEEDED--dtotal= 0
05-27 15:59:07.068 12446-12446/? W/ADB_SERVICES: read_meminfo() mem_free=47900
05-27 15:59:07.105 12446-12446/? W/ADB_SERVICES: read_meminfo() mem_free=47900
05-27 15:59:07.188 12446-12446/? W/ADB_SERVICES: read_meminfo() mem_free=47900
05-27 15:59:07.645 12446-12446/? W/ADB_SERVICES: read_meminfo() mem_free=47792
05-27 15:59:07.685 12446-12446/? W/ADB_SERVICES: read_meminfo() mem_free=47792
05-27 15:59:07.748 12446-12446/? W/ADB_SERVICES: read_meminfo() mem_free=47792
05-27 15:59:07.975 911-1096/? I/WifiStateMachine: fetchRssiLinkSpeedAndFrequencyNative, newRssi:-49, newLinkSpeed:65, SSID:"namibox"
05-27 15:59:07.978 911-1099/? D/NetworkLinkMonitor: RSSI_PKTCNT_FETCH_SUCCEEDED--dtotal= 0
05-27 15:59:07.989 5894-5926/? I/Process: get_ion_cache_memory gpu: 18888 KB
05-27 15:59:08.168 911-1964/? W/Watchdog: SWT Watchdog after wait current time:66893935
05-27 15:59:08.168 911-1964/? W/Watchdog_N: !@WatchDog_2230;
05-27 15:59:08.168 911-1964/? W/Watchdog: **Get SF Time **1
05-27 15:59:08.169 911-1964/? W/Watchdog: SWT Watchdog before synchronized:66893937
05-27 15:59:08.169 911-1964/? W/Watchdog: SWT Watchdog after synchronized:66893937
05-27 15:59:08.178 911-1964/? W/Watchdog: SWT Watchdog before wait timeout:30000
05-27 15:59:08.178 911-1964/? W/Watchdog: SWT Watchdog before wait current time:66893946
05-27 15:59:08.178 911-1964/? W/Watchdog: SWT Watchdog before wait start:66893945
05-27 15:59:08.178 911-1964/? W/Watchdog: SWT Watchdog before wait CHECK_INTERVAL:30000
05-27 15:59:08.219 911-1129/? D/PerfServiceManager: [PerfService] MESSAGE_TIMER_TOUCH_BOOST_DURATION timeout 
05-27 15:59:08.220 911-1129/? I/libPerfService: 7: set: -1, -1
05-27 15:59:08.221 911-1129/? I/libPerfService: 7: set max: -1, -1
05-27 15:59:08.221 911-1129/? I/libPerfService: [perfScnDisable] scn:6, scn_root_cluster:-1
05-27 15:59:08.226 911-1129/? I/libPerfService: 7: set freq: -1, -1
05-27 15:59:08.226 911-1129/? I/libPerfService: 7: set vcore level: 0
05-27 15:59:08.234 12446-12446/? W/ADB_SERVICES: read_meminfo() mem_free=47776
05-27 15:59:08.275 12446-12446/? W/ADB_SERVICES: read_meminfo() mem_free=47776
05-27 15:59:08.311 12446-12446/? W/ADB_SERVICES: read_meminfo() mem_free=47776
05-27 15:59:08.566 5894-5929/? E/resmon: [6182: StackTraceElement.onUEvent] trigger=> type=3 value=364
05-27 15:59:08.723 357-1055/? D/AudioFlinger_Threads: Audio hardware entering standby, mixer 0xf5377000, suspend count 0
05-27 15:59:08.724 357-1055/? D/AudioALSAStreamOut: close()
05-27 15:59:08.724 357-1055/? D/AudioALSAPlaybackHandlerNormal: +close()
05-27 15:59:08.724 357-1055/? D/AudioVoiceUIDL: [SetInputStandBy] val 1
05-27 15:59:08.724 357-1055/? D/AudioVoiceUIDL: [SetInputStandBy] ReadRefFromRing to exit? (0) 
05-27 15:59:08.724 357-1055/? D/AudioALSAHardwareResourceManager: +stopOutputDevice(), mOutputDevices = 0x2, mStartOutputDevicesCount = 1
05-27 15:59:08.724 357-1055/? D/AudioALSAHardwareResourceManager: CloseSpeakerPath(), AUDIO_DEVICE_OUT_SPEAKER
05-27 15:59:08.724 357-1055/? D/AudioALSADeviceConfigManager: ApplyDeviceTurnoffSequenceByName() DeviceName = speaker_output descriptor->DeviceStatusCounte = 1
05-27 15:59:08.725 357-1055/? D/AudioALSADeviceConfigManager: cltname = Speaker_Amp_Switch cltvalue = Off
05-27 15:59:08.742 357-1055/? D/AudioALSADeviceConfigManager: cltname = Audio_Amp_L_Switch cltvalue = Off
05-27 15:59:08.744 357-1055/? D/AudioALSADriverUtility: GetPropertyValue key = af.resouce.extdac_support value = 0
05-27 15:59:08.744 357-1055/? D/AudioALSAHardwareResourceManager: -stopOutputDevice(), mOutputDevices = 0x0, mStartOutputDevicesCount = 0
05-27 15:59:08.744 357-1055/? D/AudioALSAPlaybackHandlerBase: +closePcmDriver(), mPcm = 0xec621320
05-27 15:59:08.748 357-1055/? D/AudioALSAPlaybackHandlerBase: -closePcmDriver(), mPcm = 0x0

btn.zip

@cr1944
Copy link
Author

cr1944 commented May 27, 2017

here is log from another device, also can't play:
log.txt

@cr1944 cr1944 changed the title can't play wav file on some device can't play wav file on some device, just noise May 27, 2017
@ojw28
Copy link
Contributor

ojw28 commented May 31, 2017

I'd suggest you report this to the device manufacturer.

@cr1944
Copy link
Author

cr1944 commented Jun 5, 2017

but the wav file can be played on the device with other music player

@cr1944
Copy link
Author

cr1944 commented Jun 5, 2017

currently my solution is use a custom MediaCodecSelector to use OMX.google.raw.decoder for raw audio type, and it works. But I hope there's a better solution:

@Override
public MediaCodecInfo getDecoderInfo(String mimeType, boolean requiresSecureDecoder)
                throws MediaCodecUtil.DecoderQueryException {
            if (mimeType.equals("audio/raw")) {
                return MediaCodecInfo.newInstance("OMX.google.raw.decoder", "audio/raw", null);
            }
            return MediaCodecUtil.getDecoderInfo(mimeType, requiresSecureDecoder);
 }

@ojw28
Copy link
Contributor

ojw28 commented Jun 5, 2017

Sounds like we should probably blacklist OMX.MTK.AUDIO.DECODER.RAW in MediaCodecUtil.isCodecUsableDecoder for some combination of Util.DEVICE and/or Util.SDK_INT values.

Do you have a good sense of what the blacklisting condition should be? I can try and check with MediaTek also, to see if this is a known issue.

@ojw28
Copy link
Contributor

ojw28 commented Jun 5, 2017

Internal bug ref: 62337687

@wuketidai
Copy link

when play flac on Oppo MTK device, it just white noise too.
And after specify OMX.google.raw.decoder, it play well.

@ojw28
Copy link
Contributor

ojw28 commented Jun 29, 2017

Apparently the MTK raw decoder is using the wrong endianness. They've fixed it going forwards, and OEMs can pick up the fix for their devices, but it's unlikely the fix will reach all of the affected devices in the wild. We'll most likely push a change that prefers OMX.google.raw.decoder on affected devices, if both are available.

ojw28 added a commit that referenced this issue Jun 30, 2017
Issue: #2873

-------------
Created by MOE: https:/google/moe
MOE_MIGRATED_REVID=160520136
@ojw28 ojw28 closed this as completed Jun 30, 2017
ojw28 added a commit that referenced this issue Jun 30, 2017
Issue: #2873

-------------
Created by MOE: https:/google/moe
MOE_MIGRATED_REVID=160520136
@google google locked and limited conversation to collaborators Oct 29, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants