MCPcopy Create free account
hub / github.com/Monibuca/engine / StopRead

Method StopRead

track/reader-data.go:51–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49}
50
51func (r *RingReader[T, F]) StopRead() {
52 if r.locked {
53 r.Value.ReaderLeave()
54 r.locked = false
55 }
56}
57
58func (r *RingReader[T, F]) ReadNext() (err error) {
59 return r.Read(r.Next())

Callers 5

ReadMethod · 0.95
StopPlayMethod · 0.80
AddTrackMethod · 0.80
TestRingFunction · 0.80
PlayMethod · 0.80

Calls 1

ReaderLeaveMethod · 0.65

Tested by 1

TestRingFunction · 0.64