lovegaoshi / azusa-player-mobile

移动端的抽象b站音乐播放器
https://azusa-player-mobile.vercel.app/
GNU Affero General Public License v3.0
615 stars 21 forks source link

[bug]和导航软件一起使用的异常 #287

Closed RengeRenge closed 8 months ago

RengeRenge commented 8 months ago

开车和导航软件一起使用的时候,导航的声音响起时,有很大概率让azusa-player-mobile变得没有声音,此时音乐进度条还是在走动的,暂停再播放就能恢复正常。顺便一提也不算是和导航软件一起才出现,平时也有几率出现没声音的情况。

发生环境: 手机是华为mate x5,系统版本4.0.0.152 播放器设置里有打开实时R128gain

lovegaoshi commented 8 months ago

我用android auto 谷歌地图 和调试获取AUDIO_FOCUS_TRANSCIENT 没问题。用的啥导航软件? 用小红书频繁进入和退出短视频可以复现,但是小红书也杀AIMP和YTM,跟音量均衡无关。

在你的手机上此时音乐进度条还是在走动的是这样:进度条动画在走但是时间并不前进吗? Screenshot_20240202_061023

平时没声音的情况 三星S21高强度用没遇到过:(

====

重新获取音频对焦时会触发notification posted with id=1, ongoing=true

2024-02-02 06:05:37.467 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                D  WindowStopped on com.noxplay.noxplayer/com.noxplay.noxplayer.MainActivity set to false
2024-02-02 06:05:37.469 29421-29421 ConnectivityManager     com.noxplay.noxplayer                D  StackLog: [android.net.ConnectivityManager.sendRequestForNetwork(ConnectivityManager.java:4322)] [android.net.ConnectivityManager.registerDefaultNetworkCallbackForUid(ConnectivityManager.java:4886)] [android.net.ConnectivityManager.registerDefaultNetworkCallback(ConnectivityManager.java:4853)] [android.net.ConnectivityManager.registerDefaultNetworkCallback(ConnectivityManager.java:4827)] [com.bumptech.glide.manager.SingletonConnectivityReceiver$FrameworkConnectivityMonitorPostApi24.register(SingletonConnectivityReceiver.java:188)] [com.bumptech.glide.manager.SingletonConnectivityReceiver.maybeRegisterReceiver(SingletonConnectivityReceiver.java:110)] [com.bumptech.glide.manager.SingletonConnectivityReceiver.register(SingletonConnectivityReceiver.java:91)] [com.bumptech.glide.manager.DefaultConnectivityMonitor.register(DefaultConnectivityMonitor.java:25)] [com.bumptech.glide.manager.DefaultConnectivityMonitor.onStart(DefaultConnectivityMonitor.java:34)] [com.bumptech.glide.manager.ActivityFragmentLifecycle.onStart(ActivityFragmentLifecycle.java:51)] [com.bumptech.glide.manager.SupportRequestManagerFragment.onStart(SupportRequestManagerFragment.java:203)] [androidx.fragment.app.Fragment.performStart(Fragment.java:3021)] [androidx.fragment.app.FragmentStateManager.start(FragmentStateManager.java:589)] [androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:300)] [androidx.fragment.app.FragmentStore.moveToExpectedState(FragmentStore.java:112)] [androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1647)] [androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java:3128)] [androidx.fragment.app.FragmentManager.dispatchStart(FragmentManager.java:3079)] [androidx.fragment.app.FragmentController.dispatchStart(FragmentController.java:262)] [androidx.fragment.app.FragmentActivity.onStart(FragmentActivity.java:510)] [androidx.appcompat.app.AppCompatActivity.onStart(AppCompatActivity.java:251)] [com.noxplay.noxplayer.MainActivity.onStart(MainActivity.java:58)] [android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1582)] [android.app.Activity.performStart(Activity.java:8977)] [android.app.ActivityThread.handleStartActivity(ActivityThread.java:4198)] [android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:225)] [android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:205)] [android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:177)] [android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:98)] [android.app.ActivityThread$H.handleMessage(ActivityThread.java:2685)]
2024-02-02 06:05:37.497 29421-29421 BLASTBufferQueue_Java   com.noxplay.noxplayer                I  new BLASTBufferQueue, mName= ViewRootImpl@62fdeff[MainActivity] mNativeObject= 0xb400006f70820f90 sc.mNativeObject= 0xb400006fe085bdd0 caller= android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:2979 android.view.ViewRootImpl.relayoutWindow:9998 android.view.ViewRootImpl.performTraversals:4056 android.view.ViewRootImpl.doTraversal:3239 android.view.ViewRootImpl$TraversalRunnable.run:11197 android.view.Choreographer$CallbackRecord.run:1650 android.view.Choreographer$CallbackRecord.run:1659 android.view.Choreographer.doCallbacks:1129 android.view.Choreographer.doFrame:1055 android.view.Choreographer$FrameDisplayEventReceiver.run:1622 
2024-02-02 06:05:37.497 29421-29421 BLASTBufferQueue_Java   com.noxplay.noxplayer                I  update, w= 1080 h= 2400 mName = ViewRootImpl@62fdeff[MainActivity] mNativeObject= 0xb400006f70820f90 sc.mNativeObject= 0xb400006fe085bdd0 format= -1 caller= android.graphics.BLASTBufferQueue.<init>:89 android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:2979 android.view.ViewRootImpl.relayoutWindow:9998 android.view.ViewRootImpl.performTraversals:4056 android.view.ViewRootImpl.doTraversal:3239 android.view.ViewRootImpl$TraversalRunnable.run:11197 
2024-02-02 06:05:37.498 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                I  Relayout returned: old=(0,0,1080,2400) new=(0,0,1080,2400) req=(1080,2400)0 dur=13 res=0x403 s={true 0xb400006f308222a0} ch=true seqId=0
2024-02-02 06:05:37.498 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                D  mThreadedRenderer.initialize() mSurface={isValid=true 0xb400006f308222a0} hwInitialized=true
2024-02-02 06:05:37.499 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                D  reportNextDraw android.view.ViewRootImpl.performTraversals:4658 android.view.ViewRootImpl.doTraversal:3239 android.view.ViewRootImpl$TraversalRunnable.run:11197 android.view.Choreographer$CallbackRecord.run:1650 android.view.Choreographer$CallbackRecord.run:1659 
2024-02-02 06:05:37.500 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                D  Setup new sync=wmsSync-ViewRootImpl@62fdeff[MainActivity]#2
2024-02-02 06:05:37.500 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                D  Creating new active sync group ViewRootImpl@62fdeff[MainActivity]#3
2024-02-02 06:05:37.500 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                D  registerCallbacksForSync syncBuffer=false
2024-02-02 06:05:37.522 29421-29469 ViewRootIm...nActivity] com.noxplay.noxplayer                D  Received frameDrawingCallback syncResult=0 frameNum=1.
2024-02-02 06:05:37.523 29421-29469 ViewRootIm...nActivity] com.noxplay.noxplayer                I  mWNT: t=0xb400006fc0822b10 mBlastBufferQueue=0xb400006f70820f90 fn= 1 caller= android.view.ViewRootImpl$8.onFrameDraw:13614 android.view.ThreadedRenderer$1.onFrameDraw:788 <bottom of call stack> 
2024-02-02 06:05:37.523 29421-29469 ViewRootIm...nActivity] com.noxplay.noxplayer                D  Setting up sync and frameCommitCallback
2024-02-02 06:05:37.527 29421-29448 BLASTBufferQueue        com.noxplay.noxplayer                I  [ViewRootImpl@62fdeff[MainActivity]#1](f:0,a:0,s:0) onFrameAvailable the first frame is available
2024-02-02 06:05:37.527 29421-29448 ViewRootIm...nActivity] com.noxplay.noxplayer                D  Received frameCommittedCallback lastAttemptedDrawFrameNum=1 didProduceBuffer=true
2024-02-02 06:05:37.527 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                D  reportDrawFinished
2024-02-02 06:05:37.528 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                I  registerCallbackForPendingTransactions
2024-02-02 06:05:37.528 29421-29421 InsetsSourceConsumer    com.noxplay.noxplayer                D  applyRequestedVisibilityToControl: visible=true, type=2
2024-02-02 06:05:37.529 29421-29421 InsetsSourceConsumer    com.noxplay.noxplayer                D  applyRequestedVisibilityToControl: visible=true, type=1
2024-02-02 06:05:37.534 29421-29467 ViewRootIm...nActivity] com.noxplay.noxplayer                I  mWNT: t=0xb400006fc0854cb0 mBlastBufferQueue=0xb400006f70820f90 fn= 2 caller= android.view.ViewRootImpl$6.onFrameDraw:5539 android.view.ViewRootImpl$2.onFrameDraw:2103 android.view.ThreadedRenderer$1.onFrameDraw:788 
2024-02-02 06:05:37.565 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                I  MSG_WINDOW_FOCUS_CHANGED 1 0
2024-02-02 06:05:37.566 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                D  mThreadedRenderer.initializeIfNeeded()#2 mSurface={isValid=true 0xb400006f308222a0}
2024-02-02 06:05:37.566 29421-29421 InputMethodManagerUtils com.noxplay.noxplayer                D  startInputInner - Id : 0
2024-02-02 06:05:37.566 29421-29421 InputMethodManager      com.noxplay.noxplayer                I  startInputInner - IInputMethodManagerGlobalInvoker.startInputOrWindowGainedFocus
2024-02-02 06:05:37.578 29421-29436 ViewRootIm...nActivity] com.noxplay.noxplayer                I  Resizing android.view.ViewRootImpl@7f2be8f: frame = [0,0][1080,2400] reportDraw = false forceLayout = false syncSeqId = -1
2024-02-02 06:05:37.582 29421-29421 InsetsSourceConsumer    com.noxplay.noxplayer                D  applyRequestedVisibilityToControl: visible=false, type=8
2024-02-02 06:05:37.583 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                I  handleResized, msg = 4 frames=ClientWindowFrames{frame=[0,0][1080,2400] display=[0,0][1080,2400] parentFrame=[0,0][0,0]} forceNextWindowRelayout=false displayId=0 dragResizing=false compatScale=1.0 frameChanged=false attachedFrameChanged=false configChanged=false displayChanged=false compatScaleChanged=false
2024-02-02 06:05:40.382 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                I  MSG_WINDOW_FOCUS_CHANGED 0 0
2024-02-02 06:05:40.763 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                I  handleAppVisibility mAppVisible = true visible = false
2024-02-02 06:05:40.778 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                I  Relayout returned: old=(0,0,1080,2400) new=(0,0,1080,2400) req=(1080,2400)8 dur=6 res=0x402 s={false 0x0} ch=true seqId=0
2024-02-02 06:05:40.779 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                I  stopped(true) old = false
2024-02-02 06:05:40.779 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                D  WindowStopped on com.noxplay.noxplayer/com.noxplay.noxplayer.MainActivity set to true
2024-02-02 06:05:40.781 29421-29421 ConnectivityManager     com.noxplay.noxplayer                D  StackLog: [android.net.ConnectivityManager.unregisterNetworkCallback(ConnectivityManager.java:4996)] [com.bumptech.glide.manager.SingletonConnectivityReceiver$FrameworkConnectivityMonitorPostApi24.unregister(SingletonConnectivityReceiver.java:202)] [com.bumptech.glide.manager.SingletonConnectivityReceiver.maybeUnregisterReceiver(SingletonConnectivityReceiver.java:119)] [com.bumptech.glide.manager.SingletonConnectivityReceiver.unregister(SingletonConnectivityReceiver.java:102)] [com.bumptech.glide.manager.DefaultConnectivityMonitor.unregister(DefaultConnectivityMonitor.java:29)] [com.bumptech.glide.manager.DefaultConnectivityMonitor.onStop(DefaultConnectivityMonitor.java:39)] [com.bumptech.glide.manager.ActivityFragmentLifecycle.onStop(ActivityFragmentLifecycle.java:58)] [com.bumptech.glide.manager.SupportRequestManagerFragment.onStop(SupportRequestManagerFragment.java:209)] [androidx.fragment.app.Fragment.performStop(Fragment.java:3184)] [androidx.fragment.app.FragmentStateManager.stop(FragmentStateManager.java:640)] [androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:320)] [androidx.fragment.app.FragmentStore.moveToExpectedState(FragmentStore.java:112)] [androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1647)] [androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java:3128)] [androidx.fragment.app.FragmentManager.dispatchStop(FragmentManager.java:3096)] [androidx.fragment.app.FragmentController.dispatchStop(FragmentController.java:295)] [androidx.fragment.app.FragmentActivity.onStop(FragmentActivity.java:525)] [androidx.appcompat.app.AppCompatActivity.onStop(AppCompatActivity.java:257)] [android.app.Instrumentation.callActivityOnStop(Instrumentation.java:1623)] [android.app.Activity.performStop(Activity.java:9198)] [android.app.ActivityThread.callActivityOnStop(ActivityThread.java:5897)] [android.app.ActivityThread.performStopActivityInner(ActivityThread.java:5871)] [android.app.ActivityThread.handleStopActivity(ActivityThread.java:5942)] [android.app.servertransaction.StopActivityItem.execute(StopActivityItem.java:43)] [android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)] [android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:180)] [android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:98)] [android.app.ActivityThread$H.handleMessage(ActivityThread.java:2685)]
2024-02-02 06:05:40.784 29421-29421 InputTransport          com.noxplay.noxplayer                D  Input channel destroyed: 'ClientS', fd=213
2024-02-02 06:05:40.786  1483-3121  WindowManager           system_server                        E  win=Window{c7021e4 u0 com.noxplay.noxplayer/com.noxplay.noxplayer.MainActivity} destroySurfaces: appStopped=true cleanupOnResume=false win.mWindowRemovalAllowed=false win.mRemoveOnExit=false win.mViewVisibility=8 caller=com.android.server.wm.ActivityRecord.destroySurfaces:6862 com.android.server.wm.ActivityRecord.destroySurfaces:6843 com.android.server.wm.ActivityRecord.activityStopped:7510 com.android.server.wm.ActivityClientController.activityStopped:310 android.app.IActivityClientController$Stub.onTransact:702 com.android.server.wm.ActivityClientController.onTransact:175 android.os.Binder.execTransactInternal:1380 
2024-02-02 06:05:42.288 29421-29523 BufferPoolAccessor2.0   com.noxplay.noxplayer                D  bufferpool2 0xb400006fd084b298 : 5(40960 size) total buffers - 1(8192 size) used buffers - 2029/2045 (recycle/alloc) - 16/2043 (fetch/transfer)
2024-02-02 06:05:42.498 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                I  onDisplayChanged oldDisplayState=2 newDisplayState=2
2024-02-02 06:05:43.669 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                I  onDisplayChanged oldDisplayState=2 newDisplayState=2
2024-02-02 06:05:43.829 29421-29421 AudioManager            com.noxplay.noxplayer                D  dispatching onAudioFocusChange(-2) to android.media.AudioManager@ca285a0com.google.android.exoplayer2.AudioFocusManager$AudioFocusListener@fa9d559
2024-02-02 06:05:43.837  7061-7061  MediaSyncM..._7061_7061 com.xiaomi.wearable                  E  onClientPlaybackStateUpdate find playing media info packageName:com.noxplay.noxplayer
2024-02-02 06:05:43.844 29421-29421 NotificationManager     com.noxplay.noxplayer                I  com.noxplay.noxplayer: notify(1, null, Notification(channel=kotlin_audio_player shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0xa color=0x00000000 category=transport actions=6 vis=PUBLIC semFlags=0x0 semPriority=0 semMissedCount=0)) as user
2024-02-02 06:05:43.850 29421-29421 MusicServi...egrounding com.noxplay.noxplayer                D  notification posted with id=1, ongoing=true
2024-02-02 06:05:43.851 29421-29421 MusicService            com.noxplay.noxplayer                D  skipping foregrounding as the service is already foregrounded
2024-02-02 06:05:44.690 29421-29421 AudioManager            com.noxplay.noxplayer                D  dispatching onAudioFocusChange(1) to android.media.AudioManager@ca285a0com.google.android.exoplayer2.AudioFocusManager$AudioFocusListener@fa9d559
2024-02-02 06:05:44.692 29421-29520 AudioTrack              com.noxplay.noxplayer                D  getTimestamp_l(708): device stall time corrected using current time 82880630567443
2024-02-02 06:05:44.697  7061-7061  MediaSyncM..._7061_7061 com.xiaomi.wearable                  E  onClientPlaybackStateUpdate find playing media info packageName:com.noxplay.noxplayer
2024-02-02 06:05:44.710 29421-29421 NotificationManager     com.noxplay.noxplayer                I  com.noxplay.noxplayer: notify(1, null, Notification(channel=kotlin_audio_player shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0xa color=0x00000000 category=transport actions=6 vis=PUBLIC semFlags=0x0 semPriority=0 semMissedCount=0)) as user
2024-02-02 06:05:44.712 29421-29421 MusicServi...egrounding com.noxplay.noxplayer                D  notification posted with id=1, ongoing=true
2024-02-02 06:05:44.714 29421-29421 MusicService            com.noxplay.noxplayer                D  skipping foregrounding as the service is already foregrounded
2024-02-02 06:05:46.970 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                I  onDisplayChanged oldDisplayState=2 newDisplayState=2
2024-02-02 06:05:47.586 29421-29523 BufferPoolAccessor2.0   com.noxplay.noxplayer                D  bufferpool2 0xb400006fd084b298 : 5(40960 size) total buffers - 1(8192 size) used buffers - 2221/2237 (recycle/alloc) - 16/2235 (fetch/transfer)
2024-02-02 06:05:48.609 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                I  onDisplayChanged oldDisplayState=2 newDisplayState=2
2024-02-02 06:05:48.809 29421-29421 AudioManager            com.noxplay.noxplayer                D  dispatching onAudioFocusChange(-2) to android.media.AudioManager@ca285a0com.google.android.exoplayer2.AudioFocusManager$AudioFocusListener@fa9d559
2024-02-02 06:05:48.813 29421-29421 NotificationManager     com.noxplay.noxplayer                I  com.noxplay.noxplayer: notify(1, null, Notification(channel=kotlin_audio_player shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0xa color=0x00000000 category=transport actions=6 vis=PUBLIC semFlags=0x0 semPriority=0 semMissedCount=0)) as user
2024-02-02 06:05:48.821 29421-29421 MusicServi...egrounding com.noxplay.noxplayer                D  notification posted with id=1, ongoing=true
2024-02-02 06:05:48.822 29421-29421 MusicService            com.noxplay.noxplayer                D  skipping foregrounding as the service is already foregrounded
2024-02-02 06:05:48.827  7061-7061  MediaSyncM..._7061_7061 com.xiaomi.wearable                  E  onClientPlaybackStateUpdate find playing media info packageName:com.noxplay.noxplayer
2024-02-02 06:05:49.638 29421-29421 AudioManager            com.noxplay.noxplayer                D  dispatching onAudioFocusChange(1) to android.media.AudioManager@ca285a0com.google.android.exoplayer2.AudioFocusManager$AudioFocusListener@fa9d559
2024-02-02 06:05:49.644 29421-29520 AudioTrack              com.noxplay.noxplayer                D  getTimestamp_l(708): device stall time corrected using current time 82885583282702
2024-02-02 06:05:49.648  7061-7061  MediaSyncM..._7061_7061 com.xiaomi.wearable                  E  onClientPlaybackStateUpdate find playing media info packageName:com.noxplay.noxplayer
2024-02-02 06:05:49.653 29421-29421 NotificationManager     com.noxplay.noxplayer                I  com.noxplay.noxplayer: notify(1, null, Notification(channel=kotlin_audio_player shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0xa color=0x00000000 category=transport actions=6 vis=PUBLIC semFlags=0x0 semPriority=0 semMissedCount=0)) as user
2024-02-02 06:05:49.667 29421-29421 MusicServi...egrounding com.noxplay.noxplayer                D  notification posted with id=1, ongoing=true
2024-02-02 06:05:49.667 29421-29421 MusicService            com.noxplay.noxplayer                D  skipping foregrounding as the service is already foregrounded
2024-02-02 06:05:51.633 29421-29421 AudioManager            com.noxplay.noxplayer                D  dispatching onAudioFocusChange(-2) to android.media.AudioManager@ca285a0com.google.android.exoplayer2.AudioFocusManager$AudioFocusListener@fa9d559
2024-02-02 06:05:51.640  7061-7061  MediaSyncM..._7061_7061 com.xiaomi.wearable                  E  onClientPlaybackStateUpdate find playing media info packageName:com.noxplay.noxplayer
2024-02-02 06:05:51.648 29421-29421 NotificationManager     com.noxplay.noxplayer                I  com.noxplay.noxplayer: notify(1, null, Notification(channel=kotlin_audio_player shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0xa color=0x00000000 category=transport actions=6 vis=PUBLIC semFlags=0x0 semPriority=0 semMissedCount=0)) as user
2024-02-02 06:05:51.654 29421-29421 MusicServi...egrounding com.noxplay.noxplayer                D  notification posted with id=1, ongoing=true
2024-02-02 06:05:51.654 29421-29421 MusicService            com.noxplay.noxplayer                D  skipping foregrounding as the service is already foregrounded
2024-02-02 06:05:52.934 29421-29421 AudioManager            com.noxplay.noxplayer                D  dispatching onAudioFocusChange(1) to android.media.AudioManager@ca285a0com.google.android.exoplayer2.AudioFocusManager$AudioFocusListener@fa9d559
2024-02-02 06:05:52.938 29421-29520 AudioTrack              com.noxplay.noxplayer                D  getTimestamp_l(708): device stall time corrected using current time 82888877249471
2024-02-02 06:05:52.948  7061-7061  MediaSyncM..._7061_7061 com.xiaomi.wearable                  E  onClientPlaybackStateUpdate find playing media info packageName:com.noxplay.noxplayer
2024-02-02 06:05:52.953 29421-29421 NotificationManager     com.noxplay.noxplayer                I  com.noxplay.noxplayer: notify(1, null, Notification(channel=kotlin_audio_player shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0xa color=0x00000000 category=transport actions=6 vis=PUBLIC semFlags=0x0 semPriority=0 semMissedCount=0)) as user
2024-02-02 06:05:52.958 29421-29421 MusicServi...egrounding com.noxplay.noxplayer                D  notification posted with id=1, ongoing=true
2024-02-02 06:05:52.960 29421-29421 MusicService            com.noxplay.noxplayer                D  skipping foregrounding as the service is already foregrounded
2024-02-02 06:05:53.023 29421-29523 BufferPoolAccessor2.0   com.noxplay.noxplayer                D  bufferpool2 0xb400006fd084b298 : 5(40960 size) total buffers - 1(8192 size) used buffers - 2365/2381 (recycle/alloc) - 16/2379 (fetch/transfer)
2024-02-02 06:05:54.705 29421-29421 AudioManager            com.noxplay.noxplayer                D  dispatching onAudioFocusChange(-2) to android.media.AudioManager@ca285a0com.google.android.exoplayer2.AudioFocusManager$AudioFocusListener@fa9d559
2024-02-02 06:05:54.711 29421-29421 NotificationManager     com.noxplay.noxplayer                I  com.noxplay.noxplayer: notify(1, null, Notification(channel=kotlin_audio_player shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0xa color=0x00000000 category=transport actions=6 vis=PUBLIC semFlags=0x0 semPriority=0 semMissedCount=0)) as user
2024-02-02 06:05:54.713  7061-7061  MediaSyncM..._7061_7061 com.xiaomi.wearable                  E  onClientPlaybackStateUpdate find playing media info packageName:com.noxplay.noxplayer
2024-02-02 06:05:54.720 29421-29421 MusicServi...egrounding com.noxplay.noxplayer                D  notification posted with id=1, ongoing=true
2024-02-02 06:05:54.720 29421-29421 MusicService            com.noxplay.noxplayer                D  skipping foregrounding as the service is already foregrounded
2024-02-02 06:05:56.510 29421-29421 AudioManager            com.noxplay.noxplayer                D  dispatching onAudioFocusChange(1) to android.media.AudioManager@ca285a0com.google.android.exoplayer2.AudioFocusManager$AudioFocusListener@fa9d559
2024-02-02 06:05:56.512 29421-29520 AudioTrack              com.noxplay.noxplayer                D  getTimestamp_l(708): device stall time corrected using current time 82892450801084
2024-02-02 06:05:56.516  7061-7061  MediaSyncM..._7061_7061 com.xiaomi.wearable                  E  onClientPlaybackStateUpdate find playing media info packageName:com.noxplay.noxplayer
2024-02-02 06:05:56.520 29421-29421 NotificationManager     com.noxplay.noxplayer                I  com.noxplay.noxplayer: notify(1, null, Notification(channel=kotlin_audio_player shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0xa color=0x00000000 category=transport actions=6 vis=PUBLIC semFlags=0x0 semPriority=0 semMissedCount=0)) as user
2024-02-02 06:05:56.546 29421-29421 MusicServi...egrounding com.noxplay.noxplayer                D  notification posted with id=1, ongoing=true
2024-02-02 06:05:56.547 29421-29421 MusicService            com.noxplay.noxplayer                D  skipping foregrounding as the service is already foregrounded
2024-02-02 06:05:57.998 29421-29421 AudioManager            com.noxplay.noxplayer                D  dispatching onAudioFocusChange(-2) to android.media.AudioManager@ca285a0com.google.android.exoplayer2.AudioFocusManager$AudioFocusListener@fa9d559
2024-02-02 06:05:58.010  7061-7061  MediaSyncM..._7061_7061 com.xiaomi.wearable                  E  onClientPlaybackStateUpdate find playing media info packageName:com.noxplay.noxplayer
2024-02-02 06:05:58.010 29421-29421 NotificationManager     com.noxplay.noxplayer                I  com.noxplay.noxplayer: notify(1, null, Notification(channel=kotlin_audio_player shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0xa color=0x00000000 category=transport actions=6 vis=PUBLIC semFlags=0x0 semPriority=0 semMissedCount=0)) as user
2024-02-02 06:05:58.012 29421-29421 MusicServi...egrounding com.noxplay.noxplayer                D  notification posted with id=1, ongoing=true
2024-02-02 06:05:58.013 29421-29421 MusicService            com.noxplay.noxplayer                D  skipping foregrounding as the service is already foregrounded
2024-02-02 06:06:01.885 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                I  onDisplayChanged oldDisplayState=2 newDisplayState=2
2024-02-02 06:06:02.802 29421-29526 BufferPoolAccessor2.0   com.noxplay.noxplayer                D  bufferpool2 0xb400006fd084b298 : 5(40960 size) total buffers - 0(0 size) used buffers - 2506/2522 (recycle/alloc) - 24/2521 (fetch/transfer)
2024-02-02 06:06:02.802 29421-29526 BufferPoolAccessor2.0   com.noxplay.noxplayer                D  evictor expired: 1, evicted: 1
2024-02-02 06:06:06.088 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                I  onDisplayChanged oldDisplayState=2 newDisplayState=2
2024-02-02 06:06:07.045 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.462138, 0.462138) pid : 29421
2024-02-02 06:06:07.066 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.442882, 0.442882) pid : 29421
2024-02-02 06:06:07.088 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.423626, 0.423626) pid : 29421
2024-02-02 06:06:07.109 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.404370, 0.404370) pid : 29421
2024-02-02 06:06:07.130 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.385115, 0.385115) pid : 29421
2024-02-02 06:06:07.152 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.365859, 0.365859) pid : 29421
2024-02-02 06:06:07.174 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.346603, 0.346603) pid : 29421
2024-02-02 06:06:07.194 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.327347, 0.327347) pid : 29421
2024-02-02 06:06:07.216 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.308092, 0.308092) pid : 29421
2024-02-02 06:06:07.238 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.288836, 0.288836) pid : 29421
2024-02-02 06:06:07.258 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.269580, 0.269580) pid : 29421
2024-02-02 06:06:07.280 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.250325, 0.250325) pid : 29421
2024-02-02 06:06:07.300 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.231069, 0.231069) pid : 29421
2024-02-02 06:06:07.322 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.211813, 0.211813) pid : 29421
2024-02-02 06:06:07.343 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.192557, 0.192557) pid : 29421
2024-02-02 06:06:07.364 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.173302, 0.173302) pid : 29421
2024-02-02 06:06:07.386 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.154046, 0.154046) pid : 29421
2024-02-02 06:06:07.408 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.134790, 0.134790) pid : 29421
2024-02-02 06:06:07.429 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.115534, 0.115534) pid : 29421
2024-02-02 06:06:07.451 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.096279, 0.096279) pid : 29421
2024-02-02 06:06:07.472 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.077023, 0.077023) pid : 29421
2024-02-02 06:06:07.492 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.057767, 0.057767) pid : 29421
2024-02-02 06:06:07.512 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.038512, 0.038512) pid : 29421
2024-02-02 06:06:07.533 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.019256, 0.019256) pid : 29421
2024-02-02 06:06:07.554 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.000000, 0.000000) pid : 29421
2024-02-02 06:06:07.575 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.000000, 0.000000) pid : 29421
2024-02-02 06:06:07.586 29421-29421 NotificationManager     com.noxplay.noxplayer                I  com.noxplay.noxplayer: notify(1, null, Notification(channel=kotlin_audio_player shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x8 color=0x00000000 category=transport actions=6 vis=PUBLIC semFlags=0x0 semPriority=0 semMissedCount=0)) as user
2024-02-02 06:06:07.589 29421-29421 MusicServi...egrounding com.noxplay.noxplayer                D  notification posted with id=1, ongoing=false
2024-02-02 06:06:12.592 29421-29421 MusicServi...egrounding com.noxplay.noxplayer                D  Notification should have been stopped??
RengeRenge commented 8 months ago

