mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +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 {
|
||||
return 48000 * channelCount * bitDepthInBytes / 4
|
||||
return 48000 * channelCount * bitDepthInBytesInt16 / 4
|
||||
}
|
||||
|
||||
func (c *dummyContext) Suspend() error {
|
||||
|
Loading…
Reference in New Issue
Block a user