MCPcopy Index your code
hub / github.com/EngoEngine/engo / eof

Method eof

common/audio_player.go:230–236  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

228}
229
230func (p *Player) eof() bool {
231 r := false
232 p.sync(func() {
233 r = p.srcEOF && len(p.buf) == 0
234 })
235 return r
236}
237
238// IsPlaying returns boolean indicating whether the player is playing.
239func (p *Player) IsPlaying() bool {

Callers 1

readMethod · 0.80

Calls 1

syncMethod · 0.95

Tested by

no test coverage detected