我用android auto 谷歌地图 和调试获取AUDIO_FOCUS_TRANSCIENT 没问题。用的啥导航软件? 用小红书频繁进入和退出短视频可以复现,但是小红书也杀AIMP和YTM,跟音量均衡无关。

在你的手机上此时音乐进度条还是在走动的是这样:进度条动画在走但是时间并不前进吗? Screenshot_20240202_061023

平时没声音的情况 三星S21高强度用没遇到过:(

====

重新获取音频对焦时会触发notification posted with id=1, ongoing=true

2024-02-02 06:05:37.467 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                D  WindowStopped on com.noxplay.noxplayer/com.noxplay.noxplayer.MainActivity set to false
2024-02-02 06:05:37.469 29421-29421 ConnectivityManager     com.noxplay.noxplayer                D  StackLog: [android.net.ConnectivityManager.sendRequestForNetwork(ConnectivityManager.java:4322)] [android.net.ConnectivityManager.registerDefaultNetworkCallbackForUid(ConnectivityManager.java:4886)] [android.net.ConnectivityManager.registerDefaultNetworkCallback(ConnectivityManager.java:4853)] [android.net.ConnectivityManager.registerDefaultNetworkCallback(ConnectivityManager.java:4827)] [com.bumptech.glide.manager.SingletonConnectivityReceiver$FrameworkConnectivityMonitorPostApi24.register(SingletonConnectivityReceiver.java:188)] [com.bumptech.glide.manager.SingletonConnectivityReceiver.maybeRegisterReceiver(SingletonConnectivityReceiver.java:110)] [com.bumptech.glide.manager.SingletonConnectivityReceiver.register(SingletonConnectivityReceiver.java:91)] [com.bumptech.glide.manager.DefaultConnectivityMonitor.register(DefaultConnectivityMonitor.java:25)] [com.bumptech.glide.manager.DefaultConnectivityMonitor.onStart(DefaultConnectivityMonitor.java:34)] [com.bumptech.glide.manager.ActivityFragmentLifecycle.onStart(ActivityFragmentLifecycle.java:51)] [com.bumptech.glide.manager.SupportRequestManagerFragment.onStart(SupportRequestManagerFragment.java:203)] [androidx.fragment.app.Fragment.performStart(Fragment.java:3021)] [androidx.fragment.app.FragmentStateManager.start(FragmentStateManager.java:589)] [androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:300)] [androidx.fragment.app.FragmentStore.moveToExpectedState(FragmentStore.java:112)] [androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1647)] [androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java:3128)] [androidx.fragment.app.FragmentManager.dispatchStart(FragmentManager.java:3079)] [androidx.fragment.app.FragmentController.dispatchStart(FragmentController.java:262)] [androidx.fragment.app.FragmentActivity.onStart(FragmentActivity.java:510)] [androidx.appcompat.app.AppCompatActivity.onStart(AppCompatActivity.java:251)] [com.noxplay.noxplayer.MainActivity.onStart(MainActivity.java:58)] [android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1582)] [android.app.Activity.performStart(Activity.java:8977)] [android.app.ActivityThread.handleStartActivity(ActivityThread.java:4198)] [android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:225)] [android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:205)] [android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:177)] [android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:98)] [android.app.ActivityThread$H.handleMessage(ActivityThread.java:2685)]
2024-02-02 06:05:37.497 29421-29421 BLASTBufferQueue_Java   com.noxplay.noxplayer                I  new BLASTBufferQueue, mName= ViewRootImpl@62fdeff[MainActivity] mNativeObject= 0xb400006f70820f90 sc.mNativeObject= 0xb400006fe085bdd0 caller= android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:2979 android.view.ViewRootImpl.relayoutWindow:9998 android.view.ViewRootImpl.performTraversals:4056 android.view.ViewRootImpl.doTraversal:3239 android.view.ViewRootImpl$TraversalRunnable.run:11197 android.view.Choreographer$CallbackRecord.run:1650 android.view.Choreographer$CallbackRecord.run:1659 android.view.Choreographer.doCallbacks:1129 android.view.Choreographer.doFrame:1055 android.view.Choreographer$FrameDisplayEventReceiver.run:1622 
2024-02-02 06:05:37.497 29421-29421 BLASTBufferQueue_Java   com.noxplay.noxplayer                I  update, w= 1080 h= 2400 mName = ViewRootImpl@62fdeff[MainActivity] mNativeObject= 0xb400006f70820f90 sc.mNativeObject= 0xb400006fe085bdd0 format= -1 caller= android.graphics.BLASTBufferQueue.<init>:89 android.view.ViewRootImpl.updateBlastSurfaceIfNeeded:2979 android.view.ViewRootImpl.relayoutWindow:9998 android.view.ViewRootImpl.performTraversals:4056 android.view.ViewRootImpl.doTraversal:3239 android.view.ViewRootImpl$TraversalRunnable.run:11197 
2024-02-02 06:05:37.498 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                I  Relayout returned: old=(0,0,1080,2400) new=(0,0,1080,2400) req=(1080,2400)0 dur=13 res=0x403 s={true 0xb400006f308222a0} ch=true seqId=0
2024-02-02 06:05:37.498 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                D  mThreadedRenderer.initialize() mSurface={isValid=true 0xb400006f308222a0} hwInitialized=true
2024-02-02 06:05:37.499 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                D  reportNextDraw android.view.ViewRootImpl.performTraversals:4658 android.view.ViewRootImpl.doTraversal:3239 android.view.ViewRootImpl$TraversalRunnable.run:11197 android.view.Choreographer$CallbackRecord.run:1650 android.view.Choreographer$CallbackRecord.run:1659 
2024-02-02 06:05:37.500 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                D  Setup new sync=wmsSync-ViewRootImpl@62fdeff[MainActivity]#2
2024-02-02 06:05:37.500 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                D  Creating new active sync group ViewRootImpl@62fdeff[MainActivity]#3
2024-02-02 06:05:37.500 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                D  registerCallbacksForSync syncBuffer=false
2024-02-02 06:05:37.522 29421-29469 ViewRootIm...nActivity] com.noxplay.noxplayer                D  Received frameDrawingCallback syncResult=0 frameNum=1.
2024-02-02 06:05:37.523 29421-29469 ViewRootIm...nActivity] com.noxplay.noxplayer                I  mWNT: t=0xb400006fc0822b10 mBlastBufferQueue=0xb400006f70820f90 fn= 1 caller= android.view.ViewRootImpl$8.onFrameDraw:13614 android.view.ThreadedRenderer$1.onFrameDraw:788 <bottom of call stack> 
2024-02-02 06:05:37.523 29421-29469 ViewRootIm...nActivity] com.noxplay.noxplayer                D  Setting up sync and frameCommitCallback
2024-02-02 06:05:37.527 29421-29448 BLASTBufferQueue        com.noxplay.noxplayer                I  [ViewRootImpl@62fdeff[MainActivity]#1](f:0,a:0,s:0) onFrameAvailable the first frame is available
2024-02-02 06:05:37.527 29421-29448 ViewRootIm...nActivity] com.noxplay.noxplayer                D  Received frameCommittedCallback lastAttemptedDrawFrameNum=1 didProduceBuffer=true
2024-02-02 06:05:37.527 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                D  reportDrawFinished
2024-02-02 06:05:37.528 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                I  registerCallbackForPendingTransactions
2024-02-02 06:05:37.528 29421-29421 InsetsSourceConsumer    com.noxplay.noxplayer                D  applyRequestedVisibilityToControl: visible=true, type=2
2024-02-02 06:05:37.529 29421-29421 InsetsSourceConsumer    com.noxplay.noxplayer                D  applyRequestedVisibilityToControl: visible=true, type=1
2024-02-02 06:05:37.534 29421-29467 ViewRootIm...nActivity] com.noxplay.noxplayer                I  mWNT: t=0xb400006fc0854cb0 mBlastBufferQueue=0xb400006f70820f90 fn= 2 caller= android.view.ViewRootImpl$6.onFrameDraw:5539 android.view.ViewRootImpl$2.onFrameDraw:2103 android.view.ThreadedRenderer$1.onFrameDraw:788 
2024-02-02 06:05:37.565 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                I  MSG_WINDOW_FOCUS_CHANGED 1 0
2024-02-02 06:05:37.566 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                D  mThreadedRenderer.initializeIfNeeded()#2 mSurface={isValid=true 0xb400006f308222a0}
2024-02-02 06:05:37.566 29421-29421 InputMethodManagerUtils com.noxplay.noxplayer                D  startInputInner - Id : 0
2024-02-02 06:05:37.566 29421-29421 InputMethodManager      com.noxplay.noxplayer                I  startInputInner - IInputMethodManagerGlobalInvoker.startInputOrWindowGainedFocus
2024-02-02 06:05:37.578 29421-29436 ViewRootIm...nActivity] com.noxplay.noxplayer                I  Resizing android.view.ViewRootImpl@7f2be8f: frame = [0,0][1080,2400] reportDraw = false forceLayout = false syncSeqId = -1
2024-02-02 06:05:37.582 29421-29421 InsetsSourceConsumer    com.noxplay.noxplayer                D  applyRequestedVisibilityToControl: visible=false, type=8
2024-02-02 06:05:37.583 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                I  handleResized, msg = 4 frames=ClientWindowFrames{frame=[0,0][1080,2400] display=[0,0][1080,2400] parentFrame=[0,0][0,0]} forceNextWindowRelayout=false displayId=0 dragResizing=false compatScale=1.0 frameChanged=false attachedFrameChanged=false configChanged=false displayChanged=false compatScaleChanged=false
2024-02-02 06:05:40.382 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                I  MSG_WINDOW_FOCUS_CHANGED 0 0
2024-02-02 06:05:40.763 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                I  handleAppVisibility mAppVisible = true visible = false
2024-02-02 06:05:40.778 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                I  Relayout returned: old=(0,0,1080,2400) new=(0,0,1080,2400) req=(1080,2400)8 dur=6 res=0x402 s={false 0x0} ch=true seqId=0
2024-02-02 06:05:40.779 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                I  stopped(true) old = false
2024-02-02 06:05:40.779 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                D  WindowStopped on com.noxplay.noxplayer/com.noxplay.noxplayer.MainActivity set to true
2024-02-02 06:05:40.781 29421-29421 ConnectivityManager     com.noxplay.noxplayer                D  StackLog: [android.net.ConnectivityManager.unregisterNetworkCallback(ConnectivityManager.java:4996)] [com.bumptech.glide.manager.SingletonConnectivityReceiver$FrameworkConnectivityMonitorPostApi24.unregister(SingletonConnectivityReceiver.java:202)] [com.bumptech.glide.manager.SingletonConnectivityReceiver.maybeUnregisterReceiver(SingletonConnectivityReceiver.java:119)] [com.bumptech.glide.manager.SingletonConnectivityReceiver.unregister(SingletonConnectivityReceiver.java:102)] [com.bumptech.glide.manager.DefaultConnectivityMonitor.unregister(DefaultConnectivityMonitor.java:29)] [com.bumptech.glide.manager.DefaultConnectivityMonitor.onStop(DefaultConnectivityMonitor.java:39)] [com.bumptech.glide.manager.ActivityFragmentLifecycle.onStop(ActivityFragmentLifecycle.java:58)] [com.bumptech.glide.manager.SupportRequestManagerFragment.onStop(SupportRequestManagerFragment.java:209)] [androidx.fragment.app.Fragment.performStop(Fragment.java:3184)] [androidx.fragment.app.FragmentStateManager.stop(FragmentStateManager.java:640)] [androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:320)] [androidx.fragment.app.FragmentStore.moveToExpectedState(FragmentStore.java:112)] [androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1647)] [androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java:3128)] [androidx.fragment.app.FragmentManager.dispatchStop(FragmentManager.java:3096)] [androidx.fragment.app.FragmentController.dispatchStop(FragmentController.java:295)] [androidx.fragment.app.FragmentActivity.onStop(FragmentActivity.java:525)] [androidx.appcompat.app.AppCompatActivity.onStop(AppCompatActivity.java:257)] [android.app.Instrumentation.callActivityOnStop(Instrumentation.java:1623)] [android.app.Activity.performStop(Activity.java:9198)] [android.app.ActivityThread.callActivityOnStop(ActivityThread.java:5897)] [android.app.ActivityThread.performStopActivityInner(ActivityThread.java:5871)] [android.app.ActivityThread.handleStopActivity(ActivityThread.java:5942)] [android.app.servertransaction.StopActivityItem.execute(StopActivityItem.java:43)] [android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)] [android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:180)] [android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:98)] [android.app.ActivityThread$H.handleMessage(ActivityThread.java:2685)]
2024-02-02 06:05:40.784 29421-29421 InputTransport          com.noxplay.noxplayer                D  Input channel destroyed: 'ClientS', fd=213
2024-02-02 06:05:40.786  1483-3121  WindowManager           system_server                        E  win=Window{c7021e4 u0 com.noxplay.noxplayer/com.noxplay.noxplayer.MainActivity} destroySurfaces: appStopped=true cleanupOnResume=false win.mWindowRemovalAllowed=false win.mRemoveOnExit=false win.mViewVisibility=8 caller=com.android.server.wm.ActivityRecord.destroySurfaces:6862 com.android.server.wm.ActivityRecord.destroySurfaces:6843 com.android.server.wm.ActivityRecord.activityStopped:7510 com.android.server.wm.ActivityClientController.activityStopped:310 android.app.IActivityClientController$Stub.onTransact:702 com.android.server.wm.ActivityClientController.onTransact:175 android.os.Binder.execTransactInternal:1380 
2024-02-02 06:05:42.288 29421-29523 BufferPoolAccessor2.0   com.noxplay.noxplayer                D  bufferpool2 0xb400006fd084b298 : 5(40960 size) total buffers - 1(8192 size) used buffers - 2029/2045 (recycle/alloc) - 16/2043 (fetch/transfer)
2024-02-02 06:05:42.498 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                I  onDisplayChanged oldDisplayState=2 newDisplayState=2
2024-02-02 06:05:43.669 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                I  onDisplayChanged oldDisplayState=2 newDisplayState=2
2024-02-02 06:05:43.829 29421-29421 AudioManager            com.noxplay.noxplayer                D  dispatching onAudioFocusChange(-2) to android.media.AudioManager@ca285a0com.google.android.exoplayer2.AudioFocusManager$AudioFocusListener@fa9d559
2024-02-02 06:05:43.837  7061-7061  MediaSyncM..._7061_7061 com.xiaomi.wearable                  E  onClientPlaybackStateUpdate find playing media info packageName:com.noxplay.noxplayer
2024-02-02 06:05:43.844 29421-29421 NotificationManager     com.noxplay.noxplayer                I  com.noxplay.noxplayer: notify(1, null, Notification(channel=kotlin_audio_player shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0xa color=0x00000000 category=transport actions=6 vis=PUBLIC semFlags=0x0 semPriority=0 semMissedCount=0)) as user
2024-02-02 06:05:43.850 29421-29421 MusicServi...egrounding com.noxplay.noxplayer                D  notification posted with id=1, ongoing=true
2024-02-02 06:05:43.851 29421-29421 MusicService            com.noxplay.noxplayer                D  skipping foregrounding as the service is already foregrounded
2024-02-02 06:05:44.690 29421-29421 AudioManager            com.noxplay.noxplayer                D  dispatching onAudioFocusChange(1) to android.media.AudioManager@ca285a0com.google.android.exoplayer2.AudioFocusManager$AudioFocusListener@fa9d559
2024-02-02 06:05:44.692 29421-29520 AudioTrack              com.noxplay.noxplayer                D  getTimestamp_l(708): device stall time corrected using current time 82880630567443
2024-02-02 06:05:44.697  7061-7061  MediaSyncM..._7061_7061 com.xiaomi.wearable                  E  onClientPlaybackStateUpdate find playing media info packageName:com.noxplay.noxplayer
2024-02-02 06:05:44.710 29421-29421 NotificationManager     com.noxplay.noxplayer                I  com.noxplay.noxplayer: notify(1, null, Notification(channel=kotlin_audio_player shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0xa color=0x00000000 category=transport actions=6 vis=PUBLIC semFlags=0x0 semPriority=0 semMissedCount=0)) as user
2024-02-02 06:05:44.712 29421-29421 MusicServi...egrounding com.noxplay.noxplayer                D  notification posted with id=1, ongoing=true
2024-02-02 06:05:44.714 29421-29421 MusicService            com.noxplay.noxplayer                D  skipping foregrounding as the service is already foregrounded
2024-02-02 06:05:46.970 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                I  onDisplayChanged oldDisplayState=2 newDisplayState=2
2024-02-02 06:05:47.586 29421-29523 BufferPoolAccessor2.0   com.noxplay.noxplayer                D  bufferpool2 0xb400006fd084b298 : 5(40960 size) total buffers - 1(8192 size) used buffers - 2221/2237 (recycle/alloc) - 16/2235 (fetch/transfer)
2024-02-02 06:05:48.609 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                I  onDisplayChanged oldDisplayState=2 newDisplayState=2
2024-02-02 06:05:48.809 29421-29421 AudioManager            com.noxplay.noxplayer                D  dispatching onAudioFocusChange(-2) to android.media.AudioManager@ca285a0com.google.android.exoplayer2.AudioFocusManager$AudioFocusListener@fa9d559
2024-02-02 06:05:48.813 29421-29421 NotificationManager     com.noxplay.noxplayer                I  com.noxplay.noxplayer: notify(1, null, Notification(channel=kotlin_audio_player shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0xa color=0x00000000 category=transport actions=6 vis=PUBLIC semFlags=0x0 semPriority=0 semMissedCount=0)) as user
2024-02-02 06:05:48.821 29421-29421 MusicServi...egrounding com.noxplay.noxplayer                D  notification posted with id=1, ongoing=true
2024-02-02 06:05:48.822 29421-29421 MusicService            com.noxplay.noxplayer                D  skipping foregrounding as the service is already foregrounded
2024-02-02 06:05:48.827  7061-7061  MediaSyncM..._7061_7061 com.xiaomi.wearable                  E  onClientPlaybackStateUpdate find playing media info packageName:com.noxplay.noxplayer
2024-02-02 06:05:49.638 29421-29421 AudioManager            com.noxplay.noxplayer                D  dispatching onAudioFocusChange(1) to android.media.AudioManager@ca285a0com.google.android.exoplayer2.AudioFocusManager$AudioFocusListener@fa9d559
2024-02-02 06:05:49.644 29421-29520 AudioTrack              com.noxplay.noxplayer                D  getTimestamp_l(708): device stall time corrected using current time 82885583282702
2024-02-02 06:05:49.648  7061-7061  MediaSyncM..._7061_7061 com.xiaomi.wearable                  E  onClientPlaybackStateUpdate find playing media info packageName:com.noxplay.noxplayer
2024-02-02 06:05:49.653 29421-29421 NotificationManager     com.noxplay.noxplayer                I  com.noxplay.noxplayer: notify(1, null, Notification(channel=kotlin_audio_player shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0xa color=0x00000000 category=transport actions=6 vis=PUBLIC semFlags=0x0 semPriority=0 semMissedCount=0)) as user
2024-02-02 06:05:49.667 29421-29421 MusicServi...egrounding com.noxplay.noxplayer                D  notification posted with id=1, ongoing=true
2024-02-02 06:05:49.667 29421-29421 MusicService            com.noxplay.noxplayer                D  skipping foregrounding as the service is already foregrounded
2024-02-02 06:05:51.633 29421-29421 AudioManager            com.noxplay.noxplayer                D  dispatching onAudioFocusChange(-2) to android.media.AudioManager@ca285a0com.google.android.exoplayer2.AudioFocusManager$AudioFocusListener@fa9d559
2024-02-02 06:05:51.640  7061-7061  MediaSyncM..._7061_7061 com.xiaomi.wearable                  E  onClientPlaybackStateUpdate find playing media info packageName:com.noxplay.noxplayer
2024-02-02 06:05:51.648 29421-29421 NotificationManager     com.noxplay.noxplayer                I  com.noxplay.noxplayer: notify(1, null, Notification(channel=kotlin_audio_player shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0xa color=0x00000000 category=transport actions=6 vis=PUBLIC semFlags=0x0 semPriority=0 semMissedCount=0)) as user
2024-02-02 06:05:51.654 29421-29421 MusicServi...egrounding com.noxplay.noxplayer                D  notification posted with id=1, ongoing=true
2024-02-02 06:05:51.654 29421-29421 MusicService            com.noxplay.noxplayer                D  skipping foregrounding as the service is already foregrounded
2024-02-02 06:05:52.934 29421-29421 AudioManager            com.noxplay.noxplayer                D  dispatching onAudioFocusChange(1) to android.media.AudioManager@ca285a0com.google.android.exoplayer2.AudioFocusManager$AudioFocusListener@fa9d559
2024-02-02 06:05:52.938 29421-29520 AudioTrack              com.noxplay.noxplayer                D  getTimestamp_l(708): device stall time corrected using current time 82888877249471
2024-02-02 06:05:52.948  7061-7061  MediaSyncM..._7061_7061 com.xiaomi.wearable                  E  onClientPlaybackStateUpdate find playing media info packageName:com.noxplay.noxplayer
2024-02-02 06:05:52.953 29421-29421 NotificationManager     com.noxplay.noxplayer                I  com.noxplay.noxplayer: notify(1, null, Notification(channel=kotlin_audio_player shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0xa color=0x00000000 category=transport actions=6 vis=PUBLIC semFlags=0x0 semPriority=0 semMissedCount=0)) as user
2024-02-02 06:05:52.958 29421-29421 MusicServi...egrounding com.noxplay.noxplayer                D  notification posted with id=1, ongoing=true
2024-02-02 06:05:52.960 29421-29421 MusicService            com.noxplay.noxplayer                D  skipping foregrounding as the service is already foregrounded
2024-02-02 06:05:53.023 29421-29523 BufferPoolAccessor2.0   com.noxplay.noxplayer                D  bufferpool2 0xb400006fd084b298 : 5(40960 size) total buffers - 1(8192 size) used buffers - 2365/2381 (recycle/alloc) - 16/2379 (fetch/transfer)
2024-02-02 06:05:54.705 29421-29421 AudioManager            com.noxplay.noxplayer                D  dispatching onAudioFocusChange(-2) to android.media.AudioManager@ca285a0com.google.android.exoplayer2.AudioFocusManager$AudioFocusListener@fa9d559
2024-02-02 06:05:54.711 29421-29421 NotificationManager     com.noxplay.noxplayer                I  com.noxplay.noxplayer: notify(1, null, Notification(channel=kotlin_audio_player shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0xa color=0x00000000 category=transport actions=6 vis=PUBLIC semFlags=0x0 semPriority=0 semMissedCount=0)) as user
2024-02-02 06:05:54.713  7061-7061  MediaSyncM..._7061_7061 com.xiaomi.wearable                  E  onClientPlaybackStateUpdate find playing media info packageName:com.noxplay.noxplayer
2024-02-02 06:05:54.720 29421-29421 MusicServi...egrounding com.noxplay.noxplayer                D  notification posted with id=1, ongoing=true
2024-02-02 06:05:54.720 29421-29421 MusicService            com.noxplay.noxplayer                D  skipping foregrounding as the service is already foregrounded
2024-02-02 06:05:56.510 29421-29421 AudioManager            com.noxplay.noxplayer                D  dispatching onAudioFocusChange(1) to android.media.AudioManager@ca285a0com.google.android.exoplayer2.AudioFocusManager$AudioFocusListener@fa9d559
2024-02-02 06:05:56.512 29421-29520 AudioTrack              com.noxplay.noxplayer                D  getTimestamp_l(708): device stall time corrected using current time 82892450801084
2024-02-02 06:05:56.516  7061-7061  MediaSyncM..._7061_7061 com.xiaomi.wearable                  E  onClientPlaybackStateUpdate find playing media info packageName:com.noxplay.noxplayer
2024-02-02 06:05:56.520 29421-29421 NotificationManager     com.noxplay.noxplayer                I  com.noxplay.noxplayer: notify(1, null, Notification(channel=kotlin_audio_player shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0xa color=0x00000000 category=transport actions=6 vis=PUBLIC semFlags=0x0 semPriority=0 semMissedCount=0)) as user
2024-02-02 06:05:56.546 29421-29421 MusicServi...egrounding com.noxplay.noxplayer                D  notification posted with id=1, ongoing=true
2024-02-02 06:05:56.547 29421-29421 MusicService            com.noxplay.noxplayer                D  skipping foregrounding as the service is already foregrounded
2024-02-02 06:05:57.998 29421-29421 AudioManager            com.noxplay.noxplayer                D  dispatching onAudioFocusChange(-2) to android.media.AudioManager@ca285a0com.google.android.exoplayer2.AudioFocusManager$AudioFocusListener@fa9d559
2024-02-02 06:05:58.010  7061-7061  MediaSyncM..._7061_7061 com.xiaomi.wearable                  E  onClientPlaybackStateUpdate find playing media info packageName:com.noxplay.noxplayer
2024-02-02 06:05:58.010 29421-29421 NotificationManager     com.noxplay.noxplayer                I  com.noxplay.noxplayer: notify(1, null, Notification(channel=kotlin_audio_player shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0xa color=0x00000000 category=transport actions=6 vis=PUBLIC semFlags=0x0 semPriority=0 semMissedCount=0)) as user
2024-02-02 06:05:58.012 29421-29421 MusicServi...egrounding com.noxplay.noxplayer                D  notification posted with id=1, ongoing=true
2024-02-02 06:05:58.013 29421-29421 MusicService            com.noxplay.noxplayer                D  skipping foregrounding as the service is already foregrounded
2024-02-02 06:06:01.885 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                I  onDisplayChanged oldDisplayState=2 newDisplayState=2
2024-02-02 06:06:02.802 29421-29526 BufferPoolAccessor2.0   com.noxplay.noxplayer                D  bufferpool2 0xb400006fd084b298 : 5(40960 size) total buffers - 0(0 size) used buffers - 2506/2522 (recycle/alloc) - 24/2521 (fetch/transfer)
2024-02-02 06:06:02.802 29421-29526 BufferPoolAccessor2.0   com.noxplay.noxplayer                D  evictor expired: 1, evicted: 1
2024-02-02 06:06:06.088 29421-29421 ViewRootIm...nActivity] com.noxplay.noxplayer                I  onDisplayChanged oldDisplayState=2 newDisplayState=2
2024-02-02 06:06:07.045 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.462138, 0.462138) pid : 29421
2024-02-02 06:06:07.066 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.442882, 0.442882) pid : 29421
2024-02-02 06:06:07.088 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.423626, 0.423626) pid : 29421
2024-02-02 06:06:07.109 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.404370, 0.404370) pid : 29421
2024-02-02 06:06:07.130 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.385115, 0.385115) pid : 29421
2024-02-02 06:06:07.152 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.365859, 0.365859) pid : 29421
2024-02-02 06:06:07.174 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.346603, 0.346603) pid : 29421
2024-02-02 06:06:07.194 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.327347, 0.327347) pid : 29421
2024-02-02 06:06:07.216 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.308092, 0.308092) pid : 29421
2024-02-02 06:06:07.238 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.288836, 0.288836) pid : 29421
2024-02-02 06:06:07.258 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.269580, 0.269580) pid : 29421
2024-02-02 06:06:07.280 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.250325, 0.250325) pid : 29421
2024-02-02 06:06:07.300 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.231069, 0.231069) pid : 29421
2024-02-02 06:06:07.322 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.211813, 0.211813) pid : 29421
2024-02-02 06:06:07.343 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.192557, 0.192557) pid : 29421
2024-02-02 06:06:07.364 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.173302, 0.173302) pid : 29421
2024-02-02 06:06:07.386 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.154046, 0.154046) pid : 29421
2024-02-02 06:06:07.408 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.134790, 0.134790) pid : 29421
2024-02-02 06:06:07.429 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.115534, 0.115534) pid : 29421
2024-02-02 06:06:07.451 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.096279, 0.096279) pid : 29421
2024-02-02 06:06:07.472 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.077023, 0.077023) pid : 29421
2024-02-02 06:06:07.492 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.057767, 0.057767) pid : 29421
2024-02-02 06:06:07.512 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.038512, 0.038512) pid : 29421
2024-02-02 06:06:07.533 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.019256, 0.019256) pid : 29421
2024-02-02 06:06:07.554 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.000000, 0.000000) pid : 29421
2024-02-02 06:06:07.575 29421-29520 AudioTrack              com.noxplay.noxplayer                D  setVolume(0.000000, 0.000000) pid : 29421
2024-02-02 06:06:07.586 29421-29421 NotificationManager     com.noxplay.noxplayer                I  com.noxplay.noxplayer: notify(1, null, Notification(channel=kotlin_audio_player shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x8 color=0x00000000 category=transport actions=6 vis=PUBLIC semFlags=0x0 semPriority=0 semMissedCount=0)) as user
2024-02-02 06:06:07.589 29421-29421 MusicServi...egrounding com.noxplay.noxplayer                D  notification posted with id=1, ongoing=false
2024-02-02 06:06:12.592 29421-29421 MusicServi...egrounding com.noxplay.noxplayer                D  Notification should have been stopped??

