ebiten icon indicating copy to clipboard operation
ebiten copied to clipboard

audio, audio/wav: Seek on a non-seekable source should return an error instead of panic

Open hajimehoshi opened this issue 7 months ago • 0 comments

Operating System

  • [ ] Windows
  • [ ] macOS
  • [ ] Linux
  • [ ] FreeBSD
  • [ ] OpenBSD
  • [ ] Android
  • [ ] iOS
  • [ ] Nintendo Switch
  • [ ] PlayStation 5
  • [ ] Xbox
  • [ ] Web Browsers

What feature would you like to be added?

Now calling (*audio.Player).Seek with a non-seekable source panics, but this should return an error.

As this is a breaking change, we'll do it at v3.

Why is this needed?

No response

hajimehoshi avatar Jul 13 '24 12:07 hajimehoshi