mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 20:18:59 +01:00
audio: Fix wrong English word
This commit is contained in:
parent
18113f259a
commit
632a97974d
@ -614,7 +614,7 @@ func (p *Player) IsPlaying() bool {
|
|||||||
// Rewind returns error when seeking the source stream returns error.
|
// Rewind returns error when seeking the source stream returns error.
|
||||||
func (p *Player) Rewind() error {
|
func (p *Player) Rewind() error {
|
||||||
if _, ok := p.src.(io.Seeker); !ok {
|
if _, ok := p.src.(io.Seeker); !ok {
|
||||||
panic("audio: player to be rewinded must be io.Seeker")
|
panic("audio: player to be rewound must be io.Seeker")
|
||||||
}
|
}
|
||||||
return p.Seek(0)
|
return p.Seek(0)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user