mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
audio/internal/convert: remove Resampling.Close
This function is not used anywhere.
This commit is contained in:
parent
d9704f2ba9
commit
344d66c365
@ -243,10 +243,3 @@ func (r *Resampling) Seek(offset int64, whence int) (int64, error) {
|
||||
}
|
||||
return r.pos, nil
|
||||
}
|
||||
|
||||
func (r *Resampling) Close() error {
|
||||
if closer, ok := r.source.(io.Closer); ok {
|
||||
return closer.Close()
|
||||
}
|
||||
panic("audio/internal/convert: r.source must be io.Closer")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user