用的百度地图。进度条和时间都在走动,但是没有声音。我发现在播放完自动切到下一首歌的时候也很容易出现这种bug。

lovegaoshi commented 8 months ago

麻烦打开调试日志 看看播放完自动切下一首时没声音的时候的记录 Screenshot_20240202_074834_APM

Screenshot_20240202_074828_APM

lovegaoshi commented 8 months ago

我超 有点担心是华为手机的问题了 百度地图导航语音是跟音乐平行播放的 三丧s21没音量没法复现

RengeRenge commented 8 months ago

麻烦打开调试日志 看看播放完自动切下一首时没声音的时候的记录 Screenshot_20240202_074834_APM

Screenshot_20240202_074828_APM

复现了,假面舞会播放完后Honey没有声音了,黑色月亮是预加载产生的日志

以下是日志

log: "[biliThumbup] liked: 0" debug: "[lrc] read local lrc and loading..." log: "[lyric] Loading Lrc from localStorage..." info: "calling searchLyricOptions: Honey" log: "Initiating Lyric with new track..." log: "[biliThumbup] liked: 0" debug: "[lrc] read local lrc and loading..." log: "[lyric] Loading Lrc from localStorage..." info: "calling searchLyricOptions: Honey" log: "Initiating Lyric with new track..." log: "[biliThumbup] liked: 0" debug: "[lrc] read local lrc and loading..." log: "[lyric] Loading Lrc from localStorage..." info: "calling searchLyricOptions: Honey" log: "Initiating Lyric with new track..." log: "[biliThumbup] liked: 0" debug: "[lrc] read local lrc and loading..." log: "[lyric] Loading Lrc from localStorage..." info: "calling searchLyricOptions: Honey" log: "Initiating Lyric with new track..." debug: "黑色月亮 is no longer the active track." debug: "[r128gain] set r128gain to -2.83 dB" debug: "[ffmpeg] r128gain resolved: -2.83 dB" debug: "[FFMPEG] r128gain null. now parsing FFMPEG r128gain..." debug: "[r128gain] found saved r128gain as undefined" debug: "黑色月亮 is no longer the active track." debug: "[cache] 黑色月亮 completed. now clearing cache and set R128gain..." debug: "[r128gain] set r128gain to undefined dB" debug: "[FFMPEG] now starting FFMPEG r128gain..." debug: "黑色月亮 caching progress: 83%" debug: "黑色月亮 caching progress: 60%" debug: "黑色月亮 caching progress: 21%" debug: "黑色月亮 caching progress: 0%" debug: "animated volume finished event triggered" debug: "[Cache] fetching 【阿梓歌】《黑色月亮》!!!感冒版! to cache..." debug: "[SongResolveURL] 黑色月亮 is resolved to https://upos-sz-mirror08c.bilivideo.com/upgcxcode/24/45/491084524/491084524_nb2-1-30280.m4s?e=ig8euxZM2rNcNbdlhoNvNC8BqJIzNbfqXBvEqxTEto8BTrNvN0GvT90W5JZMkX_YN0MvXg8gNEV4NC8xNEV4N03eN0B5tZlqNxTEto8BTrNvNeZVuJ10Kj_g2UB02J0mN0B5tZlqNCNEto8BTrNvNC7MTX502C8f2jmMQJ6mqF2fka1mqx6gqj0eN0B599M=&uipk=5&nbs=1&deadline=1706896790&gen=playurlv2&os=08cbv&oi=0&trid=bbe07b0f2b6743dc8473cbe4c863064fu&mid=0&platform=pc&upsig=2c99bc4bc6df7fe770914c7bf6b91657&uparams=e,uipk,nbs,deadline,gen,os,oi,trid,mid,platform&bvc=vod&nettype=0&orderid=0,3&buvid=&build=0&f=u_0_0&agrr=0&bw=39943&logo=80000000" debug: "animated volume finished event triggered" debug: "[r128gain] set r128gain volume to 0.6309573444801932 in 0" debug: "[r128gain] set r128gain to -4 dB" debug: "[r128gain] found saved r128gain as -4" debug: "fethcVideoPlayURL: https://api.bilibili.com/x/player/playurl?cid=491084524&bvid=BV1uT4y1y7vv&qn=64&fnval=16&try_look=1 with AudioUrl" debug: "[resolveURL] BV1uT4y1y7vv, 491084524 }" debug: "[CacheResolveURL] 黑色月亮 needs to be refetched." debug: "[SongResolveURL] cache missed, 491084524" debug: "[FADEIN] fading in..." debug: "[SongResolveURL] start resolving 【阿梓歌】《黑色月亮》!!!感冒版!" debug: "[ResolveURL] prefetching 【阿梓歌】《黑色月亮》!!!感冒版!" debug: "animated volume finished event triggered" debug: "[r128gain] set r128gain volume to 0.6309573444801932 in 0" info: "calling searchLyric" info: "calling searchLyric" log: "[biliThumbup] liked: 0" info: "calling searchLyricOptions: Honey" log: "Initiating Lyric with new track..." debug: "Honey is no longer the active track." debug: "[r128gain] set r128gain to -4 dB" debug: "[r128gain] found saved r128gain as -4" debug: "[cache] Honey completed. now clearing cache and set R128gain..." debug: "[SongResolveURL] Honey is resolved to file:///data/user/0/com.noxplay.noxplayer/files/ReactNativeBlobUtilTmp_5haevbsytmpb1a0vbojdym..m4s" debug: "[CacheResolveURL] Honey needs to be refetched." debug: "[SongResolveURL] cache found, 730587331" debug: "[SongResolveURL] start resolving 【阿梓歌】王心凌《Honey》!!!纯享版!" debug: "[FADEOUT] fading out....203.537 / 203.733" log: "[biliThumbup] liked: 0" debug: "[lrc] read local lrc and loading..." log: "[lyric] Loading Lrc from localStorage..." info: "calling searchLyricOptions: 假面舞会" log: "Initiating Lyric with new track..." log: "[biliThumbup] liked: 0" debug: "[lrc] read local lrc and loading..." log: "[lyric] Loading Lrc from localStorage..." info: "calling searchLyricOptions: 假面舞会" log: "Initiating Lyric with new track..." log: "[biliThumbup] liked: 0" debug: "[lrc] read local lrc and loading..." log: "[lyric] Loading Lrc from localStorage..." info: "calling searchLyricOptions: 假面舞会" log: "Initiating Lyric with new track..." log: "[biliThumbup] liked: 0" debug: "[lrc] read local lrc and loading..." log: "[lyric] Loading Lrc from localStorage..." info: "calling searchLyricOptions: 假面舞会" log: "Initiating Lyric with new t

