diff --git a/app/src/main/java/io/legado/app/service/AudioPlayService.kt b/app/src/main/java/io/legado/app/service/AudioPlayService.kt index fdd8f7a58..ab0dbc1bc 100644 --- a/app/src/main/java/io/legado/app/service/AudioPlayService.kt +++ b/app/src/main/java/io/legado/app/service/AudioPlayService.kt @@ -124,8 +124,8 @@ class AudioPlayService : BaseService(), override fun onPrepared(mp: MediaPlayer?) { if (pause) return mp?.start() - postEvent(Bus.AUDIO_PROGRESS, mp?.duration) - handler.postDelayed(mpRunnable, 1000) + postEvent(Bus.AUDIO_SIZE, mp?.duration) + handler.post(mpRunnable) } override fun onError(mp: MediaPlayer?, what: Int, extra: Int): Boolean {