mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 20:18:59 +01:00
audio: bug fix: compile error
This commit is contained in:
parent
85f8423345
commit
aeca79494f
@ -37,7 +37,7 @@ func (c *dummyContext) NewPlayer(r io.Reader) player {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (c *dummyContext) MaxBufferSize() int {
|
func (c *dummyContext) MaxBufferSize() int {
|
||||||
return 48000 * channelCount * bitDepthInBytes / 4
|
return 48000 * channelCount * bitDepthInBytesInt16 / 4
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *dummyContext) Suspend() error {
|
func (c *dummyContext) Suspend() error {
|
||||||
|
Loading…
Reference in New Issue
Block a user