mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-02-02 22:14:29 +01:00
audio/internal/cbackend: add comments
This commit is contained in:
parent
12d274eb0a
commit
858f3926ee
@ -259,6 +259,7 @@ func (p *playerImpl) Seek(offset int64, whence int) (int64, error) {
|
||||
p.m.Lock()
|
||||
defer p.m.Unlock()
|
||||
|
||||
// If a player is playing, keep playing even after this seeking.
|
||||
if p.state == playerPlay {
|
||||
defer p.playImpl()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user