Skip to content

Commit

Permalink
feat: 移除延迟补偿
Browse files Browse the repository at this point in the history
  • Loading branch information
anhoder committed Mar 25, 2023
1 parent fb6ee77 commit 547c7cc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/player/osx_player_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,7 @@ func (p *osxPlayer) listen() {
curTime = time.Duration(t.Value/int64(t.Timescale)) * time.Second
})
select {
//osx_player存在一点延迟
case p.timeChan <- curTime + time.Millisecond*800:
case p.timeChan <- curTime:
//case p.timeChan <- p.timer.Passed():
default:
}
Expand Down

0 comments on commit 547c7cc

Please sign in to comment.