audio: Remove (*Context).Update

Updates #1127
This commit is contained in:
Hajime Hoshi 2020-10-04 15:41:27 +09:00
parent 825972b3e1
commit f4d050161a

View File

@ -208,17 +208,6 @@ func (c *Context) IsReady() bool {
return r
}
// Update does nothing.
//
// Deprecated: (as of 1.6.0) Do not use this.
//
// As of 1.6.0-alpha, Update always returns nil and does nothing related to updating the state.
// You don't have to call Update any longer.
// The internal audio error is returned at ebiten.Run instead.
func (c *Context) Update() error {
return nil
}
// SampleRate returns the sample rate.
func (c *Context) SampleRate() int {
return c.sampleRate