mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 02:38:53 +01:00
audio: CurrentBytes returns the time on inserting new sound chunk
This commit is contained in:
parent
8a5c6d132e
commit
4d702f964f
@ -55,7 +55,7 @@ func min(a, b int) int {
|
||||
var currentBytes = 0
|
||||
|
||||
func CurrentBytes() int {
|
||||
return currentBytes
|
||||
return currentBytes + nextInsertion
|
||||
}
|
||||
|
||||
func Init() {
|
||||
|
Loading…
Reference in New Issue
Block a user