lovegaoshi commented 8 months ago

这个apk看看 复现 点DebugLogName 看TP.volume Screenshot from 2024-02-02 09-18-29

不知道为什么log: "Initiating Lyric with new track..."有4次,应该只有一次

RengeRenge commented 8 months ago

这个apk看看 复现 点DebugLogName 看TP.volume Screenshot from 2024-02-02 09-18-29

不知道为什么log: "Initiating Lyric with new track..."有4次,应该只有一次

复现日志

TP.volume: 0

TP.activeTrack: {"urlRefreshTimeStamp":1706902123057,"title":"有可能的夜晚","song":{"addedDate":1706853508373,"page":1,"cover":"http://i1.hdslb.com/bfs/archive/b18dacb8c429fd60740ed78480794cc662da68fc.jpg","name":"【阿梓歌】《有可能的夜晚》!!!上古纯享版!","bvid":"BV1EL4y1v7mP","parsedName":"有可能的夜晚","singerId":1982780,"id":"438573146","album":"【阿梓歌】《有可能的夜晚》!!!上古纯享版!","singer":"CC无名酱","nameRaw":"【阿梓歌】《有可能的夜晚》!!!上古纯享版!","lyric":"","source":"bilivideo","duration":274},"duration":274,"url":"file:///data/user/0/com.noxplay.noxplayer/files/ReactNativeBlobUtilTmp_t76j29dxujha1zflqp1zg8..m4s","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 Edg/118.0.2088.46","artwork":"https://i1.hdslb.com/bfs/archive/b18dacb8c429fd60740ed78480794cc662da68fc.jpg","headers":{"User-Agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 Edg/118.0.2088.46"},"artist":"CC无名酱"}
lovegaoshi commented 8 months ago

这个apk看看 不行就硬打补丁了

RengeRenge commented 8 months ago

这个apk看看 不行就硬打补丁了

这个版本点击下一首直接没声音了,并且没法切歌,查看发现TP.volume: 0。但是奇怪的是我用录屏发现录出来竟然有声音。

测试更新:这个版本似乎自动切歌不会出问题(目前没出现),但是没法手动切歌

https://github.com/lovegaoshi/azusa-player-mobile/assets/14158970/b029a66e-4d72-4dbf-8df0-3bc3e115a416

lovegaoshi commented 8 months ago

大概搞懂了 试试这个apk

RengeRenge commented 8 months ago

大概搞懂了 试试这个apk

刚刚用着好像没问题,我再用几天看看。

顺便提一下,通知里有个图标不太对,似乎是没有匹配到高倍图 Screenshot_20240203_140555_com huawei android launcher

lovegaoshi commented 8 months ago

确实不对 华为媒体中心怎么这么丑

RengeRenge commented 8 months ago

大概搞懂了 试试这个apk

问题已解决