Brief silence when unpausing
Step to reproduce:
- Start a playback
- Pause
- Unpause
- Notice a brief silence
Logs when unpausing:
07-07 13:39:32.005 180 180 D SurfaceFlinger: Backpressure trigger, skipping transaction & refresh!
07-07 13:39:32.057 10433 23191 D VLC : [c9edee30/5a97] libvlc input: control type=0
07-07 13:39:32.057 10433 23192 D VLC : [d03ef990/5a98] libvlc stream: resuming
07-07 13:39:32.058 10433 23201 D VLC : [ceac4ab0/5aa1] libvlc decoder: toggling pause
07-07 13:39:32.058 10433 23199 D VLC : [ce9f04b0/5a9f] libvlc decoder: toggling pause
07-07 13:39:32.058 198 21739 W AudioFlinger: moveEffectChain_l() effect chain for session 0 not on source thread 0xee6830c0
07-07 13:39:32.060 198 23204 W AudioFlinger: pause because of UNDERRUN, framesReady = 5644,minFrames = 512, mFormat = 0x1
07-07 13:39:32.064 10433 13826 D VLC/medialibrary: ../src/MediaLibrary.cpp:593 media Fetching media from mrl: smb://DOOP/Volume_1/Videos/Series/Brooklyn_99/Season_7/Brooklyn.Nine-Nine.S07E09.1080p.WEB.H264-METCON%5Brarbg%5D.mkv
07-07 13:39:32.065 10433 13826 W VLC/medialibrary: ../src/File.cpp:409 fromMrl Failed to create FS factory for path smb://DOOP/Volume_1/Videos/Series/Brooklyn_99/Season_7/Brooklyn.Nine-Nine.S07E09.1080p.WEB.H264-METCON%5Brarbg%5D.mkv
07-07 13:39:32.065 198 23204 W AudioFlinger: pause because of UNDERRUN, framesReady = 5644,minFrames = 512, mFormat = 0x1
07-07 13:39:32.066 10433 10433 I VLC/PlaybackService: MediaPlayer.Event.Playing
07-07 13:39:32.070 414 706 V Avrcp : onPlaybackStateChanged: state PlaybackState {state=3, position=17670, buffered position=0, speed=1.0, updated=101073518, actions=2375547, custom actions=[Action:mName='Shuffle mode, mIcon=2131230926, mExtras=null, Action:mName='Repeat mode, mIcon=2131230923, mExtras=null], active item id=-1, error=null}
07-07 13:39:32.070 198 23204 W AudioFlinger: pause because of UNDERRUN, framesReady = 5644,minFrames = 512, mFormat = 0x1
07-07 13:39:32.075 198 23204 W AudioFlinger: pause because of UNDERRUN, framesReady = 5644,minFrames = 512, mFormat = 0x1
07-07 13:39:32.076 414 706 V Avrcp : onMetadataChanged
07-07 13:39:32.080 198 23204 W AudioFlinger: pause because of UNDERRUN, framesReady = 5644,minFrames = 512, mFormat = 0x1
07-07 13:39:32.096 198 23204 I chatty : uid=1041(audioserver) AudioOut_3FD identical 3 lines
07-07 13:39:32.101 198 23204 W AudioFlinger: pause because of UNDERRUN, framesReady = 5644,minFrames = 512, mFormat = 0x1
07-07 13:39:32.105 180 180 D SurfaceFlinger: Backpressure trigger, skipping transaction & refresh!
07-07 13:39:32.117 198 22094 I AudioHAL_AudioHardwareOutput: Main stream out removing HDMI output.
07-07 13:39:32.118 198 23206 I AudioHAL_HDMIAudioOutput: setupForStream format 00000001, rate = 48000
07-07 13:39:32.118 198 23206 I AudioHAL:alsa_utils: find_alsa_card_by_name: returning card 0 for name IntelHDMI
07-07 13:39:32.118 198 23206 I AudioHAL:AudioOutput: calling pcm_open() for output, mALSACardID = 0, dev_id 0, rate = 48000, 6 channels, framesPerChunk = 512, alsaFormat = 3
07-07 13:39:32.123 198 23206 I AudioHAL_HDMIAudioOutput: setChannelStatusToCompressed 0
07-07 13:39:32.123 198 23206 I AudioHAL_AudioHardwareOutput: Multi-channel stream out adding HDMI output.
07-07 13:39:32.123 198 23206 I AudioHAL_AudioStreamOut: updateTargetOutputs: adding output back to mPhysOutputs
07-07 13:39:32.123 198 23206 I AudioHAL:AudioOutput: primeOutput HDMI
07-07 13:39:32.128 198 23206 W AudioHAL_AudioStreamOut: getPresentationPosition: getHardwareTimestamp returned non-zero
07-07 13:39:32.128 198 23206 I AudioHAL:AudioOutput: adjustDelay HDMI 0
07-07 13:39:32.139 198 22094 W StreamHAL: Error from HAL stream in function get_presentation_position: No such device
07-07 13:39:32.160 198 22094 I chatty : uid=1041(audioserver) writer identical 2 lines
07-07 13:39:32.171 198 22094 W StreamHAL: Error from HAL stream in function get_presentation_position: No such device
07-07 13:39:32.171 180 180 D SurfaceFlinger: Backpressure trigger, skipping transaction & refresh!
07-07 13:39:32.181 198 22094 W StreamHAL: Error from HAL stream in function get_presentation_position: No such device
07-07 13:39:32.192 198 22094 I chatty : uid=1041(audioserver) writer identical 1 line
07-07 13:39:32.203 198 22094 W StreamHAL: Error from HAL stream in function get_presentation_position: No such device
07-07 13:39:32.205 180 180 D SurfaceFlinger: Backpressure trigger, skipping transaction & refresh!
07-07 13:39:32.213 198 22094 W StreamHAL: Error from HAL stream in function get_presentation_position: No such device
07-07 13:39:32.224 198 22094 I chatty : uid=1041(audioserver) writer identical 1 line
07-07 13:39:32.235 198 22094 W StreamHAL: Error from HAL stream in function get_presentation_position: No such device
07-07 13:39:32.238 180 180 D SurfaceFlinger: Backpressure trigger, skipping transaction & refresh!
07-07 13:39:32.246 198 22094 W StreamHAL: Error from HAL stream in function get_presentation_position: No such device
07-07 13:39:32.757 198 22094 I chatty : uid=1041(audioserver) writer identical 48 lines
07-07 13:39:32.768 198 22094 W StreamHAL: Error from HAL stream in function get_presentation_position: No such device
07-07 13:39:32.771 180 180 D SurfaceFlinger: Backpressure trigger, skipping transaction & refresh!
07-07 13:39:32.779 198 22094 W StreamHAL: Error from HAL stream in function get_presentation_position: No such device
07-07 13:39:33.056 198 22094 I chatty : uid=1041(audioserver) writer identical 26 lines
07-07 13:39:33.067 198 22094 W StreamHAL: Error from HAL stream in function get_presentation_position: No such device
07-07 13:39:33.071 414 706 V Avrcp : MSG_UPDATE_MEDIA
07-07 13:39:33.072 414 706 V Avrcp : updatePlaybackState (1): -1➡1(PlaybackState {state=3, position=18675, buffered position=0, speed=1.0, updated=101074523, actions=2375547, custom actions=[Action:mName='Shuffle mode, mIcon=2131230926, mExtras=null, Action:mName='Repeat mode, mIcon=2131230923, mExtras=null], active item id=-1, error=null})
07-07 13:39:33.074 414 706 V Avrcp : Media update: id -1➡-1? [MediaAttributes: B⋯v - U⋯m by U⋯t (1289600 0/0) Unknown Genre]
07-07 13:39:33.074 414 706 D Avrcp : sendPlayPosNotificationRsp: Not registered or requesting.
07-07 13:39:33.077 198 22094 W StreamHAL: Error from HAL stream in function get_presentation_position: No such device
07-07 13:39:34.027 198 22094 I chatty : uid=1041(audioserver) writer identical 89 lines
07-07 13:39:34.037 198 22094 W StreamHAL: Error from HAL stream in function get_presentation_position: No such device
07-07 13:39:34.038 180 180 D SurfaceFlinger: Backpressure trigger, skipping transaction & refresh!
07-07 13:39:34.048 198 22094 W StreamHAL: Error from HAL stream in function get_presentation_position: No such device