dimitris-c / AudioStreaming

An AudioPlayer/Streaming library for iOS written in Swift using AVAudioEngine.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Seeking to 0 on local mp3s begins playback from ~4 seconds into the audio

turbotimbo opened this issue · comments

Hi there, there seems to be an issue with local audio playback when attempting to seek to 0 seconds. When doing this the audio starts playing from ~4 seconds into the track. This does not affect streamed audio in the same way for some reason.

You can recreate this by:

  • Launching the AudioExample app
  • Playing Jazzy Frenchy
  • Wait some amount of time
  • Drag the progress thumb back to the start
  • Note the audio does not play from the start of the track

Hey, thanks for raising, I haven't got much free time these days, you are welcome to try and debug it.
If you have a fix you can open a PR and I'll review, thanks

Hoping you're still using this library, check PR #65

Thanks for fixing it! The project I was using it on sadly got shelved but I would use it again in the future