 
         resetTime: (ts) ->
             @_last_ts       = null
+            @_remainders    = 0
             @initialTime    = ts
 
         #----------

                # what's the timestamp for this chunk? If it seems reasonable
                # to attach it to the last chunk, let's do so.

                ts =
                    if @_last_ts
                        new Date( Number(@_last_ts) + duration )
                    else
                        @initialTime


        constructor: (@duration,@initialTime = new Date()) ->
            @_chunk_queue       = []
            @_queue_duration    = 0
            @_remainders        = 0

            @_last_ts           = null

