audio: CurrentBytes returns the time on inserting new sound chunk

This commit is contained in:
Hajime Hoshi 2015-01-24 01:18:27 +09:00
parent 8a5c6d132e
commit 4d702f964f

View File

@ -55,7 +55,7 @@ func min(a, b int) int {
var currentBytes = 0
func CurrentBytes() int {
return currentBytes
return currentBytes + nextInsertion
}
func Init() {