audio: bug fix: compile error

This commit is contained in:
Hajime Hoshi 2023-04-08 19:40:55 +09:00
parent 85f8423345
commit aeca79494f

View File

@ -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 {