diff --git a/opus.go b/opus.go index 0f62f61..39ebc70 100644 --- a/opus.go +++ b/opus.go @@ -258,7 +258,7 @@ func (i *OpusReader) getPageSample() ([]byte, error) { i.currentSampleLen = getFrameSize(uint8(tocConfig)) duration := uint32(frames) * length fmt.Printf("Len: %v Frames: %v , Dration :%v\n", length, frames, duration) - i.CurrentSampleDuration = duration + i.CurrentSampleDuration = length } return tmpPacket, nil }