mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 19:28:57 +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
|
var currentBytes = 0
|
||||||
|
|
||||||
func CurrentBytes() int {
|
func CurrentBytes() int {
|
||||||
return currentBytes
|
return currentBytes + nextInsertion
|
||||||
}
|
}
|
||||||
|
|
||||||
func Init() {
|
func Init() {
|
||||||
|
Loading…
Reference in New Issue
Block a user