Skip to content

Commit

Permalink
duration fix
Browse files Browse the repository at this point in the history
  • Loading branch information
csiwek committed Aug 2, 2019
1 parent d5d479b commit cd88954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opus.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit cd88954

Please sign in to comment.