diff --git a/StreamingKit.podspec b/StreamingKit.podspec index 44e7836..77f441d 100644 --- a/StreamingKit.podspec +++ b/StreamingKit.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "StreamingKit" - s.version = "0.1.27" + s.version = "0.1.28" s.summary = "A fast and extensible audio streamer for iOS and OSX with support for gapless playback and custom (non-HTTP) sources." s.homepage = "https://github.com/tumtumtum/StreamingKit/" s.license = 'MIT' diff --git a/StreamingKit/StreamingKit/STKQueueEntry.m b/StreamingKit/StreamingKit/STKQueueEntry.m index 7ac18e9..b5c351b 100755 --- a/StreamingKit/StreamingKit/STKQueueEntry.m +++ b/StreamingKit/StreamingKit/STKQueueEntry.m @@ -110,7 +110,7 @@ -(Float64) progressInFrames { OSSpinLockLock(&self->spinLock); - Float64 retval = self->seekTime + self->framesPlayed; + Float64 retval = (self->seekTime + self->audioStreamBasicDescription.mSampleRate) + self->framesPlayed; OSSpinLockUnlock(&self->spinLock); return retval;