Skip to content

[audioplayers] Fix seek and playback completion handling - #1168

Merged
seungsoo47 merged 5 commits into
flutter-tizen:mainfrom
seungsoo47:audioplayers/fix-seek-completion-handling
Oct 2, 2026
Merged

seungsoo47 merged 5 commits into
flutter-tizen:mainfrom
seungsoo47:audioplayers/fix-seek-completion-handling

Conversation

@seungsoo47

Copy link
Copy Markdown
Contributor
  • Serialize seeks and defer playback controls until seeking completes.
  • Avoid missing network seek completion callbacks after stop by rewinding while paused.
  • Reset the playback position before reporting completion in stop mode.

@JSUYA

JSUYA commented Sep 22, 2026

Copy link
Copy Markdown
Member

@codex review

Comment thread packages/audioplayers/tizen/src/audio_player.cc Outdated
Comment thread packages/audioplayers/tizen/src/audio_player.cc
Comment thread packages/audioplayers/tizen/src/audio_player.cc
Comment thread packages/audioplayers/tizen/src/audio_player.cc Outdated
@seungsoo47
seungsoo47 force-pushed the audioplayers/fix-seek-completion-handling branch from 42f1ca1 to ca10229 Compare September 28, 2026 05:50
@seungsoo47
seungsoo47 force-pushed the audioplayers/fix-seek-completion-handling branch from ca10229 to 6d7c6d1 Compare September 30, 2026 06:02
Comment thread packages/audioplayers/tizen/src/audio_player.cc Outdated
- Do not discard a pending completion on pause.
- Report a pending completion before play, stop and source reset.
- Report completion even if re-preparing fails after playback ends.
- Run the deferred play when a chained seek fails.
Comment thread packages/audioplayers/tizen/src/audio_player.cc Outdated
@seungsoo47
seungsoo47 merged commit cc7c8c3 into flutter-tizen:main Oct 2, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants