             
         }
         set {
-            //let wasPlaying = playing
-            
             // since setting startTime will fill the buffer again, we only want to do this if the
             // data really needs to be updated
             if newValue == internalStartTime {

        paused = false
        internalPlayer.stop()
        
        //updatePCMBuffer()
        
        //if you pre-schedule the buffer it's not possible to schedule it in the future
        //scheduleBuffer()
    }
    
    /// Pause playback

                
                // now update the buffer
                updatePCMBuffer()
                
                // remember this value for ease of checking redundancy later
                internalStartTime = newValue
            }
            
        }
    }
    
