Skip to content

Commit

Permalink
duration test 1
Browse files Browse the repository at this point in the history
  • Loading branch information
csiwek committed Aug 2, 2019
1 parent 2b082fc commit c6f1696
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 @@ -261,7 +261,7 @@ func (i *OpusReader) getPageSample() ([]byte, error) {
if frames == 0 {
i.CurrentSampleDuration = 0
} else {
i.CurrentSampleDuration = length
i.CurrentSampleDuration = length - 500
}
}
return tmpPacket, nil
Expand Down

0 comments on commit c6f1696

Please sign in to comment.