kstenerud/ObjectAL-for-iPhone

Crash when setting self.currentTIme

Closed this issue · 2 comments

OALAudioTrack.m:799 self.currentTime = 0 will result in a crash.

Steps to reproduce:

  1. Begin playing OALAudioTrack(s)
  2. Clear track(s)
  3. crash
 if(player)
      player.currentTime = currentTime;     <---- player is no longer valid 

Tested on 3.2

Posted a bugfix and the problem went away on my end. Please close the ticket if the latest codebase works for you.

fixed